Skip to content

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 (#450)

* chore(bazel): update version of Protobuf to v3.20.1

PiperOrigin-RevId: 444328399

Source-Link: googleapis/googleapis@c7ca416

Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-java to 2.16.0

PiperOrigin-RevId: 446250659

Source-Link: googleapis/googleapis@dc4ef31

Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9

* 🦉 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 <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 12, 2022
1 parent dab33a9 commit d26eb84
Show file tree
Hide file tree
Showing 42 changed files with 204 additions and 44 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 @@ -48,6 +48,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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* WorkflowName name = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
* Workflow response = workflowsClient.getWorkflow(name);
Expand Down Expand Up @@ -83,6 +85,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.
* WorkflowsSettings workflowsSettings =
* WorkflowsSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -93,6 +97,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.
* WorkflowsSettings workflowsSettings =
* WorkflowsSettings.newBuilder().setEndpoint(myEndpoint).build();
* WorkflowsClient workflowsClient = WorkflowsClient.create(workflowsSettings);
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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Workflow element : workflowsClient.listWorkflows(parent).iterateAll()) {
Expand Down Expand Up @@ -196,6 +204,8 @@ public final ListWorkflowsPagedResponse listWorkflows(LocationName 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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Workflow element : workflowsClient.listWorkflows(parent).iterateAll()) {
Expand All @@ -220,6 +230,8 @@ public final ListWorkflowsPagedResponse listWorkflows(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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* ListWorkflowsRequest request =
* ListWorkflowsRequest.newBuilder()
Expand Down Expand Up @@ -249,6 +261,8 @@ public final ListWorkflowsPagedResponse listWorkflows(ListWorkflowsRequest reque
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* ListWorkflowsRequest request =
* ListWorkflowsRequest.newBuilder()
Expand Down Expand Up @@ -278,6 +292,8 @@ public final ListWorkflowsPagedResponse listWorkflows(ListWorkflowsRequest reque
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* ListWorkflowsRequest request =
* ListWorkflowsRequest.newBuilder()
Expand Down Expand Up @@ -313,6 +329,8 @@ public final UnaryCallable<ListWorkflowsRequest, ListWorkflowsResponse> listWork
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* WorkflowName name = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
* Workflow response = workflowsClient.getWorkflow(name);
Expand All @@ -336,6 +354,8 @@ public final Workflow getWorkflow(WorkflowName 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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* String name = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString();
* Workflow response = workflowsClient.getWorkflow(name);
Expand All @@ -358,6 +378,8 @@ public final Workflow getWorkflow(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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* GetWorkflowRequest request =
* GetWorkflowRequest.newBuilder()
Expand All @@ -381,6 +403,8 @@ public final Workflow getWorkflow(GetWorkflowRequest 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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* GetWorkflowRequest request =
* GetWorkflowRequest.newBuilder()
Expand All @@ -405,6 +429,8 @@ public final UnaryCallable<GetWorkflowRequest, Workflow> getWorkflowCallable() {
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* Workflow workflow = Workflow.newBuilder().build();
Expand Down Expand Up @@ -448,6 +474,8 @@ public final OperationFuture<Workflow, OperationMetadata> createWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Workflow workflow = Workflow.newBuilder().build();
Expand Down Expand Up @@ -491,6 +519,8 @@ public final OperationFuture<Workflow, OperationMetadata> createWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* CreateWorkflowRequest request =
* CreateWorkflowRequest.newBuilder()
Expand Down Expand Up @@ -519,6 +549,8 @@ public final OperationFuture<Workflow, OperationMetadata> createWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* CreateWorkflowRequest request =
* CreateWorkflowRequest.newBuilder()
Expand Down Expand Up @@ -547,6 +579,8 @@ public final OperationFuture<Workflow, OperationMetadata> createWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* CreateWorkflowRequest request =
* CreateWorkflowRequest.newBuilder()
Expand All @@ -572,6 +606,8 @@ public final UnaryCallable<CreateWorkflowRequest, Operation> createWorkflowCalla
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* WorkflowName name = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
* workflowsClient.deleteWorkflowAsync(name).get();
Expand All @@ -596,6 +632,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteWorkflowAsync(Workf
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* String name = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString();
* workflowsClient.deleteWorkflowAsync(name).get();
Expand All @@ -619,6 +657,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteWorkflowAsync(Strin
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* DeleteWorkflowRequest request =
* DeleteWorkflowRequest.newBuilder()
Expand All @@ -644,6 +684,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* DeleteWorkflowRequest request =
* DeleteWorkflowRequest.newBuilder()
Expand All @@ -669,6 +711,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* DeleteWorkflowRequest request =
* DeleteWorkflowRequest.newBuilder()
Expand All @@ -693,6 +737,8 @@ public final UnaryCallable<DeleteWorkflowRequest, Operation> deleteWorkflowCalla
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* Workflow workflow = Workflow.newBuilder().build();
* FieldMask updateMask = FieldMask.newBuilder().build();
Expand Down Expand Up @@ -721,6 +767,8 @@ public final OperationFuture<Workflow, OperationMetadata> updateWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* UpdateWorkflowRequest request =
* UpdateWorkflowRequest.newBuilder()
Expand Down Expand Up @@ -748,6 +796,8 @@ public final OperationFuture<Workflow, OperationMetadata> updateWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* UpdateWorkflowRequest request =
* UpdateWorkflowRequest.newBuilder()
Expand Down Expand Up @@ -775,6 +825,8 @@ public final OperationFuture<Workflow, OperationMetadata> updateWorkflowAsync(
* <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 (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* UpdateWorkflowRequest request =
* UpdateWorkflowRequest.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 getWorkflow to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* WorkflowsSettings.Builder workflowsSettingsBuilder = WorkflowsSettings.newBuilder();
* workflowsSettingsBuilder
* .getWorkflowSettings()
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 @@ -27,6 +27,8 @@
* <p>Sample for WorkflowsClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (WorkflowsClient workflowsClient = WorkflowsClient.create()) {
* WorkflowName name = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]");
* Workflow response = workflowsClient.getWorkflow(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
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 getWorkflow to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* WorkflowsStubSettings.Builder workflowsSettingsBuilder = WorkflowsStubSettings.newBuilder();
* workflowsSettingsBuilder
* .getWorkflowSettings()
Expand Down
Loading

0 comments on commit d26eb84

Please sign in to comment.