Skip to content
This repository was archived by the owner on Jul 17, 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 (#234)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 446250659

Source-Link: googleapis/googleapis@dc4ef31

Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9
  • Loading branch information
gcf-owl-bot[bot] authored May 5, 2022
1 parent 271aef3 commit 77f694f
Show file tree
Hide file tree
Showing 55 changed files with 395 additions and 55 deletions.

Large diffs are not rendered by default.

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 @@ -56,6 +56,8 @@
* <p>For example, to set the total timeout of getMembership to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* GkeHubSettings.Builder gkeHubSettingsBuilder = GkeHubSettings.newBuilder();
* gkeHubSettingsBuilder
* .getMembershipSettings()
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 @@ -40,6 +40,8 @@
* <p>Sample for GkeHubClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* MembershipName name = MembershipName.of("[PROJECT]", "[LOCATION]", "[MEMBERSHIP]");
* Membership response = gkeHubClient.getMembership(name);
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 @@ -91,6 +91,8 @@
* <p>For example, to set the total timeout of getMembership to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* GkeHubStubSettings.Builder gkeHubSettingsBuilder = GkeHubStubSettings.newBuilder();
* gkeHubSettingsBuilder
* .getMembershipSettings()
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 Expand Up @@ -61,6 +61,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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* String name = "name3373707";
* Feature response = gkeHubClient.getFeature(name);
Expand Down Expand Up @@ -96,6 +98,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.
* GkeHubSettings gkeHubSettings =
* GkeHubSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -106,6 +110,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.
* GkeHubSettings gkeHubSettings = GkeHubSettings.newBuilder().setEndpoint(myEndpoint).build();
* GkeHubClient gkeHubClient = GkeHubClient.create(gkeHubSettings);
* }</pre>
Expand Down Expand Up @@ -182,6 +188,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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* String parent = "parent-995424086";
* for (Feature element : gkeHubClient.listFeatures(parent).iterateAll()) {
Expand All @@ -206,6 +214,8 @@ public final ListFeaturesPagedResponse listFeatures(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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
Expand Down Expand Up @@ -235,6 +245,8 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest 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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
Expand Down Expand Up @@ -264,6 +276,8 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest 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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* ListFeaturesRequest request =
* ListFeaturesRequest.newBuilder()
Expand Down Expand Up @@ -299,6 +313,8 @@ public final UnaryCallable<ListFeaturesRequest, ListFeaturesResponse> listFeatur
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* String name = "name3373707";
* Feature response = gkeHubClient.getFeature(name);
Expand All @@ -321,6 +337,8 @@ public final Feature getFeature(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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* GetFeatureRequest request = GetFeatureRequest.newBuilder().setName("name3373707").build();
* Feature response = gkeHubClient.getFeature(request);
Expand All @@ -341,6 +359,8 @@ public final Feature getFeature(GetFeatureRequest 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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* GetFeatureRequest request = GetFeatureRequest.newBuilder().setName("name3373707").build();
* ApiFuture<Feature> future = gkeHubClient.getFeatureCallable().futureCall(request);
Expand All @@ -360,6 +380,8 @@ public final UnaryCallable<GetFeatureRequest, Feature> getFeatureCallable() {
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* String parent = "parent-995424086";
* Feature resource = Feature.newBuilder().build();
Expand Down Expand Up @@ -392,6 +414,8 @@ public final OperationFuture<Feature, OperationMetadata> createFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* CreateFeatureRequest request =
* CreateFeatureRequest.newBuilder()
Expand Down Expand Up @@ -419,6 +443,8 @@ public final OperationFuture<Feature, OperationMetadata> createFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* CreateFeatureRequest request =
* CreateFeatureRequest.newBuilder()
Expand Down Expand Up @@ -446,6 +472,8 @@ public final OperationFuture<Feature, OperationMetadata> createFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* CreateFeatureRequest request =
* CreateFeatureRequest.newBuilder()
Expand All @@ -471,6 +499,8 @@ public final UnaryCallable<CreateFeatureRequest, Operation> createFeatureCallabl
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* String name = "name3373707";
* gkeHubClient.deleteFeatureAsync(name).get();
Expand All @@ -493,6 +523,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteFeatureAsync(String
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* DeleteFeatureRequest request =
* DeleteFeatureRequest.newBuilder()
Expand All @@ -519,6 +551,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* DeleteFeatureRequest request =
* DeleteFeatureRequest.newBuilder()
Expand All @@ -545,6 +579,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* DeleteFeatureRequest request =
* DeleteFeatureRequest.newBuilder()
Expand All @@ -569,6 +605,8 @@ public final UnaryCallable<DeleteFeatureRequest, Operation> deleteFeatureCallabl
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* String name = "name3373707";
* Feature resource = Feature.newBuilder().build();
Expand Down Expand Up @@ -606,6 +644,8 @@ public final OperationFuture<Feature, OperationMetadata> updateFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* UpdateFeatureRequest request =
* UpdateFeatureRequest.newBuilder()
Expand Down Expand Up @@ -633,6 +673,8 @@ public final OperationFuture<Feature, OperationMetadata> updateFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* UpdateFeatureRequest request =
* UpdateFeatureRequest.newBuilder()
Expand Down Expand Up @@ -660,6 +702,8 @@ public final OperationFuture<Feature, OperationMetadata> updateFeatureAsync(
* <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 (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* UpdateFeatureRequest request =
* UpdateFeatureRequest.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 @@ -55,6 +55,8 @@
* <p>For example, to set the total timeout of getFeature to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* GkeHubSettings.Builder gkeHubSettingsBuilder = GkeHubSettings.newBuilder();
* gkeHubSettingsBuilder
* .getFeatureSettings()
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 @@ -38,6 +38,8 @@
* <p>Sample for GkeHubClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (GkeHubClient gkeHubClient = GkeHubClient.create()) {
* String name = "name3373707";
* Feature response = gkeHubClient.getFeature(name);
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 getFeature to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* GkeHubStubSettings.Builder gkeHubSettingsBuilder = GkeHubStubSettings.newBuilder();
* gkeHubSettingsBuilder
* .getFeatureSettings()
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
Loading

0 comments on commit 77f694f

Please sign in to comment.