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 post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Jul 21, 2022
1 parent ecd0601 commit 7cfd7b8
Show file tree
Hide file tree
Showing 278 changed files with 33,617 additions and 20,399 deletions.
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 @@ -2261,12 +2261,16 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListAuthorizationPoliciesPagedResponse
extends AbstractPagedListResponse<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse, AuthorizationPolicy,
ListAuthorizationPoliciesPage, ListAuthorizationPoliciesFixedSizeCollection> {
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
AuthorizationPolicy,
ListAuthorizationPoliciesPage,
ListAuthorizationPoliciesFixedSizeCollection> {

public static ApiFuture<ListAuthorizationPoliciesPagedResponse> createAsync(
PageContext<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ApiFuture<ListAuthorizationPoliciesResponse> futureResponse) {
Expand All @@ -2285,12 +2289,15 @@ private ListAuthorizationPoliciesPagedResponse(ListAuthorizationPoliciesPage pag

public static class ListAuthorizationPoliciesPage
extends AbstractPage<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse, AuthorizationPolicy,
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
AuthorizationPolicy,
ListAuthorizationPoliciesPage> {

private ListAuthorizationPoliciesPage(
PageContext<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ListAuthorizationPoliciesResponse response) {
Expand All @@ -2304,7 +2311,8 @@ private static ListAuthorizationPoliciesPage createEmptyPage() {
@Override
protected ListAuthorizationPoliciesPage createPage(
PageContext<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ListAuthorizationPoliciesResponse response) {
Expand All @@ -2314,7 +2322,8 @@ protected ListAuthorizationPoliciesPage createPage(
@Override
public ApiFuture<ListAuthorizationPoliciesPage> createPageAsync(
PageContext<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
AuthorizationPolicy>
context,
ApiFuture<ListAuthorizationPoliciesResponse> futureResponse) {
Expand All @@ -2324,8 +2333,11 @@ public ApiFuture<ListAuthorizationPoliciesPage> createPageAsync(

public static class ListAuthorizationPoliciesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse, AuthorizationPolicy,
ListAuthorizationPoliciesPage, ListAuthorizationPoliciesFixedSizeCollection> {
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
AuthorizationPolicy,
ListAuthorizationPoliciesPage,
ListAuthorizationPoliciesFixedSizeCollection> {

private ListAuthorizationPoliciesFixedSizeCollection(
List<ListAuthorizationPoliciesPage> pages, int collectionSize) {
Expand All @@ -2345,8 +2357,11 @@ protected ListAuthorizationPoliciesFixedSizeCollection createCollection(

public static class ListServerTlsPoliciesPagedResponse
extends AbstractPagedListResponse<
ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse, ServerTlsPolicy,
ListServerTlsPoliciesPage, ListServerTlsPoliciesFixedSizeCollection> {
ListServerTlsPoliciesRequest,
ListServerTlsPoliciesResponse,
ServerTlsPolicy,
ListServerTlsPoliciesPage,
ListServerTlsPoliciesFixedSizeCollection> {

public static ApiFuture<ListServerTlsPoliciesPagedResponse> createAsync(
PageContext<ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse, ServerTlsPolicy>
Expand All @@ -2367,7 +2382,9 @@ private ListServerTlsPoliciesPagedResponse(ListServerTlsPoliciesPage page) {

public static class ListServerTlsPoliciesPage
extends AbstractPage<
ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse, ServerTlsPolicy,
ListServerTlsPoliciesRequest,
ListServerTlsPoliciesResponse,
ServerTlsPolicy,
ListServerTlsPoliciesPage> {

private ListServerTlsPoliciesPage(
Expand Down Expand Up @@ -2400,8 +2417,11 @@ public ApiFuture<ListServerTlsPoliciesPage> createPageAsync(

public static class ListServerTlsPoliciesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse, ServerTlsPolicy,
ListServerTlsPoliciesPage, ListServerTlsPoliciesFixedSizeCollection> {
ListServerTlsPoliciesRequest,
ListServerTlsPoliciesResponse,
ServerTlsPolicy,
ListServerTlsPoliciesPage,
ListServerTlsPoliciesFixedSizeCollection> {

private ListServerTlsPoliciesFixedSizeCollection(
List<ListServerTlsPoliciesPage> pages, int collectionSize) {
Expand All @@ -2421,8 +2441,11 @@ protected ListServerTlsPoliciesFixedSizeCollection createCollection(

public static class ListClientTlsPoliciesPagedResponse
extends AbstractPagedListResponse<
ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse, ClientTlsPolicy,
ListClientTlsPoliciesPage, ListClientTlsPoliciesFixedSizeCollection> {
ListClientTlsPoliciesRequest,
ListClientTlsPoliciesResponse,
ClientTlsPolicy,
ListClientTlsPoliciesPage,
ListClientTlsPoliciesFixedSizeCollection> {

public static ApiFuture<ListClientTlsPoliciesPagedResponse> createAsync(
PageContext<ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse, ClientTlsPolicy>
Expand All @@ -2443,7 +2466,9 @@ private ListClientTlsPoliciesPagedResponse(ListClientTlsPoliciesPage page) {

public static class ListClientTlsPoliciesPage
extends AbstractPage<
ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse, ClientTlsPolicy,
ListClientTlsPoliciesRequest,
ListClientTlsPoliciesResponse,
ClientTlsPolicy,
ListClientTlsPoliciesPage> {

private ListClientTlsPoliciesPage(
Expand Down Expand Up @@ -2476,8 +2501,11 @@ public ApiFuture<ListClientTlsPoliciesPage> createPageAsync(

public static class ListClientTlsPoliciesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse, ClientTlsPolicy,
ListClientTlsPoliciesPage, ListClientTlsPoliciesFixedSizeCollection> {
ListClientTlsPoliciesRequest,
ListClientTlsPoliciesResponse,
ClientTlsPolicy,
ListClientTlsPoliciesPage,
ListClientTlsPoliciesFixedSizeCollection> {

private ListClientTlsPoliciesFixedSizeCollection(
List<ListClientTlsPoliciesPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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.networksecurity.v1.stub.NetworkSecurityStubSettings;
Expand All @@ -47,10 +46,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (networksecurity.googleapis.com) and default port (443) are
* <li>The default service address (networksecurity.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>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 NetworkSecuritySettings extends ClientSettings<NetworkSecuritySetti

/** Returns the object with the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listAuthorizationPoliciesSettings();
Expand Down Expand Up @@ -135,7 +135,8 @@ public class NetworkSecuritySettings extends ClientSettings<NetworkSecuritySetti

/** Returns the object with the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings<
ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
ListServerTlsPoliciesRequest,
ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listServerTlsPoliciesSettings();
Expand Down Expand Up @@ -188,7 +189,8 @@ public class NetworkSecuritySettings extends ClientSettings<NetworkSecuritySetti

/** Returns the object with the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings<
ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
ListClientTlsPoliciesRequest,
ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return ((NetworkSecurityStubSettings) getStubSettings()).listClientTlsPoliciesSettings();
Expand Down Expand Up @@ -338,7 +340,8 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listAuthorizationPolicies. */
public PagedCallSettings.Builder<
ListAuthorizationPoliciesRequest, ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesRequest,
ListAuthorizationPoliciesResponse,
ListAuthorizationPoliciesPagedResponse>
listAuthorizationPoliciesSettings() {
return getStubSettingsBuilder().listAuthorizationPoliciesSettings();
Expand Down Expand Up @@ -390,7 +393,8 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listServerTlsPolicies. */
public PagedCallSettings.Builder<
ListServerTlsPoliciesRequest, ListServerTlsPoliciesResponse,
ListServerTlsPoliciesRequest,
ListServerTlsPoliciesResponse,
ListServerTlsPoliciesPagedResponse>
listServerTlsPoliciesSettings() {
return getStubSettingsBuilder().listServerTlsPoliciesSettings();
Expand Down Expand Up @@ -442,7 +446,8 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listClientTlsPolicies. */
public PagedCallSettings.Builder<
ListClientTlsPoliciesRequest, ListClientTlsPoliciesResponse,
ListClientTlsPoliciesRequest,
ListClientTlsPoliciesResponse,
ListClientTlsPoliciesPagedResponse>
listClientTlsPoliciesSettings() {
return getStubSettingsBuilder().listClientTlsPoliciesSettings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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
Loading

0 comments on commit 7cfd7b8

Please sign in to comment.