SpeechServiceBase constructor

SpeechServiceBase()

Implementation

SpeechServiceBase() {
  $addMethod($grpc.ServiceMethod<$2.RecognizeRequest, $2.RecognizeResponse>(
      'Recognize',
      recognize_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $2.RecognizeRequest.fromBuffer(value),
      ($2.RecognizeResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$2.LongRunningRecognizeRequest, $0.Operation>(
          'LongRunningRecognize',
          longRunningRecognize_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $2.LongRunningRecognizeRequest.fromBuffer(value),
          ($0.Operation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.StreamingRecognizeRequest,
          $2.StreamingRecognizeResponse>(
      'StreamingRecognize',
      streamingRecognize,
      true,
      true,
      ($core.List<$core.int> value) =>
          $2.StreamingRecognizeRequest.fromBuffer(value),
      ($2.StreamingRecognizeResponse value) => value.writeToBuffer()));
}