Exemplo n.º 1
0
 /// <summary>
 ///  Perform non-streaming speech-recognition: receive results after all audio
 ///  has been sent and processed.
 /// </summary>
 public virtual global::System.Threading.Tasks.Task <global::Google.Cloud.Speech.V1.NonStreamingRecognizeResponse> NonStreamingRecognize(global::Google.Cloud.Speech.V1.RecognizeRequest request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
Exemplo n.º 2
0
 /// <summary>
 ///  Perform non-streaming speech-recognition: receive results after all audio
 ///  has been sent and processed.
 /// </summary>
 public virtual AsyncUnaryCall <global::Google.Cloud.Speech.V1.NonStreamingRecognizeResponse> NonStreamingRecognizeAsync(global::Google.Cloud.Speech.V1.RecognizeRequest request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_NonStreamingRecognize, null, options, request));
 }
Exemplo n.º 3
0
 /// <summary>
 ///  Perform non-streaming speech-recognition: receive results after all audio
 ///  has been sent and processed.
 /// </summary>
 public virtual AsyncUnaryCall <global::Google.Cloud.Speech.V1.NonStreamingRecognizeResponse> NonStreamingRecognizeAsync(global::Google.Cloud.Speech.V1.RecognizeRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(NonStreamingRecognizeAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Performs synchronous speech recognition: receive results after all audio
 /// has been sent and processed.
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="options">The options for the call.</param>
 /// <returns>The call object.</returns>
 public virtual grpc::AsyncUnaryCall <global::Google.Cloud.Speech.V1.RecognizeResponse> RecognizeAsync(global::Google.Cloud.Speech.V1.RecognizeRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Recognize, null, options, request));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Performs synchronous speech recognition: receive results after all audio
 /// has been sent and processed.
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
 /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
 /// <param name="cancellationToken">An optional token for canceling the call.</param>
 /// <returns>The response received from the server.</returns>
 public virtual global::Google.Cloud.Speech.V1.RecognizeResponse Recognize(global::Google.Cloud.Speech.V1.RecognizeRequest request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Recognize(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Performs synchronous speech recognition: receive results after all audio
 /// has been sent and processed.
 /// </summary>
 /// <param name="request">The request to send to the server.</param>
 /// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
 /// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param>
 /// <param name="cancellationToken">An optional token for canceling the call.</param>
 /// <returns>The call object.</returns>
 public virtual grpc::AsyncUnaryCall <global::Google.Cloud.Speech.V1.RecognizeResponse> RecognizeAsync(global::Google.Cloud.Speech.V1.RecognizeRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(RecognizeAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }