Skip to content
This repository has been archived by the owner on Jul 17, 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 Aug 23, 2022
1 parent b9a2c5e commit d9d3b51
Show file tree
Hide file tree
Showing 577 changed files with 72,155 additions and 44,412 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,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 @@ -3564,8 +3564,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListConnectionProfilesPagedResponse
extends AbstractPagedListResponse<
ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile,
ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> {
ListConnectionProfilesRequest,
ListConnectionProfilesResponse,
ConnectionProfile,
ListConnectionProfilesPage,
ListConnectionProfilesFixedSizeCollection> {

public static ApiFuture<ListConnectionProfilesPagedResponse> createAsync(
PageContext<
Expand All @@ -3587,7 +3590,9 @@ private ListConnectionProfilesPagedResponse(ListConnectionProfilesPage page) {

public static class ListConnectionProfilesPage
extends AbstractPage<
ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile,
ListConnectionProfilesRequest,
ListConnectionProfilesResponse,
ConnectionProfile,
ListConnectionProfilesPage> {

private ListConnectionProfilesPage(
Expand Down Expand Up @@ -3623,8 +3628,11 @@ public ApiFuture<ListConnectionProfilesPage> createPageAsync(

public static class ListConnectionProfilesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListConnectionProfilesRequest, ListConnectionProfilesResponse, ConnectionProfile,
ListConnectionProfilesPage, ListConnectionProfilesFixedSizeCollection> {
ListConnectionProfilesRequest,
ListConnectionProfilesResponse,
ConnectionProfile,
ListConnectionProfilesPage,
ListConnectionProfilesFixedSizeCollection> {

private ListConnectionProfilesFixedSizeCollection(
List<ListConnectionProfilesPage> pages, int collectionSize) {
Expand All @@ -3644,7 +3652,10 @@ protected ListConnectionProfilesFixedSizeCollection createCollection(

public static class ListStreamsPagedResponse
extends AbstractPagedListResponse<
ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage,
ListStreamsRequest,
ListStreamsResponse,
Stream,
ListStreamsPage,
ListStreamsFixedSizeCollection> {

public static ApiFuture<ListStreamsPagedResponse> createAsync(
Expand Down Expand Up @@ -3691,7 +3702,10 @@ public ApiFuture<ListStreamsPage> createPageAsync(

public static class ListStreamsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListStreamsRequest, ListStreamsResponse, Stream, ListStreamsPage,
ListStreamsRequest,
ListStreamsResponse,
Stream,
ListStreamsPage,
ListStreamsFixedSizeCollection> {

private ListStreamsFixedSizeCollection(List<ListStreamsPage> pages, int collectionSize) {
Expand All @@ -3711,7 +3725,10 @@ protected ListStreamsFixedSizeCollection createCollection(

public static class ListStreamObjectsPagedResponse
extends AbstractPagedListResponse<
ListStreamObjectsRequest, ListStreamObjectsResponse, StreamObject, ListStreamObjectsPage,
ListStreamObjectsRequest,
ListStreamObjectsResponse,
StreamObject,
ListStreamObjectsPage,
ListStreamObjectsFixedSizeCollection> {

public static ApiFuture<ListStreamObjectsPagedResponse> createAsync(
Expand All @@ -3732,7 +3749,9 @@ private ListStreamObjectsPagedResponse(ListStreamObjectsPage page) {

public static class ListStreamObjectsPage
extends AbstractPage<
ListStreamObjectsRequest, ListStreamObjectsResponse, StreamObject,
ListStreamObjectsRequest,
ListStreamObjectsResponse,
StreamObject,
ListStreamObjectsPage> {

private ListStreamObjectsPage(
Expand Down Expand Up @@ -3762,7 +3781,10 @@ public ApiFuture<ListStreamObjectsPage> createPageAsync(

public static class ListStreamObjectsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListStreamObjectsRequest, ListStreamObjectsResponse, StreamObject, ListStreamObjectsPage,
ListStreamObjectsRequest,
ListStreamObjectsResponse,
StreamObject,
ListStreamObjectsPage,
ListStreamObjectsFixedSizeCollection> {

private ListStreamObjectsFixedSizeCollection(
Expand All @@ -3783,7 +3805,10 @@ protected ListStreamObjectsFixedSizeCollection createCollection(

public static class FetchStaticIpsPagedResponse
extends AbstractPagedListResponse<
FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage,
FetchStaticIpsRequest,
FetchStaticIpsResponse,
String,
FetchStaticIpsPage,
FetchStaticIpsFixedSizeCollection> {

public static ApiFuture<FetchStaticIpsPagedResponse> createAsync(
Expand Down Expand Up @@ -3833,7 +3858,10 @@ public ApiFuture<FetchStaticIpsPage> createPageAsync(

public static class FetchStaticIpsFixedSizeCollection
extends AbstractFixedSizeCollection<
FetchStaticIpsRequest, FetchStaticIpsResponse, String, FetchStaticIpsPage,
FetchStaticIpsRequest,
FetchStaticIpsResponse,
String,
FetchStaticIpsPage,
FetchStaticIpsFixedSizeCollection> {

private FetchStaticIpsFixedSizeCollection(List<FetchStaticIpsPage> pages, int collectionSize) {
Expand All @@ -3853,8 +3881,11 @@ protected FetchStaticIpsFixedSizeCollection createCollection(

public static class ListPrivateConnectionsPagedResponse
extends AbstractPagedListResponse<
ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection,
ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> {
ListPrivateConnectionsRequest,
ListPrivateConnectionsResponse,
PrivateConnection,
ListPrivateConnectionsPage,
ListPrivateConnectionsFixedSizeCollection> {

public static ApiFuture<ListPrivateConnectionsPagedResponse> createAsync(
PageContext<
Expand All @@ -3876,7 +3907,9 @@ private ListPrivateConnectionsPagedResponse(ListPrivateConnectionsPage page) {

public static class ListPrivateConnectionsPage
extends AbstractPage<
ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection,
ListPrivateConnectionsRequest,
ListPrivateConnectionsResponse,
PrivateConnection,
ListPrivateConnectionsPage> {

private ListPrivateConnectionsPage(
Expand Down Expand Up @@ -3912,8 +3945,11 @@ public ApiFuture<ListPrivateConnectionsPage> createPageAsync(

public static class ListPrivateConnectionsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListPrivateConnectionsRequest, ListPrivateConnectionsResponse, PrivateConnection,
ListPrivateConnectionsPage, ListPrivateConnectionsFixedSizeCollection> {
ListPrivateConnectionsRequest,
ListPrivateConnectionsResponse,
PrivateConnection,
ListPrivateConnectionsPage,
ListPrivateConnectionsFixedSizeCollection> {

private ListPrivateConnectionsFixedSizeCollection(
List<ListPrivateConnectionsPage> pages, int collectionSize) {
Expand All @@ -3933,7 +3969,10 @@ protected ListPrivateConnectionsFixedSizeCollection createCollection(

public static class ListRoutesPagedResponse
extends AbstractPagedListResponse<
ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage,
ListRoutesRequest,
ListRoutesResponse,
Route,
ListRoutesPage,
ListRoutesFixedSizeCollection> {

public static ApiFuture<ListRoutesPagedResponse> createAsync(
Expand Down Expand Up @@ -3980,7 +4019,10 @@ public ApiFuture<ListRoutesPage> createPageAsync(

public static class ListRoutesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListRoutesRequest, ListRoutesResponse, Route, ListRoutesPage,
ListRoutesRequest,
ListRoutesResponse,
Route,
ListRoutesPage,
ListRoutesFixedSizeCollection> {

private ListRoutesFixedSizeCollection(List<ListRoutesPage> pages, int collectionSize) {
Expand All @@ -4000,7 +4042,10 @@ protected ListRoutesFixedSizeCollection createCollection(

public static class ListLocationsPagedResponse
extends AbstractPagedListResponse<
ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage,
ListLocationsRequest,
ListLocationsResponse,
Location,
ListLocationsPage,
ListLocationsFixedSizeCollection> {

public static ApiFuture<ListLocationsPagedResponse> createAsync(
Expand Down Expand Up @@ -4050,7 +4095,10 @@ public ApiFuture<ListLocationsPage> createPageAsync(

public static class ListLocationsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage,
ListLocationsRequest,
ListLocationsResponse,
Location,
ListLocationsPage,
ListLocationsFixedSizeCollection> {

private ListLocationsFixedSizeCollection(List<ListLocationsPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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.datastream.v1.stub.DatastreamStubSettings;
Expand All @@ -56,9 +55,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (datastream.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 (datastream.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 @@ -87,7 +86,8 @@ public class DatastreamSettings extends ClientSettings<DatastreamSettings> {

/** Returns the object with the settings used for calls to listConnectionProfiles. */
public PagedCallSettings<
ListConnectionProfilesRequest, ListConnectionProfilesResponse,
ListConnectionProfilesRequest,
ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return ((DatastreamStubSettings) getStubSettings()).listConnectionProfilesSettings();
Expand Down Expand Up @@ -241,7 +241,8 @@ public UnaryCallSettings<LookupStreamObjectRequest, StreamObject> lookupStreamOb

/** Returns the object with the settings used for calls to listPrivateConnections. */
public PagedCallSettings<
ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
ListPrivateConnectionsRequest,
ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return ((DatastreamStubSettings) getStubSettings()).listPrivateConnectionsSettings();
Expand Down Expand Up @@ -419,7 +420,8 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listConnectionProfiles. */
public PagedCallSettings.Builder<
ListConnectionProfilesRequest, ListConnectionProfilesResponse,
ListConnectionProfilesRequest,
ListConnectionProfilesResponse,
ListConnectionProfilesPagedResponse>
listConnectionProfilesSettings() {
return getStubSettingsBuilder().listConnectionProfilesSettings();
Expand Down Expand Up @@ -580,7 +582,8 @@ public UnaryCallSettings.Builder<DeleteStreamRequest, Operation> deleteStreamSet

/** Returns the builder for the settings used for calls to listPrivateConnections. */
public PagedCallSettings.Builder<
ListPrivateConnectionsRequest, ListPrivateConnectionsResponse,
ListPrivateConnectionsRequest,
ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return getStubSettingsBuilder().listPrivateConnectionsSettings();
Expand Down
Loading

0 comments on commit d9d3b51

Please sign in to comment.