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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
🦉 Updates from OwlBot post-processor
  • Loading branch information
gcf-owl-bot[bot] committed Jun 23, 2022
commit c9974db74d92df40fb4889a6873a9bb488553190
Original file line number Diff line number Diff line change
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 @@ -2078,15 +2078,15 @@ public final UnaryCallable<GroupAssetsRequest, GroupAssetsResponse> groupAssetsC
* of fields. For example: "parent,resource_name".
* <p>The following fields are supported:
* <ul>
* <li> resource_name
* <li> category
* <li> state
* <li> parent
* <li> severity
* <li>resource_name
* <li>category
* <li>state
* <li>parent
* <li>severity
* </ul>
* <p>The following fields are supported when compare_duration is set:
* <ul>
* <li> state_change
* <li>state_change
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -2133,15 +2133,15 @@ public final GroupFindingsPagedResponse groupFindings(SourceName parent, String
* of fields. For example: "parent,resource_name".
* <p>The following fields are supported:
* <ul>
* <li> resource_name
* <li> category
* <li> state
* <li> parent
* <li> severity
* <li>resource_name
* <li>category
* <li>state
* <li>parent
* <li>severity
* </ul>
* <p>The following fields are supported when compare_duration is set:
* <ul>
* <li> state_change
* <li>state_change
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -4979,7 +4979,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class GroupAssetsPagedResponse
extends AbstractPagedListResponse<
GroupAssetsRequest, GroupAssetsResponse, GroupResult, GroupAssetsPage,
GroupAssetsRequest,
GroupAssetsResponse,
GroupResult,
GroupAssetsPage,
GroupAssetsFixedSizeCollection> {

public static ApiFuture<GroupAssetsPagedResponse> createAsync(
Expand Down Expand Up @@ -5026,7 +5029,10 @@ public ApiFuture<GroupAssetsPage> createPageAsync(

public static class GroupAssetsFixedSizeCollection
extends AbstractFixedSizeCollection<
GroupAssetsRequest, GroupAssetsResponse, GroupResult, GroupAssetsPage,
GroupAssetsRequest,
GroupAssetsResponse,
GroupResult,
GroupAssetsPage,
GroupAssetsFixedSizeCollection> {

private GroupAssetsFixedSizeCollection(List<GroupAssetsPage> pages, int collectionSize) {
Expand All @@ -5046,7 +5052,10 @@ protected GroupAssetsFixedSizeCollection createCollection(

public static class GroupFindingsPagedResponse
extends AbstractPagedListResponse<
GroupFindingsRequest, GroupFindingsResponse, GroupResult, GroupFindingsPage,
GroupFindingsRequest,
GroupFindingsResponse,
GroupResult,
GroupFindingsPage,
GroupFindingsFixedSizeCollection> {

public static ApiFuture<GroupFindingsPagedResponse> createAsync(
Expand Down Expand Up @@ -5096,7 +5105,10 @@ public ApiFuture<GroupFindingsPage> createPageAsync(

public static class GroupFindingsFixedSizeCollection
extends AbstractFixedSizeCollection<
GroupFindingsRequest, GroupFindingsResponse, GroupResult, GroupFindingsPage,
GroupFindingsRequest,
GroupFindingsResponse,
GroupResult,
GroupFindingsPage,
GroupFindingsFixedSizeCollection> {

private GroupFindingsFixedSizeCollection(List<GroupFindingsPage> pages, int collectionSize) {
Expand All @@ -5116,8 +5128,11 @@ protected GroupFindingsFixedSizeCollection createCollection(

public static class ListAssetsPagedResponse
extends AbstractPagedListResponse<
ListAssetsRequest, ListAssetsResponse, ListAssetsResponse.ListAssetsResult,
ListAssetsPage, ListAssetsFixedSizeCollection> {
ListAssetsRequest,
ListAssetsResponse,
ListAssetsResponse.ListAssetsResult,
ListAssetsPage,
ListAssetsFixedSizeCollection> {

public static ApiFuture<ListAssetsPagedResponse> createAsync(
PageContext<ListAssetsRequest, ListAssetsResponse, ListAssetsResponse.ListAssetsResult>
Expand All @@ -5136,7 +5151,9 @@ private ListAssetsPagedResponse(ListAssetsPage page) {

public static class ListAssetsPage
extends AbstractPage<
ListAssetsRequest, ListAssetsResponse, ListAssetsResponse.ListAssetsResult,
ListAssetsRequest,
ListAssetsResponse,
ListAssetsResponse.ListAssetsResult,
ListAssetsPage> {

private ListAssetsPage(
Expand Down Expand Up @@ -5169,8 +5186,11 @@ public ApiFuture<ListAssetsPage> createPageAsync(

public static class ListAssetsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListAssetsRequest, ListAssetsResponse, ListAssetsResponse.ListAssetsResult,
ListAssetsPage, ListAssetsFixedSizeCollection> {
ListAssetsRequest,
ListAssetsResponse,
ListAssetsResponse.ListAssetsResult,
ListAssetsPage,
ListAssetsFixedSizeCollection> {

private ListAssetsFixedSizeCollection(List<ListAssetsPage> pages, int collectionSize) {
super(pages, collectionSize);
Expand All @@ -5189,8 +5209,11 @@ protected ListAssetsFixedSizeCollection createCollection(

public static class ListFindingsPagedResponse
extends AbstractPagedListResponse<
ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult,
ListFindingsPage, ListFindingsFixedSizeCollection> {
ListFindingsRequest,
ListFindingsResponse,
ListFindingsResponse.ListFindingsResult,
ListFindingsPage,
ListFindingsFixedSizeCollection> {

public static ApiFuture<ListFindingsPagedResponse> createAsync(
PageContext<
Expand All @@ -5212,7 +5235,9 @@ private ListFindingsPagedResponse(ListFindingsPage page) {

public static class ListFindingsPage
extends AbstractPage<
ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult,
ListFindingsRequest,
ListFindingsResponse,
ListFindingsResponse.ListFindingsResult,
ListFindingsPage> {

private ListFindingsPage(
Expand Down Expand Up @@ -5248,8 +5273,11 @@ public ApiFuture<ListFindingsPage> createPageAsync(

public static class ListFindingsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListFindingsRequest, ListFindingsResponse, ListFindingsResponse.ListFindingsResult,
ListFindingsPage, ListFindingsFixedSizeCollection> {
ListFindingsRequest,
ListFindingsResponse,
ListFindingsResponse.ListFindingsResult,
ListFindingsPage,
ListFindingsFixedSizeCollection> {

private ListFindingsFixedSizeCollection(List<ListFindingsPage> pages, int collectionSize) {
super(pages, collectionSize);
Expand All @@ -5268,7 +5296,10 @@ protected ListFindingsFixedSizeCollection createCollection(

public static class ListMuteConfigsPagedResponse
extends AbstractPagedListResponse<
ListMuteConfigsRequest, ListMuteConfigsResponse, MuteConfig, ListMuteConfigsPage,
ListMuteConfigsRequest,
ListMuteConfigsResponse,
MuteConfig,
ListMuteConfigsPage,
ListMuteConfigsFixedSizeCollection> {

public static ApiFuture<ListMuteConfigsPagedResponse> createAsync(
Expand Down Expand Up @@ -5318,7 +5349,10 @@ public ApiFuture<ListMuteConfigsPage> createPageAsync(

public static class ListMuteConfigsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListMuteConfigsRequest, ListMuteConfigsResponse, MuteConfig, ListMuteConfigsPage,
ListMuteConfigsRequest,
ListMuteConfigsResponse,
MuteConfig,
ListMuteConfigsPage,
ListMuteConfigsFixedSizeCollection> {

private ListMuteConfigsFixedSizeCollection(
Expand All @@ -5339,8 +5373,11 @@ protected ListMuteConfigsFixedSizeCollection createCollection(

public static class ListNotificationConfigsPagedResponse
extends AbstractPagedListResponse<
ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig,
ListNotificationConfigsPage, ListNotificationConfigsFixedSizeCollection> {
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
NotificationConfig,
ListNotificationConfigsPage,
ListNotificationConfigsFixedSizeCollection> {

public static ApiFuture<ListNotificationConfigsPagedResponse> createAsync(
PageContext<
Expand All @@ -5362,7 +5399,9 @@ private ListNotificationConfigsPagedResponse(ListNotificationConfigsPage page) {

public static class ListNotificationConfigsPage
extends AbstractPage<
ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig,
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
NotificationConfig,
ListNotificationConfigsPage> {

private ListNotificationConfigsPage(
Expand Down Expand Up @@ -5398,8 +5437,11 @@ public ApiFuture<ListNotificationConfigsPage> createPageAsync(

public static class ListNotificationConfigsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListNotificationConfigsRequest, ListNotificationConfigsResponse, NotificationConfig,
ListNotificationConfigsPage, ListNotificationConfigsFixedSizeCollection> {
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
NotificationConfig,
ListNotificationConfigsPage,
ListNotificationConfigsFixedSizeCollection> {

private ListNotificationConfigsFixedSizeCollection(
List<ListNotificationConfigsPage> pages, int collectionSize) {
Expand All @@ -5419,7 +5461,10 @@ protected ListNotificationConfigsFixedSizeCollection createCollection(

public static class ListSourcesPagedResponse
extends AbstractPagedListResponse<
ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage,
ListSourcesRequest,
ListSourcesResponse,
Source,
ListSourcesPage,
ListSourcesFixedSizeCollection> {

public static ApiFuture<ListSourcesPagedResponse> createAsync(
Expand Down Expand Up @@ -5466,7 +5511,10 @@ public ApiFuture<ListSourcesPage> createPageAsync(

public static class ListSourcesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListSourcesRequest, ListSourcesResponse, Source, ListSourcesPage,
ListSourcesRequest,
ListSourcesResponse,
Source,
ListSourcesPage,
ListSourcesFixedSizeCollection> {

private ListSourcesFixedSizeCollection(List<ListSourcesPage> pages, int collectionSize) {
Expand All @@ -5486,8 +5534,11 @@ protected ListSourcesFixedSizeCollection createCollection(

public static class ListBigQueryExportsPagedResponse
extends AbstractPagedListResponse<
ListBigQueryExportsRequest, ListBigQueryExportsResponse, BigQueryExport,
ListBigQueryExportsPage, ListBigQueryExportsFixedSizeCollection> {
ListBigQueryExportsRequest,
ListBigQueryExportsResponse,
BigQueryExport,
ListBigQueryExportsPage,
ListBigQueryExportsFixedSizeCollection> {

public static ApiFuture<ListBigQueryExportsPagedResponse> createAsync(
PageContext<ListBigQueryExportsRequest, ListBigQueryExportsResponse, BigQueryExport>
Expand All @@ -5508,7 +5559,9 @@ private ListBigQueryExportsPagedResponse(ListBigQueryExportsPage page) {

public static class ListBigQueryExportsPage
extends AbstractPage<
ListBigQueryExportsRequest, ListBigQueryExportsResponse, BigQueryExport,
ListBigQueryExportsRequest,
ListBigQueryExportsResponse,
BigQueryExport,
ListBigQueryExportsPage> {

private ListBigQueryExportsPage(
Expand Down Expand Up @@ -5541,8 +5594,11 @@ public ApiFuture<ListBigQueryExportsPage> createPageAsync(

public static class ListBigQueryExportsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListBigQueryExportsRequest, ListBigQueryExportsResponse, BigQueryExport,
ListBigQueryExportsPage, ListBigQueryExportsFixedSizeCollection> {
ListBigQueryExportsRequest,
ListBigQueryExportsResponse,
BigQueryExport,
ListBigQueryExportsPage,
ListBigQueryExportsFixedSizeCollection> {

private ListBigQueryExportsFixedSizeCollection(
List<ListBigQueryExportsPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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.securitycenter.v1.stub.SecurityCenterStubSettings;
Expand All @@ -58,10 +57,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (securitycenter.googleapis.com) and default port (443) are
* <li>The default service address (securitycenter.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 @@ -197,7 +196,8 @@ public UnaryCallSettings<GetSourceRequest, Source> getSourceSettings() {

/** Returns the object with the settings used for calls to listNotificationConfigs. */
public PagedCallSettings<
ListNotificationConfigsRequest, ListNotificationConfigsResponse,
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
ListNotificationConfigsPagedResponse>
listNotificationConfigsSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).listNotificationConfigsSettings();
Expand Down Expand Up @@ -533,7 +533,8 @@ public UnaryCallSettings.Builder<GetSourceRequest, Source> getSourceSettings() {

/** Returns the builder for the settings used for calls to listNotificationConfigs. */
public PagedCallSettings.Builder<
ListNotificationConfigsRequest, ListNotificationConfigsResponse,
ListNotificationConfigsRequest,
ListNotificationConfigsResponse,
ListNotificationConfigsPagedResponse>
listNotificationConfigsSettings() {
return getStubSettingsBuilder().listNotificationConfigsSettings();
Expand Down Expand Up @@ -639,7 +640,8 @@ public UnaryCallSettings.Builder<UpdateSourceRequest, Source> updateSourceSettin

/** Returns the builder for the settings used for calls to listBigQueryExports. */
public PagedCallSettings.Builder<
ListBigQueryExportsRequest, ListBigQueryExportsResponse,
ListBigQueryExportsRequest,
ListBigQueryExportsResponse,
ListBigQueryExportsPagedResponse>
listBigQueryExportsSettings() {
return getStubSettingsBuilder().listBigQueryExportsSettings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,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 @@ -37,7 +37,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