Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-jav…
Browse files Browse the repository at this point in the history
…a to 2.16.0 (#186)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 446250659

Source-Link: googleapis/googleapis@dc4ef31

Source-Link: googleapis/googleapis-gen@5fdda4d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9
  • Loading branch information
gcf-owl-bot[bot] committed May 5, 2022
1 parent 08cd6e3 commit cfc7559
Show file tree
Hide file tree
Showing 38 changed files with 190 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down Expand Up @@ -47,6 +47,8 @@
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* String name = "name3373707";
* Environment response = environmentsClient.getEnvironment(name);
Expand Down Expand Up @@ -82,6 +84,8 @@
* <p>To customize credentials:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* EnvironmentsSettings environmentsSettings =
* EnvironmentsSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -92,6 +96,8 @@
* <p>To customize the endpoint:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* EnvironmentsSettings environmentsSettings =
* EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
* EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
Expand Down Expand Up @@ -169,6 +175,8 @@ public final OperationsClient getOperationsClient() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* String parent = "parent-995424086";
* Environment environment = Environment.newBuilder().build();
Expand All @@ -194,6 +202,8 @@ public final OperationFuture<Environment, OperationMetadata> createEnvironmentAs
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* CreateEnvironmentRequest request =
* CreateEnvironmentRequest.newBuilder()
Expand All @@ -219,6 +229,8 @@ public final OperationFuture<Environment, OperationMetadata> createEnvironmentAs
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* CreateEnvironmentRequest request =
* CreateEnvironmentRequest.newBuilder()
Expand All @@ -244,6 +256,8 @@ public final OperationFuture<Environment, OperationMetadata> createEnvironmentAs
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* CreateEnvironmentRequest request =
* CreateEnvironmentRequest.newBuilder()
Expand All @@ -268,6 +282,8 @@ public final UnaryCallable<CreateEnvironmentRequest, Operation> createEnvironmen
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* String name = "name3373707";
* Environment response = environmentsClient.getEnvironment(name);
Expand All @@ -290,6 +306,8 @@ public final Environment getEnvironment(String name) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* GetEnvironmentRequest request =
* GetEnvironmentRequest.newBuilder().setName("name3373707").build();
Expand All @@ -311,6 +329,8 @@ public final Environment getEnvironment(GetEnvironmentRequest request) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* GetEnvironmentRequest request =
* GetEnvironmentRequest.newBuilder().setName("name3373707").build();
Expand All @@ -332,6 +352,8 @@ public final UnaryCallable<GetEnvironmentRequest, Environment> getEnvironmentCal
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* String parent = "parent-995424086";
* for (Environment element : environmentsClient.listEnvironments(parent).iterateAll()) {
Expand All @@ -357,6 +379,8 @@ public final ListEnvironmentsPagedResponse listEnvironments(String parent) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* ListEnvironmentsRequest request =
* ListEnvironmentsRequest.newBuilder()
Expand Down Expand Up @@ -384,6 +408,8 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* ListEnvironmentsRequest request =
* ListEnvironmentsRequest.newBuilder()
Expand Down Expand Up @@ -412,6 +438,8 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* ListEnvironmentsRequest request =
* ListEnvironmentsRequest.newBuilder()
Expand Down Expand Up @@ -447,6 +475,8 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* String name = "name3373707";
* Environment environment = Environment.newBuilder().build();
Expand Down Expand Up @@ -546,6 +576,8 @@ public final OperationFuture<Environment, OperationMetadata> updateEnvironmentAs
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* UpdateEnvironmentRequest request =
* UpdateEnvironmentRequest.newBuilder()
Expand All @@ -572,6 +604,8 @@ public final OperationFuture<Environment, OperationMetadata> updateEnvironmentAs
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* UpdateEnvironmentRequest request =
* UpdateEnvironmentRequest.newBuilder()
Expand All @@ -598,6 +632,8 @@ public final OperationFuture<Environment, OperationMetadata> updateEnvironmentAs
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* UpdateEnvironmentRequest request =
* UpdateEnvironmentRequest.newBuilder()
Expand All @@ -623,6 +659,8 @@ public final UnaryCallable<UpdateEnvironmentRequest, Operation> updateEnvironmen
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* String name = "name3373707";
* environmentsClient.deleteEnvironmentAsync(name).get();
Expand All @@ -645,6 +683,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteEnvironmentAsync(St
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* DeleteEnvironmentRequest request =
* DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
Expand All @@ -667,6 +707,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteEnvironmentAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* DeleteEnvironmentRequest request =
* DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
Expand All @@ -689,6 +731,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteEnvironmentAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* DeleteEnvironmentRequest request =
* DeleteEnvironmentRequest.newBuilder().setName("name3373707").build();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down Expand Up @@ -55,6 +55,8 @@
* <p>For example, to set the total timeout of getEnvironment to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder();
* environmentsSettingsBuilder
* .getEnvironmentSettings()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down Expand Up @@ -41,6 +41,8 @@
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
* String parent = "parent-995424086";
* for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
Expand Down Expand Up @@ -78,6 +80,8 @@
* <p>To customize credentials:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* ImageVersionsSettings imageVersionsSettings =
* ImageVersionsSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -88,6 +92,8 @@
* <p>To customize the endpoint:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* ImageVersionsSettings imageVersionsSettings =
* ImageVersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
* ImageVersionsClient imageVersionsClient = ImageVersionsClient.create(imageVersionsSettings);
Expand Down Expand Up @@ -155,6 +161,8 @@ public ImageVersionsStub getStub() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
* String parent = "parent-995424086";
* for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
Expand All @@ -180,6 +188,8 @@ public final ListImageVersionsPagedResponse listImageVersions(String parent) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
* ListImageVersionsRequest request =
* ListImageVersionsRequest.newBuilder()
Expand Down Expand Up @@ -208,6 +218,8 @@ public final ListImageVersionsPagedResponse listImageVersions(ListImageVersionsR
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
* ListImageVersionsRequest request =
* ListImageVersionsRequest.newBuilder()
Expand Down Expand Up @@ -237,6 +249,8 @@ public final ListImageVersionsPagedResponse listImageVersions(ListImageVersionsR
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
* ListImageVersionsRequest request =
* ListImageVersionsRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down Expand Up @@ -52,6 +52,8 @@
* <p>For example, to set the total timeout of listImageVersions to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* ImageVersionsSettings.Builder imageVersionsSettingsBuilder = ImageVersionsSettings.newBuilder();
* imageVersionsSettingsBuilder
* .listImageVersionsSettings()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand All @@ -24,6 +24,8 @@
* <p>Sample for EnvironmentsClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
* String name = "name3373707";
* Environment response = environmentsClient.getEnvironment(name);
Expand All @@ -37,6 +39,8 @@
* <p>Sample for ImageVersionsClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (ImageVersionsClient imageVersionsClient = ImageVersionsClient.create()) {
* String parent = "parent-995424086";
* for (ImageVersion element : imageVersionsClient.listImageVersions(parent).iterateAll()) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down Expand Up @@ -81,6 +81,8 @@
* <p>For example, to set the total timeout of getEnvironment to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
* EnvironmentsStubSettings.newBuilder();
* environmentsSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* 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.
Expand Down

0 comments on commit cfc7559

Please sign in to comment.