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

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

Merged
merged 2 commits into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -33,6 +33,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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
Expand Down Expand Up @@ -69,6 +71,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.
* ErrorGroupServiceSettings errorGroupServiceSettings =
* ErrorGroupServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -80,6 +84,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.
* ErrorGroupServiceSettings errorGroupServiceSettings =
* ErrorGroupServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* ErrorGroupServiceClient errorGroupServiceClient =
Expand Down Expand Up @@ -181,6 +187,8 @@ public final ErrorGroup getGroup(GroupName groupName) {
* <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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
Expand Down Expand Up @@ -209,6 +217,8 @@ public final ErrorGroup getGroup(ErrorGroupName groupName) {
* <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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* String groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]").toString();
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
Expand All @@ -234,6 +244,8 @@ public final ErrorGroup getGroup(String groupName) {
* <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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* GetGroupRequest request =
* GetGroupRequest.newBuilder()
Expand All @@ -257,6 +269,8 @@ public final ErrorGroup getGroup(GetGroupRequest 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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* GetGroupRequest request =
* GetGroupRequest.newBuilder()
Expand All @@ -279,6 +293,8 @@ public final UnaryCallable<GetGroupRequest, ErrorGroup> getGroupCallable() {
* <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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* ErrorGroup group = ErrorGroup.newBuilder().build();
* ErrorGroup response = errorGroupServiceClient.updateGroup(group);
Expand All @@ -300,6 +316,8 @@ public final ErrorGroup updateGroup(ErrorGroup group) {
* <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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* UpdateGroupRequest request =
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).build();
Expand All @@ -321,6 +339,8 @@ public final ErrorGroup updateGroup(UpdateGroupRequest 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 (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* UpdateGroupRequest request =
* UpdateGroupRequest.newBuilder().setGroup(ErrorGroup.newBuilder().build()).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 @@ -50,6 +50,8 @@
* <p>For example, to set the total timeout of getGroup to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* ErrorGroupServiceSettings.Builder errorGroupServiceSettingsBuilder =
* ErrorGroupServiceSettings.newBuilder();
* errorGroupServiceSettingsBuilder
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 @@ -42,6 +42,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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
* DeleteEventsResponse response = errorStatsServiceClient.deleteEvents(projectName);
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.
* ErrorStatsServiceSettings errorStatsServiceSettings =
* ErrorStatsServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -89,6 +93,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.
* ErrorStatsServiceSettings errorStatsServiceSettings =
* ErrorStatsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* ErrorStatsServiceClient errorStatsServiceClient =
Expand Down Expand Up @@ -158,6 +164,8 @@ public ErrorStatsServiceStub 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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
* QueryTimeRange timeRange = QueryTimeRange.newBuilder().build();
Expand Down Expand Up @@ -199,6 +207,8 @@ public final ListGroupStatsPagedResponse listGroupStats(
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* String projectName = ProjectName.of("[PROJECT]").toString();
* QueryTimeRange timeRange = QueryTimeRange.newBuilder().build();
Expand Down Expand Up @@ -240,6 +250,8 @@ public final ListGroupStatsPagedResponse listGroupStats(
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ListGroupStatsRequest request =
* ListGroupStatsRequest.newBuilder()
Expand Down Expand Up @@ -274,6 +286,8 @@ public final ListGroupStatsPagedResponse listGroupStats(ListGroupStatsRequest re
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ListGroupStatsRequest request =
* ListGroupStatsRequest.newBuilder()
Expand Down Expand Up @@ -309,6 +323,8 @@ public final ListGroupStatsPagedResponse listGroupStats(ListGroupStatsRequest re
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ListGroupStatsRequest request =
* ListGroupStatsRequest.newBuilder()
Expand Down Expand Up @@ -351,6 +367,8 @@ public final ListGroupStatsPagedResponse listGroupStats(ListGroupStatsRequest re
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
* String groupId = "groupId293428218";
Expand Down Expand Up @@ -384,6 +402,8 @@ public final ListEventsPagedResponse listEvents(ProjectName projectName, 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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* String projectName = ProjectName.of("[PROJECT]").toString();
* String groupId = "groupId293428218";
Expand Down Expand Up @@ -414,6 +434,8 @@ public final ListEventsPagedResponse listEvents(String projectName, String group
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ListEventsRequest request =
* ListEventsRequest.newBuilder()
Expand Down Expand Up @@ -444,6 +466,8 @@ public final ListEventsPagedResponse listEvents(ListEventsRequest 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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ListEventsRequest request =
* ListEventsRequest.newBuilder()
Expand Down Expand Up @@ -474,6 +498,8 @@ public final UnaryCallable<ListEventsRequest, ListEventsPagedResponse> listEvent
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ListEventsRequest request =
* ListEventsRequest.newBuilder()
Expand Down Expand Up @@ -510,6 +536,8 @@ public final UnaryCallable<ListEventsRequest, ListEventsResponse> listEventsCall
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
* DeleteEventsResponse response = errorStatsServiceClient.deleteEvents(projectName);
Expand Down Expand Up @@ -537,6 +565,8 @@ public final DeleteEventsResponse deleteEvents(ProjectName projectName) {
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* String projectName = ProjectName.of("[PROJECT]").toString();
* DeleteEventsResponse response = errorStatsServiceClient.deleteEvents(projectName);
Expand All @@ -562,6 +592,8 @@ public final DeleteEventsResponse deleteEvents(String projectName) {
* <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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* DeleteEventsRequest request =
* DeleteEventsRequest.newBuilder()
Expand All @@ -585,6 +617,8 @@ public final DeleteEventsResponse deleteEvents(DeleteEventsRequest 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 (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* DeleteEventsRequest request =
* DeleteEventsRequest.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 @@ -54,6 +54,8 @@
* <p>For example, to set the total timeout of deleteEvents to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* ErrorStatsServiceSettings.Builder errorStatsServiceSettingsBuilder =
* ErrorStatsServiceSettings.newBuilder();
* errorStatsServiceSettingsBuilder
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 @@ -33,6 +33,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 (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
* ReportedErrorEvent event = ReportedErrorEvent.newBuilder().build();
Expand Down Expand Up @@ -71,6 +73,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.
* ReportErrorsServiceSettings reportErrorsServiceSettings =
* ReportErrorsServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -82,6 +86,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.
* ReportErrorsServiceSettings reportErrorsServiceSettings =
* ReportErrorsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* ReportErrorsServiceClient reportErrorsServiceClient =
Expand Down Expand Up @@ -169,6 +175,8 @@ public ReportErrorsServiceStub 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 (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
* ReportedErrorEvent event = ReportedErrorEvent.newBuilder().build();
Expand Down Expand Up @@ -219,6 +227,8 @@ public final ReportErrorEventResponse reportErrorEvent(
* <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 (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
* String projectName = ProjectName.of("[PROJECT]").toString();
* ReportedErrorEvent event = ReportedErrorEvent.newBuilder().build();
Expand Down Expand Up @@ -266,6 +276,8 @@ public final ReportErrorEventResponse reportErrorEvent(
* <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 (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
* ReportErrorEventRequest request =
* ReportErrorEventRequest.newBuilder()
Expand Down Expand Up @@ -308,6 +320,8 @@ public final ReportErrorEventResponse reportErrorEvent(ReportErrorEventRequest r
* <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 (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
* ReportErrorEventRequest request =
* ReportErrorEventRequest.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 @@ -50,6 +50,8 @@
* <p>For example, to set the total timeout of reportErrorEvent to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* ReportErrorsServiceSettings.Builder reportErrorsServiceSettingsBuilder =
* ReportErrorsServiceSettings.newBuilder();
* reportErrorsServiceSettingsBuilder
Expand Down
Loading