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

feat: Enable REST transport for most of Java and Go clients #184

Merged
merged 5 commits into from
Jun 23, 2022
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 Jun 23, 2022
commit c33a77b8781798cbfb6547949e5d3c192c94a7e7
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 @@ -219,10 +219,10 @@ public ResourceSettingsServiceStub getStub() {
* @param parent Required. The Cloud resource that parents the setting. Must be in one of the
* following forms:
* <ul>
* <li> `projects/{project_number}`
* <li> `projects/{project_id}`
* <li> `folders/{folder_id}`
* <li> `organizations/{organization_id}`
* <li>`projects/{project_number}`
* <li>`projects/{project_id}`
* <li>`folders/{folder_id}`
* <li>`organizations/{organization_id}`
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -258,10 +258,10 @@ public final ListSettingsPagedResponse listSettings(ResourceName parent) {
* @param parent Required. The Cloud resource that parents the setting. Must be in one of the
* following forms:
* <ul>
* <li> `projects/{project_number}`
* <li> `projects/{project_id}`
* <li> `folders/{folder_id}`
* <li> `organizations/{organization_id}`
* <li>`projects/{project_number}`
* <li>`projects/{project_id}`
* <li>`folders/{folder_id}`
* <li>`organizations/{organization_id}`
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -596,7 +596,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListSettingsPagedResponse
extends AbstractPagedListResponse<
ListSettingsRequest, ListSettingsResponse, Setting, ListSettingsPage,
ListSettingsRequest,
ListSettingsResponse,
Setting,
ListSettingsPage,
ListSettingsFixedSizeCollection> {

public static ApiFuture<ListSettingsPagedResponse> createAsync(
Expand Down Expand Up @@ -645,7 +648,10 @@ public ApiFuture<ListSettingsPage> createPageAsync(

public static class ListSettingsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListSettingsRequest, ListSettingsResponse, Setting, ListSettingsPage,
ListSettingsRequest,
ListSettingsResponse,
Setting,
ListSettingsPage,
ListSettingsFixedSizeCollection> {

private ListSettingsFixedSizeCollection(List<ListSettingsPage> 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.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.resourcesettings.v1.stub.ResourceSettingsServiceStubSettings;
Expand All @@ -43,10 +42,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (resourcesettings.googleapis.com) and default port (443) are
* <li>The default service address (resourcesettings.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
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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 @@ -64,10 +64,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (resourcesettings.googleapis.com) and default port (443) are
* <li>The default service address (resourcesettings.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
Loading