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
Next Next commit
🦉 Updates from OwlBot post-processor
  • Loading branch information
gcf-owl-bot[bot] committed Mar 15, 2022
commit 7ae671905afe8b915bdbe74b173a180dff4be844
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
* defines the following resource model for managing Redis instances:
*
* <ul>
* <li> The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li> Each project has a collection of available locations, named: `/locations/&#42;`
* <li> Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li> As such, Redis instances are resources of the form:
* <li>The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li>Each project has a collection of available locations, named: `/locations/&#42;`
* <li>Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li>As such, Redis instances are resources of the form:
* `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
* </ul>
*
* <p>Note that location_id must be referring to a GCP `region`; for example:
*
* <ul>
* <li> `projects/redpepper-1290/locations/us-central1/instances/my-redis`
* <li>`projects/redpepper-1290/locations/us-central1/instances/my-redis`
* </ul>
*
* <p>This class provides the ability to make remote calls to the backing service through method
Expand All @@ -79,13 +79,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 @@ -188,7 +188,7 @@ public final OperationsClient getOperationsClient() {
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -225,7 +225,7 @@ public final ListInstancesPagedResponse listInstances(LocationName parent) {
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -259,7 +259,7 @@ public final ListInstancesPagedResponse listInstances(String parent) {
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -296,7 +296,7 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -334,7 +334,7 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -593,11 +593,11 @@ public final InstanceAuthString getInstanceAuthString(GetInstanceAuthStringReque
* @param instanceId Required. The logical name of the Redis instance in the customer project with
* the following restrictions:
* <ul>
* <li> Must contain only lowercase letters, numbers, and hyphens.
* <li> Must start with a letter.
* <li> Must be between 1-40 characters.
* <li> Must end with a number or a letter.
* <li> Must be unique within the customer project / location
* <li>Must contain only lowercase letters, numbers, and hyphens.
* <li>Must start with a letter.
* <li>Must be between 1-40 characters.
* <li>Must end with a number or a letter.
* <li>Must be unique within the customer project / location
* </ul>
*
* @param instance Required. A Redis [Instance] resource
Expand Down Expand Up @@ -645,11 +645,11 @@ public final OperationFuture<Instance, OperationMetadata> createInstanceAsync(
* @param instanceId Required. The logical name of the Redis instance in the customer project with
* the following restrictions:
* <ul>
* <li> Must contain only lowercase letters, numbers, and hyphens.
* <li> Must start with a letter.
* <li> Must be between 1-40 characters.
* <li> Must end with a number or a letter.
* <li> Must be unique within the customer project / location
* <li>Must contain only lowercase letters, numbers, and hyphens.
* <li>Must start with a letter.
* <li>Must be between 1-40 characters.
* <li>Must end with a number or a letter.
* <li>Must be unique within the customer project / location
* </ul>
*
* @param instance Required. A Redis [Instance] resource
Expand Down Expand Up @@ -1555,7 +1555,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListInstancesPagedResponse
extends AbstractPagedListResponse<
ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage,
ListInstancesRequest,
ListInstancesResponse,
Instance,
ListInstancesPage,
ListInstancesFixedSizeCollection> {

public static ApiFuture<ListInstancesPagedResponse> createAsync(
Expand Down Expand Up @@ -1605,7 +1608,10 @@ public ApiFuture<ListInstancesPage> createPageAsync(

public static class ListInstancesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage,
ListInstancesRequest,
ListInstancesResponse,
Instance,
ListInstancesPage,
ListInstancesFixedSizeCollection> {

private ListInstancesFixedSizeCollection(List<ListInstancesPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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.redis.v1.stub.CloudRedisStubSettings;
Expand All @@ -45,9 +44,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (redis.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 (redis.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
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
* defines the following resource model for managing Redis instances:
*
* <ul>
* <li> The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li> Each project has a collection of available locations, named: `/locations/&#42;`
* <li> Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li> As such, Redis instances are resources of the form:
* <li>The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li>Each project has a collection of available locations, named: `/locations/&#42;`
* <li>Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li>As such, Redis instances are resources of the form:
* `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
* </ul>
*
* <p>Note that location_id must be referring to a GCP `region`; for example:
*
* <ul>
* <li> `projects/redpepper-1290/locations/us-central1/instances/my-redis`
* <li>`projects/redpepper-1290/locations/us-central1/instances/my-redis`
* </ul>
*
* <p>Sample for CloudRedisClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (redis.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 (redis.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
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,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 @@ -51,17 +51,17 @@
* defines the following resource model for managing Redis instances:
*
* <ul>
* <li> The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li> Each project has a collection of available locations, named: `/locations/&#42;`
* <li> Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li> As such, Redis instances are resources of the form:
* <li>The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li>Each project has a collection of available locations, named: `/locations/&#42;`
* <li>Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li>As such, Redis instances are resources of the form:
* `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
* </ul>
*
* <p>Note that location_id must be referring to a GCP `region`; for example:
*
* <ul>
* <li> `projects/redpepper-1290/locations/us-central1/instances/my-redis`
* <li>`projects/redpepper-1290/locations/us-central1/instances/my-redis`
* </ul>
*
* <p>This class provides the ability to make remote calls to the backing service through method
Expand All @@ -81,13 +81,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 @@ -191,7 +191,7 @@ public final OperationsClient getOperationsClient() {
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -228,7 +228,7 @@ public final ListInstancesPagedResponse listInstances(LocationName parent) {
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -262,7 +262,7 @@ public final ListInstancesPagedResponse listInstances(String parent) {
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -299,7 +299,7 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -337,7 +337,7 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
* <p>The location should have the following format:
*
* <ul>
* <li> `projects/{project_id}/locations/{location_id}`
* <li>`projects/{project_id}/locations/{location_id}`
* </ul>
*
* <p>If `location_id` is specified as `-` (wildcard), then all regions available to the project
Expand Down Expand Up @@ -596,11 +596,11 @@ public final InstanceAuthString getInstanceAuthString(GetInstanceAuthStringReque
* @param instanceId Required. The logical name of the Redis instance in the customer project with
* the following restrictions:
* <ul>
* <li> Must contain only lowercase letters, numbers, and hyphens.
* <li> Must start with a letter.
* <li> Must be between 1-40 characters.
* <li> Must end with a number or a letter.
* <li> Must be unique within the customer project / location
* <li>Must contain only lowercase letters, numbers, and hyphens.
* <li>Must start with a letter.
* <li>Must be between 1-40 characters.
* <li>Must end with a number or a letter.
* <li>Must be unique within the customer project / location
* </ul>
*
* @param instance Required. A Redis [Instance] resource
Expand Down Expand Up @@ -648,11 +648,11 @@ public final OperationFuture<Instance, Any> createInstanceAsync(
* @param instanceId Required. The logical name of the Redis instance in the customer project with
* the following restrictions:
* <ul>
* <li> Must contain only lowercase letters, numbers, and hyphens.
* <li> Must start with a letter.
* <li> Must be between 1-40 characters.
* <li> Must end with a number or a letter.
* <li> Must be unique within the customer project / location
* <li>Must contain only lowercase letters, numbers, and hyphens.
* <li>Must start with a letter.
* <li>Must be between 1-40 characters.
* <li>Must end with a number or a letter.
* <li>Must be unique within the customer project / location
* </ul>
*
* @param instance Required. A Redis [Instance] resource
Expand Down Expand Up @@ -1705,7 +1705,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListInstancesPagedResponse
extends AbstractPagedListResponse<
ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage,
ListInstancesRequest,
ListInstancesResponse,
Instance,
ListInstancesPage,
ListInstancesFixedSizeCollection> {

public static ApiFuture<ListInstancesPagedResponse> createAsync(
Expand Down Expand Up @@ -1755,7 +1758,10 @@ public ApiFuture<ListInstancesPage> createPageAsync(

public static class ListInstancesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListInstancesRequest, ListInstancesResponse, Instance, ListInstancesPage,
ListInstancesRequest,
ListInstancesResponse,
Instance,
ListInstancesPage,
ListInstancesFixedSizeCollection> {

private ListInstancesFixedSizeCollection(List<ListInstancesPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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.redis.v1beta1.stub.CloudRedisStubSettings;
Expand All @@ -46,9 +45,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (redis.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 (redis.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
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
* defines the following resource model for managing Redis instances:
*
* <ul>
* <li> The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li> Each project has a collection of available locations, named: `/locations/&#42;`
* <li> Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li> As such, Redis instances are resources of the form:
* <li>The service works with a collection of cloud projects, named: `/projects/&#42;`
* <li>Each project has a collection of available locations, named: `/locations/&#42;`
* <li>Each location has a collection of Redis instances, named: `/instances/&#42;`
* <li>As such, Redis instances are resources of the form:
* `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
* </ul>
*
* <p>Note that location_id must be referring to a GCP `region`; for example:
*
* <ul>
* <li> `projects/redpepper-1290/locations/us-central1/instances/my-redis`
* <li>`projects/redpepper-1290/locations/us-central1/instances/my-redis`
* </ul>
*
* <p>Sample for CloudRedisClient:
Expand Down
Loading