示例#1
0
            public AsyncUnaryCall <global::Google.Pubsub.V1.Subscription> GetSubscriptionAsync(global::Google.Pubsub.V1.GetSubscriptionRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
            {
                var call = CreateCall(__Method_GetSubscription, new CallOptions(headers, deadline, cancellationToken));

                return(Calls.AsyncUnaryCall(call, request));
            }
示例#2
0
            public AsyncUnaryCall <global::Google.Pubsub.V1.Subscription> GetSubscriptionAsync(global::Google.Pubsub.V1.GetSubscriptionRequest request, CallOptions options)
            {
                var call = CreateCall(__Method_GetSubscription, options);

                return(Calls.AsyncUnaryCall(call, request));
            }
示例#3
0
            public global::Google.Pubsub.V1.Subscription GetSubscription(global::Google.Pubsub.V1.GetSubscriptionRequest request, CallOptions options)
            {
                var call = CreateCall(__Method_GetSubscription, options);

                return(Calls.BlockingUnaryCall(call, request));
            }