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

Commit 005dac4

Browse files
chore(bazel): update protobuf to v3.21.3
chore(bazel): update gax-java to 2.18.4 PiperOrigin-RevId: 463115700 Source-Link: googleapis/googleapis@52130a9 Source-Link: https://github.com/googleapis/googleapis-gen/commit/6a4d9d9bb3afb20b0f5fa4f5d9f6740b1d0eb19a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmE0ZDlkOWJiM2FmYjIwYjBmNWZhNGY1ZDlmNjc0MGIxZDBlYjE5YSJ9
1 parent f3332d1 commit 005dac4

File tree

231 files changed

+16430
-25924
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+16430
-25924
lines changed

grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java

Lines changed: 0 additions & 2295 deletions
This file was deleted.

google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java renamed to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java

Lines changed: 14 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@
6464
* methods:
6565
*
6666
* <ol>
67-
* <li>A "flattened" method. With this type of method, the fields of the request type have been
67+
* <li> A "flattened" method. With this type of method, the fields of the request type have been
6868
* converted into function parameters. It may be the case that not all fields are available as
6969
* parameters, and not every API method will have a flattened method entry point.
70-
* <li>A "request object" method. This type of method only takes one parameter, a request object,
70+
* <li> A "request object" method. This type of method only takes one parameter, a request object,
7171
* which must be constructed before the call. Not every API method will have a request object
7272
* method.
73-
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
73+
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
7474
* callable object, which can be used to initiate calls to the service.
7575
* </ol>
7676
*
@@ -2693,11 +2693,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
26932693

26942694
public static class ListDeliveryPipelinesPagedResponse
26952695
extends AbstractPagedListResponse<
2696-
ListDeliveryPipelinesRequest,
2697-
ListDeliveryPipelinesResponse,
2698-
DeliveryPipeline,
2699-
ListDeliveryPipelinesPage,
2700-
ListDeliveryPipelinesFixedSizeCollection> {
2696+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
2697+
ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
27012698

27022699
public static ApiFuture<ListDeliveryPipelinesPagedResponse> createAsync(
27032700
PageContext<ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline>
@@ -2718,9 +2715,7 @@ private ListDeliveryPipelinesPagedResponse(ListDeliveryPipelinesPage page) {
27182715

27192716
public static class ListDeliveryPipelinesPage
27202717
extends AbstractPage<
2721-
ListDeliveryPipelinesRequest,
2722-
ListDeliveryPipelinesResponse,
2723-
DeliveryPipeline,
2718+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
27242719
ListDeliveryPipelinesPage> {
27252720

27262721
private ListDeliveryPipelinesPage(
@@ -2753,11 +2748,8 @@ public ApiFuture<ListDeliveryPipelinesPage> createPageAsync(
27532748

27542749
public static class ListDeliveryPipelinesFixedSizeCollection
27552750
extends AbstractFixedSizeCollection<
2756-
ListDeliveryPipelinesRequest,
2757-
ListDeliveryPipelinesResponse,
2758-
DeliveryPipeline,
2759-
ListDeliveryPipelinesPage,
2760-
ListDeliveryPipelinesFixedSizeCollection> {
2751+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
2752+
ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
27612753

27622754
private ListDeliveryPipelinesFixedSizeCollection(
27632755
List<ListDeliveryPipelinesPage> pages, int collectionSize) {
@@ -2777,10 +2769,7 @@ protected ListDeliveryPipelinesFixedSizeCollection createCollection(
27772769

27782770
public static class ListTargetsPagedResponse
27792771
extends AbstractPagedListResponse<
2780-
ListTargetsRequest,
2781-
ListTargetsResponse,
2782-
Target,
2783-
ListTargetsPage,
2772+
ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
27842773
ListTargetsFixedSizeCollection> {
27852774

27862775
public static ApiFuture<ListTargetsPagedResponse> createAsync(
@@ -2827,10 +2816,7 @@ public ApiFuture<ListTargetsPage> createPageAsync(
28272816

28282817
public static class ListTargetsFixedSizeCollection
28292818
extends AbstractFixedSizeCollection<
2830-
ListTargetsRequest,
2831-
ListTargetsResponse,
2832-
Target,
2833-
ListTargetsPage,
2819+
ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
28342820
ListTargetsFixedSizeCollection> {
28352821

28362822
private ListTargetsFixedSizeCollection(List<ListTargetsPage> pages, int collectionSize) {
@@ -2850,10 +2836,7 @@ protected ListTargetsFixedSizeCollection createCollection(
28502836

28512837
public static class ListReleasesPagedResponse
28522838
extends AbstractPagedListResponse<
2853-
ListReleasesRequest,
2854-
ListReleasesResponse,
2855-
Release,
2856-
ListReleasesPage,
2839+
ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
28572840
ListReleasesFixedSizeCollection> {
28582841

28592842
public static ApiFuture<ListReleasesPagedResponse> createAsync(
@@ -2902,10 +2885,7 @@ public ApiFuture<ListReleasesPage> createPageAsync(
29022885

29032886
public static class ListReleasesFixedSizeCollection
29042887
extends AbstractFixedSizeCollection<
2905-
ListReleasesRequest,
2906-
ListReleasesResponse,
2907-
Release,
2908-
ListReleasesPage,
2888+
ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
29092889
ListReleasesFixedSizeCollection> {
29102890

29112891
private ListReleasesFixedSizeCollection(List<ListReleasesPage> pages, int collectionSize) {
@@ -2925,10 +2905,7 @@ protected ListReleasesFixedSizeCollection createCollection(
29252905

29262906
public static class ListRolloutsPagedResponse
29272907
extends AbstractPagedListResponse<
2928-
ListRolloutsRequest,
2929-
ListRolloutsResponse,
2930-
Rollout,
2931-
ListRolloutsPage,
2908+
ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
29322909
ListRolloutsFixedSizeCollection> {
29332910

29342911
public static ApiFuture<ListRolloutsPagedResponse> createAsync(
@@ -2977,10 +2954,7 @@ public ApiFuture<ListRolloutsPage> createPageAsync(
29772954

29782955
public static class ListRolloutsFixedSizeCollection
29792956
extends AbstractFixedSizeCollection<
2980-
ListRolloutsRequest,
2981-
ListRolloutsResponse,
2982-
Rollout,
2983-
ListRolloutsPage,
2957+
ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
29842958
ListRolloutsFixedSizeCollection> {
29852959

29862960
private ListRolloutsFixedSizeCollection(List<ListRolloutsPage> pages, int collectionSize) {

google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java renamed to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import com.google.api.gax.rpc.ClientSettings;
3333
import com.google.api.gax.rpc.OperationCallSettings;
3434
import com.google.api.gax.rpc.PagedCallSettings;
35+
import com.google.api.gax.rpc.StubSettings;
3536
import com.google.api.gax.rpc.TransportChannelProvider;
3637
import com.google.api.gax.rpc.UnaryCallSettings;
3738
import com.google.cloud.deploy.v1.stub.CloudDeployStubSettings;
@@ -48,9 +49,9 @@
4849
* <p>The default instance has everything set to sensible defaults:
4950
*
5051
* <ul>
51-
* <li>The default service address (clouddeploy.googleapis.com) and default port (443) are used.
52-
* <li>Credentials are acquired automatically through Application Default Credentials.
53-
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
52+
* <li> The default service address (clouddeploy.googleapis.com) and default port (443) are used.
53+
* <li> Credentials are acquired automatically through Application Default Credentials.
54+
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
5455
* </ul>
5556
*
5657
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
@@ -79,8 +80,7 @@ public class CloudDeploySettings extends ClientSettings<CloudDeploySettings> {
7980

8081
/** Returns the object with the settings used for calls to listDeliveryPipelines. */
8182
public PagedCallSettings<
82-
ListDeliveryPipelinesRequest,
83-
ListDeliveryPipelinesResponse,
83+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
8484
ListDeliveryPipelinesPagedResponse>
8585
listDeliveryPipelinesSettings() {
8686
return ((CloudDeployStubSettings) getStubSettings()).listDeliveryPipelinesSettings();
@@ -342,8 +342,7 @@ public Builder applyToAllUnaryMethods(
342342

343343
/** Returns the builder for the settings used for calls to listDeliveryPipelines. */
344344
public PagedCallSettings.Builder<
345-
ListDeliveryPipelinesRequest,
346-
ListDeliveryPipelinesResponse,
345+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
347346
ListDeliveryPipelinesPagedResponse>
348347
listDeliveryPipelinesSettings() {
349348
return getStubSettingsBuilder().listDeliveryPipelinesSettings();

google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java renamed to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@
9797
* <p>The default instance has everything set to sensible defaults:
9898
*
9999
* <ul>
100-
* <li>The default service address (clouddeploy.googleapis.com) and default port (443) are used.
101-
* <li>Credentials are acquired automatically through Application Default Credentials.
102-
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
100+
* <li> The default service address (clouddeploy.googleapis.com) and default port (443) are used.
101+
* <li> Credentials are acquired automatically through Application Default Credentials.
102+
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
103103
* </ul>
104104
*
105105
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
@@ -131,8 +131,7 @@ public class CloudDeployStubSettings extends StubSettings<CloudDeployStubSetting
131131
ImmutableList.<String>builder().add("https://www.googleapis.com/auth/cloud-platform").build();
132132

133133
private final PagedCallSettings<
134-
ListDeliveryPipelinesRequest,
135-
ListDeliveryPipelinesResponse,
134+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
136135
ListDeliveryPipelinesPagedResponse>
137136
listDeliveryPipelinesSettings;
138137
private final UnaryCallSettings<GetDeliveryPipelineRequest, DeliveryPipeline>
@@ -331,13 +330,11 @@ public Iterable<Rollout> extractResources(ListRolloutsResponse payload) {
331330
};
332331

333332
private static final PagedListResponseFactory<
334-
ListDeliveryPipelinesRequest,
335-
ListDeliveryPipelinesResponse,
333+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
336334
ListDeliveryPipelinesPagedResponse>
337335
LIST_DELIVERY_PIPELINES_PAGE_STR_FACT =
338336
new PagedListResponseFactory<
339-
ListDeliveryPipelinesRequest,
340-
ListDeliveryPipelinesResponse,
337+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
341338
ListDeliveryPipelinesPagedResponse>() {
342339
@Override
343340
public ApiFuture<ListDeliveryPipelinesPagedResponse> getFuturePagedResponse(
@@ -407,8 +404,7 @@ public ApiFuture<ListRolloutsPagedResponse> getFuturePagedResponse(
407404

408405
/** Returns the object with the settings used for calls to listDeliveryPipelines. */
409406
public PagedCallSettings<
410-
ListDeliveryPipelinesRequest,
411-
ListDeliveryPipelinesResponse,
407+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
412408
ListDeliveryPipelinesPagedResponse>
413409
listDeliveryPipelinesSettings() {
414410
return listDeliveryPipelinesSettings;
@@ -695,8 +691,7 @@ protected CloudDeployStubSettings(Builder settingsBuilder) throws IOException {
695691
public static class Builder extends StubSettings.Builder<CloudDeployStubSettings, Builder> {
696692
private final ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders;
697693
private final PagedCallSettings.Builder<
698-
ListDeliveryPipelinesRequest,
699-
ListDeliveryPipelinesResponse,
694+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
700695
ListDeliveryPipelinesPagedResponse>
701696
listDeliveryPipelinesSettings;
702697
private final UnaryCallSettings.Builder<GetDeliveryPipelineRequest, DeliveryPipeline>
@@ -1229,8 +1224,7 @@ public Builder applyToAllUnaryMethods(
12291224

12301225
/** Returns the builder for the settings used for calls to listDeliveryPipelines. */
12311226
public PagedCallSettings.Builder<
1232-
ListDeliveryPipelinesRequest,
1233-
ListDeliveryPipelinesResponse,
1227+
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
12341228
ListDeliveryPipelinesPagedResponse>
12351229
listDeliveryPipelinesSettings() {
12361230
return listDeliveryPipelinesSettings;

google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java renamed to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
import io.grpc.MethodDescriptor;
6565
import io.grpc.protobuf.ProtoUtils;
6666
import java.io.IOException;
67+
import java.util.Map;
6768
import java.util.concurrent.TimeUnit;
6869
import javax.annotation.Generated;
6970

0 commit comments

Comments
 (0)