/// <summary>
 /// Lists operations that match the specified filter in the request. If the
 /// server doesn't support this method, it returns `UNIMPLEMENTED`.
 ///
 /// NOTE: the `name` binding allows API services to override the binding
 /// to use different resource name schemes, such as `users/*/operations`. To
 /// override the binding, API services can add a binding such as
 /// `"/v1/{name=users/*}/operations"` to their service configuration.
 /// For backwards compatibility, the default name includes the operations
 /// collection id, however overriding users must ensure the name binding
 /// is the parent resource, without the operations collection id.
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="options">The options for the call.</param>
 /// <returns>The call object.</returns>
 public virtual grpc::AsyncUnaryCall <global::Google.LongRunning.ListOperationsResponse> ListOperationsAsync(global::Google.LongRunning.ListOperationsRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_ListOperations, null, options, request));
 }
 /// <summary>
 /// Lists operations that match the specified filter in the request. If the
 /// server doesn't support this method, it returns `UNIMPLEMENTED`.
 ///
 /// NOTE: the `name` binding allows API services to override the binding
 /// to use different resource name schemes, such as `users/*/operations`. To
 /// override the binding, API services can add a binding such as
 /// `"/v1/{name=users/*}/operations"` to their service configuration.
 /// For backwards compatibility, the default name includes the operations
 /// collection id, however overriding users must ensure the name binding
 /// is the parent resource, without the operations collection id.
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
 /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
 /// <param name="cancellationToken">An optional token for canceling the call.</param>
 /// <returns>The call object.</returns>
 public virtual grpc::AsyncUnaryCall <global::Google.LongRunning.ListOperationsResponse> ListOperationsAsync(global::Google.LongRunning.ListOperationsRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(ListOperationsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 /// <summary>
 /// Lists operations that match the specified filter in the request. If the
 /// server doesn't support this method, it returns `UNIMPLEMENTED`.
 ///
 /// NOTE: the `name` binding allows API services to override the binding
 /// to use different resource name schemes, such as `users/*/operations`. To
 /// override the binding, API services can add a binding such as
 /// `"/v1/{name=users/*}/operations"` to their service configuration.
 /// For backwards compatibility, the default name includes the operations
 /// collection id, however overriding users must ensure the name binding
 /// is the parent resource, without the operations collection id.
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="options">The options for the call.</param>
 /// <returns>The response received from the server.</returns>
 public virtual global::Google.LongRunning.ListOperationsResponse ListOperations(global::Google.LongRunning.ListOperationsRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_ListOperations, null, options, request));
 }
 /// <summary>
 /// Lists operations that match the specified filter in the request. If the
 /// server doesn't support this method, it returns `UNIMPLEMENTED`.
 ///
 /// NOTE: the `name` binding allows API services to override the binding
 /// to use different resource name schemes, such as `users/*/operations`. To
 /// override the binding, API services can add a binding such as
 /// `"/v1/{name=users/*}/operations"` to their service configuration.
 /// For backwards compatibility, the default name includes the operations
 /// collection id, however overriding users must ensure the name binding
 /// is the parent resource, without the operations collection id.
 /// </summary>
 /// <param name="request">The request received from the client.</param>
 /// <param name="context">The context of the server-side call handler being invoked.</param>
 /// <returns>The response to send back to the client (wrapped by a task).</returns>
 public virtual global::System.Threading.Tasks.Task <global::Google.LongRunning.ListOperationsResponse> ListOperations(global::Google.LongRunning.ListOperationsRequest request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Lists operations that match the specified filter in the request. If the
 /// server doesn't support this method, it returns `UNIMPLEMENTED`.
 ///
 /// NOTE: the `name` binding below allows API services to override the binding
 /// to use different resource name schemes, such as `users/*/operations`.
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
 /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
 /// <param name="cancellationToken">An optional token for canceling the call.</param>
 /// <returns>The response received from the server.</returns>
 public virtual global::Google.LongRunning.ListOperationsResponse ListOperations(global::Google.LongRunning.ListOperationsRequest request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(ListOperations(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 /// <summary>
 ///  Lists operations that match the specified filter in the request. If the
 ///  server doesn't support this method, it returns `UNIMPLEMENTED`.
 ///
 ///  NOTE: the `name` binding below allows API services to override the binding
 ///  to use different resource name schemes, such as `users/*/operations`.
 /// </summary>
 public virtual AsyncUnaryCall <global::Google.LongRunning.ListOperationsResponse> ListOperationsAsync(global::Google.LongRunning.ListOperationsRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(ListOperationsAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }