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

Commit

Permalink
🦉 Updates from OwlBot
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Nov 3, 2021
1 parent b74724c commit 535698c
Show file tree
Hide file tree
Showing 237 changed files with 124,396 additions and 71,527 deletions.
Expand Up @@ -69,13 +69,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 @@ -687,11 +687,11 @@ public final ListPatchJobInstanceDetailsPagedResponse listPatchJobInstanceDetail
* @param patchDeploymentId Required. A name for the patch deployment in the project. When
* creating a name the following rules apply:
* <ul>
* <li> Must contain only lowercase letters, numbers, and hyphens.
* <li> Must start with a letter.
* <li> Must be between 1-63 characters.
* <li> Must end with a number or a letter.
* <li> Must be unique within the project.
* <li>Must contain only lowercase letters, numbers, and hyphens.
* <li>Must start with a letter.
* <li>Must be between 1-63 characters.
* <li>Must end with a number or a letter.
* <li>Must be unique within the project.
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -732,11 +732,11 @@ public final PatchDeployments.PatchDeployment createPatchDeployment(
* @param patchDeploymentId Required. A name for the patch deployment in the project. When
* creating a name the following rules apply:
* <ul>
* <li> Must contain only lowercase letters, numbers, and hyphens.
* <li> Must start with a letter.
* <li> Must be between 1-63 characters.
* <li> Must end with a number or a letter.
* <li> Must be unique within the project.
* <li>Must contain only lowercase letters, numbers, and hyphens.
* <li>Must start with a letter.
* <li>Must be between 1-63 characters.
* <li>Must end with a number or a letter.
* <li>Must be unique within the project.
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -1177,8 +1177,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListPatchJobsPagedResponse
extends AbstractPagedListResponse<
PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob,
ListPatchJobsPage, ListPatchJobsFixedSizeCollection> {
PatchJobs.ListPatchJobsRequest,
PatchJobs.ListPatchJobsResponse,
PatchJobs.PatchJob,
ListPatchJobsPage,
ListPatchJobsFixedSizeCollection> {

public static ApiFuture<ListPatchJobsPagedResponse> createAsync(
PageContext<
Expand All @@ -1200,7 +1203,9 @@ private ListPatchJobsPagedResponse(ListPatchJobsPage page) {

public static class ListPatchJobsPage
extends AbstractPage<
PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob,
PatchJobs.ListPatchJobsRequest,
PatchJobs.ListPatchJobsResponse,
PatchJobs.PatchJob,
ListPatchJobsPage> {

private ListPatchJobsPage(
Expand Down Expand Up @@ -1236,8 +1241,11 @@ public ApiFuture<ListPatchJobsPage> createPageAsync(

public static class ListPatchJobsFixedSizeCollection
extends AbstractFixedSizeCollection<
PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse, PatchJobs.PatchJob,
ListPatchJobsPage, ListPatchJobsFixedSizeCollection> {
PatchJobs.ListPatchJobsRequest,
PatchJobs.ListPatchJobsResponse,
PatchJobs.PatchJob,
ListPatchJobsPage,
ListPatchJobsFixedSizeCollection> {

private ListPatchJobsFixedSizeCollection(List<ListPatchJobsPage> pages, int collectionSize) {
super(pages, collectionSize);
Expand All @@ -1257,13 +1265,16 @@ protected ListPatchJobsFixedSizeCollection createCollection(
public static class ListPatchJobInstanceDetailsPagedResponse
extends AbstractPagedListResponse<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails,
ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> {
PatchJobs.ListPatchJobInstanceDetailsResponse,
PatchJobs.PatchJobInstanceDetails,
ListPatchJobInstanceDetailsPage,
ListPatchJobInstanceDetailsFixedSizeCollection> {

public static ApiFuture<ListPatchJobInstanceDetailsPagedResponse> createAsync(
PageContext<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>
PatchJobs.ListPatchJobInstanceDetailsResponse,
PatchJobs.PatchJobInstanceDetails>
context,
ApiFuture<PatchJobs.ListPatchJobInstanceDetailsResponse> futureResponse) {
ApiFuture<ListPatchJobInstanceDetailsPage> futurePage =
Expand All @@ -1283,13 +1294,15 @@ private ListPatchJobInstanceDetailsPagedResponse(ListPatchJobInstanceDetailsPage
public static class ListPatchJobInstanceDetailsPage
extends AbstractPage<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails,
PatchJobs.ListPatchJobInstanceDetailsResponse,
PatchJobs.PatchJobInstanceDetails,
ListPatchJobInstanceDetailsPage> {

private ListPatchJobInstanceDetailsPage(
PageContext<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>
PatchJobs.ListPatchJobInstanceDetailsResponse,
PatchJobs.PatchJobInstanceDetails>
context,
PatchJobs.ListPatchJobInstanceDetailsResponse response) {
super(context, response);
Expand All @@ -1303,7 +1316,8 @@ private static ListPatchJobInstanceDetailsPage createEmptyPage() {
protected ListPatchJobInstanceDetailsPage createPage(
PageContext<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>
PatchJobs.ListPatchJobInstanceDetailsResponse,
PatchJobs.PatchJobInstanceDetails>
context,
PatchJobs.ListPatchJobInstanceDetailsResponse response) {
return new ListPatchJobInstanceDetailsPage(context, response);
Expand All @@ -1313,7 +1327,8 @@ protected ListPatchJobInstanceDetailsPage createPage(
public ApiFuture<ListPatchJobInstanceDetailsPage> createPageAsync(
PageContext<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails>
PatchJobs.ListPatchJobInstanceDetailsResponse,
PatchJobs.PatchJobInstanceDetails>
context,
ApiFuture<PatchJobs.ListPatchJobInstanceDetailsResponse> futureResponse) {
return super.createPageAsync(context, futureResponse);
Expand All @@ -1323,8 +1338,10 @@ public ApiFuture<ListPatchJobInstanceDetailsPage> createPageAsync(
public static class ListPatchJobInstanceDetailsFixedSizeCollection
extends AbstractFixedSizeCollection<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, PatchJobs.PatchJobInstanceDetails,
ListPatchJobInstanceDetailsPage, ListPatchJobInstanceDetailsFixedSizeCollection> {
PatchJobs.ListPatchJobInstanceDetailsResponse,
PatchJobs.PatchJobInstanceDetails,
ListPatchJobInstanceDetailsPage,
ListPatchJobInstanceDetailsFixedSizeCollection> {

private ListPatchJobInstanceDetailsFixedSizeCollection(
List<ListPatchJobInstanceDetailsPage> pages, int collectionSize) {
Expand All @@ -1345,13 +1362,16 @@ protected ListPatchJobInstanceDetailsFixedSizeCollection createCollection(
public static class ListPatchDeploymentsPagedResponse
extends AbstractPagedListResponse<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment,
ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> {
PatchDeployments.ListPatchDeploymentsResponse,
PatchDeployments.PatchDeployment,
ListPatchDeploymentsPage,
ListPatchDeploymentsFixedSizeCollection> {

public static ApiFuture<ListPatchDeploymentsPagedResponse> createAsync(
PageContext<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>
PatchDeployments.ListPatchDeploymentsResponse,
PatchDeployments.PatchDeployment>
context,
ApiFuture<PatchDeployments.ListPatchDeploymentsResponse> futureResponse) {
ApiFuture<ListPatchDeploymentsPage> futurePage =
Expand All @@ -1370,13 +1390,15 @@ private ListPatchDeploymentsPagedResponse(ListPatchDeploymentsPage page) {
public static class ListPatchDeploymentsPage
extends AbstractPage<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment,
PatchDeployments.ListPatchDeploymentsResponse,
PatchDeployments.PatchDeployment,
ListPatchDeploymentsPage> {

private ListPatchDeploymentsPage(
PageContext<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>
PatchDeployments.ListPatchDeploymentsResponse,
PatchDeployments.PatchDeployment>
context,
PatchDeployments.ListPatchDeploymentsResponse response) {
super(context, response);
Expand All @@ -1390,7 +1412,8 @@ private static ListPatchDeploymentsPage createEmptyPage() {
protected ListPatchDeploymentsPage createPage(
PageContext<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>
PatchDeployments.ListPatchDeploymentsResponse,
PatchDeployments.PatchDeployment>
context,
PatchDeployments.ListPatchDeploymentsResponse response) {
return new ListPatchDeploymentsPage(context, response);
Expand All @@ -1400,7 +1423,8 @@ protected ListPatchDeploymentsPage createPage(
public ApiFuture<ListPatchDeploymentsPage> createPageAsync(
PageContext<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment>
PatchDeployments.ListPatchDeploymentsResponse,
PatchDeployments.PatchDeployment>
context,
ApiFuture<PatchDeployments.ListPatchDeploymentsResponse> futureResponse) {
return super.createPageAsync(context, futureResponse);
Expand All @@ -1410,8 +1434,10 @@ public ApiFuture<ListPatchDeploymentsPage> createPageAsync(
public static class ListPatchDeploymentsFixedSizeCollection
extends AbstractFixedSizeCollection<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, PatchDeployments.PatchDeployment,
ListPatchDeploymentsPage, ListPatchDeploymentsFixedSizeCollection> {
PatchDeployments.ListPatchDeploymentsResponse,
PatchDeployments.PatchDeployment,
ListPatchDeploymentsPage,
ListPatchDeploymentsFixedSizeCollection> {

private ListPatchDeploymentsFixedSizeCollection(
List<ListPatchDeploymentsPage> pages, int collectionSize) {
Expand Down
Expand Up @@ -29,7 +29,6 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
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.osconfig.v1.stub.OsConfigServiceStubSettings;
Expand All @@ -45,9 +44,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (osconfig.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 (osconfig.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 @@ -92,7 +91,8 @@ public UnaryCallSettings<PatchJobs.GetPatchJobRequest, PatchJobs.PatchJob> getPa

/** Returns the object with the settings used for calls to listPatchJobs. */
public PagedCallSettings<
PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse,
PatchJobs.ListPatchJobsRequest,
PatchJobs.ListPatchJobsResponse,
ListPatchJobsPagedResponse>
listPatchJobsSettings() {
return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobsSettings();
Expand All @@ -101,7 +101,8 @@ public UnaryCallSettings<PatchJobs.GetPatchJobRequest, PatchJobs.PatchJob> getPa
/** Returns the object with the settings used for calls to listPatchJobInstanceDetails. */
public PagedCallSettings<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse>
PatchJobs.ListPatchJobInstanceDetailsResponse,
ListPatchJobInstanceDetailsPagedResponse>
listPatchJobInstanceDetailsSettings() {
return ((OsConfigServiceStubSettings) getStubSettings()).listPatchJobInstanceDetailsSettings();
}
Expand All @@ -123,7 +124,8 @@ public UnaryCallSettings<PatchJobs.GetPatchJobRequest, PatchJobs.PatchJob> getPa
/** Returns the object with the settings used for calls to listPatchDeployments. */
public PagedCallSettings<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse>
PatchDeployments.ListPatchDeploymentsResponse,
ListPatchDeploymentsPagedResponse>
listPatchDeploymentsSettings() {
return ((OsConfigServiceStubSettings) getStubSettings()).listPatchDeploymentsSettings();
}
Expand Down Expand Up @@ -251,7 +253,8 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listPatchJobs. */
public PagedCallSettings.Builder<
PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse,
PatchJobs.ListPatchJobsRequest,
PatchJobs.ListPatchJobsResponse,
ListPatchJobsPagedResponse>
listPatchJobsSettings() {
return getStubSettingsBuilder().listPatchJobsSettings();
Expand All @@ -260,7 +263,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listPatchJobInstanceDetails. */
public PagedCallSettings.Builder<
PatchJobs.ListPatchJobInstanceDetailsRequest,
PatchJobs.ListPatchJobInstanceDetailsResponse, ListPatchJobInstanceDetailsPagedResponse>
PatchJobs.ListPatchJobInstanceDetailsResponse,
ListPatchJobInstanceDetailsPagedResponse>
listPatchJobInstanceDetailsSettings() {
return getStubSettingsBuilder().listPatchJobInstanceDetailsSettings();
}
Expand All @@ -282,7 +286,8 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listPatchDeployments. */
public PagedCallSettings.Builder<
PatchDeployments.ListPatchDeploymentsRequest,
PatchDeployments.ListPatchDeploymentsResponse, ListPatchDeploymentsPagedResponse>
PatchDeployments.ListPatchDeploymentsResponse,
ListPatchDeploymentsPagedResponse>
listPatchDeploymentsSettings() {
return getStubSettingsBuilder().listPatchDeploymentsSettings();
}
Expand Down

0 comments on commit 535698c

Please sign in to comment.