Ejemplo n.º 1
0
 /// <summary>
 /// Performs asynchronous speech recognition: receive results via the
 /// google.longrunning.Operations interface. Returns either an
 /// `Operation.error` or an `Operation.response` which contains
 /// a `LongRunningRecognizeResponse` message.
 /// For more information on asynchronous speech recognition, see the
 /// [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata> > LongRunningRecognizeAsync(LongRunningRecognizeRequest request, st::CancellationToken cancellationToken) =>
 LongRunningRecognizeAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
Ejemplo n.º 2
0
 partial void Modify_LongRunningRecognizeRequest(ref LongRunningRecognizeRequest request, ref gaxgrpc::CallSettings settings);
Ejemplo n.º 3
0
 /// <summary>
 /// Performs asynchronous speech recognition: receive results via the
 /// google.longrunning.Operations interface. Returns either an
 /// `Operation.error` or an `Operation.response` which contains
 /// a `LongRunningRecognizeResponse` message.
 /// For more information on asynchronous speech recognition, see the
 /// [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public virtual stt::Task <lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata> > LongRunningRecognizeAsync(LongRunningRecognizeRequest request, gaxgrpc::CallSettings callSettings = null) =>
 throw new sys::NotImplementedException();
Ejemplo n.º 4
0
 /// <summary>
 /// Performs asynchronous speech recognition: receive results via the
 /// google.longrunning.Operations interface. Returns either an
 /// `Operation.error` or an `Operation.response` which contains
 /// a `LongRunningRecognizeResponse` message.
 /// For more information on asynchronous speech recognition, see the
 /// [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override async stt::Task <lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata> > LongRunningRecognizeAsync(LongRunningRecognizeRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_LongRunningRecognizeRequest(ref request, ref callSettings);
     return(new lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata>(await _callLongRunningRecognize.Async(request, callSettings).ConfigureAwait(false), LongRunningRecognizeOperationsClient));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Performs asynchronous speech recognition: receive results via the
 /// google.longrunning.Operations interface. Returns either an
 /// `Operation.error` or an `Operation.response` which contains
 /// a `LongRunningRecognizeResponse` message.
 /// For more information on asynchronous speech recognition, see the
 /// [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>The RPC response.</returns>
 public override lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata> LongRunningRecognize(LongRunningRecognizeRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_LongRunningRecognizeRequest(ref request, ref callSettings);
     return(new lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata>(_callLongRunningRecognize.Sync(request, callSettings), LongRunningRecognizeOperationsClient));
 }
 /// <summary>
 /// Performs asynchronous speech recognition: receive results via the
 /// google.longrunning.Operations interface. Returns either an
 /// `Operation.error` or an `Operation.response` which contains
 /// a `LongRunningRecognizeResponse` message.
 /// </summary>
 /// <param name="request">
 /// The request object containing all of the parameters for the API call.
 /// </param>
 /// <param name="callSettings">
 /// If not null, applies overrides to this RPC call.
 /// </param>
 /// <returns>
 /// The RPC response.
 /// </returns>
 public virtual Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata> LongRunningRecognize(
     LongRunningRecognizeRequest request,
     CallSettings callSettings = null)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Performs asynchronous speech recognition: receive results via the
 /// google.longrunning.Operations interface. Returns either an
 /// `Operation.error` or an `Operation.response` which contains
 /// a `LongRunningRecognizeResponse` message.
 /// </summary>
 /// <param name="request">
 /// The request object containing all of the parameters for the API call.
 /// </param>
 /// <param name="callSettings">
 /// If not null, applies overrides to this RPC call.
 /// </param>
 /// <returns>
 /// A Task containing the RPC response.
 /// </returns>
 public virtual Task <Operation <LongRunningRecognizeResponse> > LongRunningRecognizeAsync(
     LongRunningRecognizeRequest request,
     CallSettings callSettings = null)
 {
     throw new NotImplementedException();
 }