public virtual Operation MethodLro(LroRequest request, CallOptions options) => throw new NotImplementedException();
public virtual AsyncUnaryCall <Operation> MethodLroAsync(LroRequest request, CallOptions options) => throw new NotImplementedException();
/// <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)); }
/// <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)); }
partial void Modify_LroRequest(ref LroRequest request, ref gaxgrpc::CallSettings settings);
/// <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));
/// <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();