/** * Lists operations that match the specified filter in the request. If the server doesn't support * this method, it returns `UNIMPLEMENTED`. * * <p>NOTE: the `name` binding below allows API services to override the binding to use different * resource name schemes, such as `users/*/operations`. * * <p>Sample code: * * <pre><code> * try (OperationsClient operationsClient = OperationsClient.create()) { * String name = ""; * String filter = ""; * ListOperationsRequest request = ListOperationsRequest.newBuilder() * .setName(name) * .setFilter(filter) * .build(); * ApiFuture<ListOperationsPagedResponse> future = operationsClient.listOperationsPagedCallable().futureCall(request); * // Do something * for (Operation element : future.get().iterateAll()) { * // doThingsWith(element); * } * } * </code></pre> */ public final UnaryCallable<ListOperationsRequest, ListOperationsPagedResponse> listOperationsPagedCallable() { return stub.listOperationsPagedCallable(); }
/** * Lists operations that match the specified filter in the request. If the server doesn't support * this method, it returns `UNIMPLEMENTED`. * * <p>NOTE: the `name` binding below allows API services to override the binding to use different * resource name schemes, such as `users/*/operations`. * * <p>Sample code: * * <pre><code> * try (OperationsClient operationsClient = OperationsClient.create()) { * String name = ""; * String filter = ""; * ListOperationsRequest request = ListOperationsRequest.newBuilder() * .setName(name) * .setFilter(filter) * .build(); * ApiFuture<ListOperationsPagedResponse> future = operationsClient.listOperationsPagedCallable().futureCall(request); * // Do something * for (Operation element : future.get().iterateAll()) { * // doThingsWith(element); * } * } * </code></pre> */ public final UnaryCallable<ListOperationsRequest, ListOperationsPagedResponse> listOperationsPagedCallable() { return stub.listOperationsPagedCallable(); }