Exemplo n.º 1
0
 public virtual Operation MethodLro(LroRequest request, CallOptions options) => throw new NotImplementedException();
Exemplo n.º 2
0
 public virtual AsyncUnaryCall <Operation> MethodLroAsync(LroRequest request, CallOptions options) => throw new NotImplementedException();
Exemplo n.º 3
0
 /// <summary>
 /// LRO method, to test the client mocking supports LRO.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override async stt::Task <lro::Operation <LroResponse, LroMetadata> > MethodLroAsync(LroRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_LroRequest(ref request, ref callSettings);
     return(new lro::Operation <LroResponse, LroMetadata>(await _callMethodLro.Async(request, callSettings).ConfigureAwait(false), MethodLroOperationsClient));
 }
Exemplo n.º 4
0
 /// <summary>
 /// LRO method, to test the client mocking supports LRO.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public override lro::Operation <LroResponse, LroMetadata> MethodLro(LroRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_LroRequest(ref request, ref callSettings);
     return(new lro::Operation <LroResponse, LroMetadata>(_callMethodLro.Sync(request, callSettings), MethodLroOperationsClient));
 }
Exemplo n.º 5
0
 partial void Modify_LroRequest(ref LroRequest request, ref gaxgrpc::CallSettings settings);
Exemplo n.º 6
0
 /// <summary>
 /// LRO method, to test the client mocking supports LRO.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <lro::Operation <LroResponse, LroMetadata> > MethodLroAsync(LroRequest request, st::CancellationToken cancellationToken) =>
 MethodLroAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
Exemplo n.º 7
0
 /// <summary>
 /// LRO method, to test the client mocking supports LRO.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <lro::Operation <LroResponse, LroMetadata> > MethodLroAsync(LroRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();