Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
🦉 Updates from OwlBot post-processor
  • Loading branch information
gcf-owl-bot[bot] committed Jun 27, 2022
commit 2cf06b087cf4292e40f329b9effabb4bee0046f0
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
* methods:
*
* <ol>
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -2693,8 +2693,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListDeliveryPipelinesPagedResponse
extends AbstractPagedListResponse<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
DeliveryPipeline,
ListDeliveryPipelinesPage,
ListDeliveryPipelinesFixedSizeCollection> {

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

public static class ListDeliveryPipelinesPage
extends AbstractPage<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
DeliveryPipeline,
ListDeliveryPipelinesPage> {

private ListDeliveryPipelinesPage(
Expand Down Expand Up @@ -2748,8 +2753,11 @@ public ApiFuture<ListDeliveryPipelinesPage> createPageAsync(

public static class ListDeliveryPipelinesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
DeliveryPipeline,
ListDeliveryPipelinesPage,
ListDeliveryPipelinesFixedSizeCollection> {

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

public static class ListTargetsPagedResponse
extends AbstractPagedListResponse<
ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
ListTargetsRequest,
ListTargetsResponse,
Target,
ListTargetsPage,
ListTargetsFixedSizeCollection> {

public static ApiFuture<ListTargetsPagedResponse> createAsync(
Expand Down Expand Up @@ -2816,7 +2827,10 @@ public ApiFuture<ListTargetsPage> createPageAsync(

public static class ListTargetsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
ListTargetsRequest,
ListTargetsResponse,
Target,
ListTargetsPage,
ListTargetsFixedSizeCollection> {

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

public static class ListReleasesPagedResponse
extends AbstractPagedListResponse<
ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
ListReleasesRequest,
ListReleasesResponse,
Release,
ListReleasesPage,
ListReleasesFixedSizeCollection> {

public static ApiFuture<ListReleasesPagedResponse> createAsync(
Expand Down Expand Up @@ -2885,7 +2902,10 @@ public ApiFuture<ListReleasesPage> createPageAsync(

public static class ListReleasesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
ListReleasesRequest,
ListReleasesResponse,
Release,
ListReleasesPage,
ListReleasesFixedSizeCollection> {

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

public static class ListRolloutsPagedResponse
extends AbstractPagedListResponse<
ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
ListRolloutsRequest,
ListRolloutsResponse,
Rollout,
ListRolloutsPage,
ListRolloutsFixedSizeCollection> {

public static ApiFuture<ListRolloutsPagedResponse> createAsync(
Expand Down Expand Up @@ -2954,7 +2977,10 @@ public ApiFuture<ListRolloutsPage> createPageAsync(

public static class ListRolloutsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
ListRolloutsRequest,
ListRolloutsResponse,
Rollout,
ListRolloutsPage,
ListRolloutsFixedSizeCollection> {

private ListRolloutsFixedSizeCollection(List<ListRolloutsPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.deploy.v1.stub.CloudDeployStubSettings;
Expand All @@ -49,9 +48,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouddeploy.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouddeploy.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down Expand Up @@ -80,7 +79,8 @@ public class CloudDeploySettings extends ClientSettings<CloudDeploySettings> {

/** Returns the object with the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return ((CloudDeployStubSettings) getStubSettings()).listDeliveryPipelinesSettings();
Expand Down Expand Up @@ -342,7 +342,8 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings.Builder<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return getStubSettingsBuilder().listDeliveryPipelinesSettings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouddeploy.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouddeploy.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down Expand Up @@ -131,7 +131,8 @@ public class CloudDeployStubSettings extends StubSettings<CloudDeployStubSetting
ImmutableList.<String>builder().add("https://www.googleapis.com/auth/cloud-platform").build();

private final PagedCallSettings<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings;
private final UnaryCallSettings<GetDeliveryPipelineRequest, DeliveryPipeline>
Expand Down Expand Up @@ -330,11 +331,13 @@ public Iterable<Rollout> extractResources(ListRolloutsResponse payload) {
};

private static final PagedListResponseFactory<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
LIST_DELIVERY_PIPELINES_PAGE_STR_FACT =
new PagedListResponseFactory<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>() {
@Override
public ApiFuture<ListDeliveryPipelinesPagedResponse> getFuturePagedResponse(
Expand Down Expand Up @@ -404,7 +407,8 @@ public ApiFuture<ListRolloutsPagedResponse> getFuturePagedResponse(

/** Returns the object with the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return listDeliveryPipelinesSettings;
Expand Down Expand Up @@ -691,7 +695,8 @@ protected CloudDeployStubSettings(Builder settingsBuilder) throws IOException {
public static class Builder extends StubSettings.Builder<CloudDeployStubSettings, Builder> {
private final ImmutableList<UnaryCallSettings.Builder<?, ?>> unaryMethodSettingsBuilders;
private final PagedCallSettings.Builder<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings;
private final UnaryCallSettings.Builder<GetDeliveryPipelineRequest, DeliveryPipeline>
Expand Down Expand Up @@ -1224,7 +1229,8 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings.Builder<
ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return listDeliveryPipelinesSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import com.google.api.gax.httpjson.ProtoMessageResponseParser;
import com.google.api.gax.httpjson.ProtoRestSerializer;
import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
import com.google.api.gax.longrunning.OperationSnapshot;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
Expand Down
Loading