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
Next Next commit
chore: remove unused proto imports
PiperOrigin-RevId: 468735472

Source-Link: googleapis/googleapis@cfa1b37

Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9
  • Loading branch information
gcf-owl-bot[bot] committed Aug 19, 2022
commit 0665ec6d10d58c49247414b5b174277aef1e3b45

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,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 @@ -2531,11 +2531,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListDeviceRegistriesPagedResponse
extends AbstractPagedListResponse<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
DeviceRegistry,
ListDeviceRegistriesPage,
ListDeviceRegistriesFixedSizeCollection> {
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse, DeviceRegistry,
ListDeviceRegistriesPage, ListDeviceRegistriesFixedSizeCollection> {

public static ApiFuture<ListDeviceRegistriesPagedResponse> createAsync(
PageContext<ListDeviceRegistriesRequest, ListDeviceRegistriesResponse, DeviceRegistry>
Expand All @@ -2556,9 +2553,7 @@ private ListDeviceRegistriesPagedResponse(ListDeviceRegistriesPage page) {

public static class ListDeviceRegistriesPage
extends AbstractPage<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
DeviceRegistry,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse, DeviceRegistry,
ListDeviceRegistriesPage> {

private ListDeviceRegistriesPage(
Expand Down Expand Up @@ -2591,11 +2586,8 @@ public ApiFuture<ListDeviceRegistriesPage> createPageAsync(

public static class ListDeviceRegistriesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
DeviceRegistry,
ListDeviceRegistriesPage,
ListDeviceRegistriesFixedSizeCollection> {
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse, DeviceRegistry,
ListDeviceRegistriesPage, ListDeviceRegistriesFixedSizeCollection> {

private ListDeviceRegistriesFixedSizeCollection(
List<ListDeviceRegistriesPage> pages, int collectionSize) {
Expand All @@ -2615,10 +2607,7 @@ protected ListDeviceRegistriesFixedSizeCollection createCollection(

public static class ListDevicesPagedResponse
extends AbstractPagedListResponse<
ListDevicesRequest,
ListDevicesResponse,
Device,
ListDevicesPage,
ListDevicesRequest, ListDevicesResponse, Device, ListDevicesPage,
ListDevicesFixedSizeCollection> {

public static ApiFuture<ListDevicesPagedResponse> createAsync(
Expand Down Expand Up @@ -2665,10 +2654,7 @@ public ApiFuture<ListDevicesPage> createPageAsync(

public static class ListDevicesFixedSizeCollection
extends AbstractFixedSizeCollection<
ListDevicesRequest,
ListDevicesResponse,
Device,
ListDevicesPage,
ListDevicesRequest, ListDevicesResponse, Device, ListDevicesPage,
ListDevicesFixedSizeCollection> {

private ListDevicesFixedSizeCollection(List<ListDevicesPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
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.iot.v1.stub.DeviceManagerStubSettings;
Expand All @@ -49,9 +50,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (cloudiot.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 (cloudiot.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 @@ -102,8 +103,7 @@ public UnaryCallSettings<DeleteDeviceRegistryRequest, Empty> deleteDeviceRegistr

/** Returns the object with the settings used for calls to listDeviceRegistries. */
public PagedCallSettings<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>
listDeviceRegistriesSettings() {
return ((DeviceManagerStubSettings) getStubSettings()).listDeviceRegistriesSettings();
Expand Down Expand Up @@ -328,8 +328,7 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listDeviceRegistries. */
public PagedCallSettings.Builder<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>
listDeviceRegistriesSettings() {
return getStubSettingsBuilder().listDeviceRegistriesSettings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (cloudiot.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 (cloudiot.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 @@ -136,8 +136,7 @@ public class DeviceManagerStubSettings extends StubSettings<DeviceManagerStubSet
updateDeviceRegistrySettings;
private final UnaryCallSettings<DeleteDeviceRegistryRequest, Empty> deleteDeviceRegistrySettings;
private final PagedCallSettings<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>
listDeviceRegistriesSettings;
private final UnaryCallSettings<CreateDeviceRequest, Device> createDeviceSettings;
Expand Down Expand Up @@ -240,13 +239,11 @@ public Iterable<Device> extractResources(ListDevicesResponse payload) {
};

private static final PagedListResponseFactory<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>
LIST_DEVICE_REGISTRIES_PAGE_STR_FACT =
new PagedListResponseFactory<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>() {
@Override
public ApiFuture<ListDeviceRegistriesPagedResponse> getFuturePagedResponse(
Expand Down Expand Up @@ -303,8 +300,7 @@ public UnaryCallSettings<DeleteDeviceRegistryRequest, Empty> deleteDeviceRegistr

/** Returns the object with the settings used for calls to listDeviceRegistries. */
public PagedCallSettings<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>
listDeviceRegistriesSettings() {
return listDeviceRegistriesSettings;
Expand Down Expand Up @@ -527,8 +523,7 @@ public static class Builder extends StubSettings.Builder<DeviceManagerStubSettin
private final UnaryCallSettings.Builder<DeleteDeviceRegistryRequest, Empty>
deleteDeviceRegistrySettings;
private final PagedCallSettings.Builder<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>
listDeviceRegistriesSettings;
private final UnaryCallSettings.Builder<CreateDeviceRequest, Device> createDeviceSettings;
Expand Down Expand Up @@ -881,8 +876,7 @@ public Builder applyToAllUnaryMethods(

/** Returns the builder for the settings used for calls to listDeviceRegistries. */
public PagedCallSettings.Builder<
ListDeviceRegistriesRequest,
ListDeviceRegistriesResponse,
ListDeviceRegistriesRequest, ListDeviceRegistriesResponse,
ListDeviceRegistriesPagedResponse>
listDeviceRegistriesSettings() {
return listDeviceRegistriesSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
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