public AsyncUnaryCall <global::Google.Pubsub.V1.Topic> GetTopicAsync(global::Google.Pubsub.V1.GetTopicRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { var call = CreateCall(__Method_GetTopic, new CallOptions(headers, deadline, cancellationToken)); return(Calls.AsyncUnaryCall(call, request)); }
public AsyncUnaryCall <global::Google.Pubsub.V1.Topic> GetTopicAsync(global::Google.Pubsub.V1.GetTopicRequest request, CallOptions options) { var call = CreateCall(__Method_GetTopic, options); return(Calls.AsyncUnaryCall(call, request)); }
public global::Google.Pubsub.V1.Topic GetTopic(global::Google.Pubsub.V1.GetTopicRequest request, CallOptions options) { var call = CreateCall(__Method_GetTopic, options); return(Calls.BlockingUnaryCall(call, request)); }