public global::Playground.Common.ServiceDefinition.Person GetPersonById(global::Playground.Common.ServiceDefinition.PersonId request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { var call = CreateCall(__Method_GetPersonById, new CallOptions(headers, deadline, cancellationToken)); return(Calls.BlockingUnaryCall(call, request)); }
public global::Playground.Common.ServiceDefinition.Person GetPersonById(global::Playground.Common.ServiceDefinition.PersonId request, CallOptions options) { var call = CreateCall(__Method_GetPersonById, options); return(Calls.BlockingUnaryCall(call, request)); }
public AsyncUnaryCall <global::Playground.Common.ServiceDefinition.Person> GetPersonByIdAsync(global::Playground.Common.ServiceDefinition.PersonId request, CallOptions options) { var call = CreateCall(__Method_GetPersonById, options); return(Calls.AsyncUnaryCall(call, request)); }