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

                return(Calls.AsyncUnaryCall(call, request));
            }
Example #2
0
            public AsyncUnaryCall <global::Google.Pubsub.V1.Subscription> CreateSubscriptionAsync(global::Google.Pubsub.V1.Subscription request, CallOptions options)
            {
                var call = CreateCall(__Method_CreateSubscription, options);

                return(Calls.AsyncUnaryCall(call, request));
            }
Example #3
0
            public global::Google.Pubsub.V1.Subscription CreateSubscription(global::Google.Pubsub.V1.Subscription request, CallOptions options)
            {
                var call = CreateCall(__Method_CreateSubscription, options);

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