SpeechServiceBase constructor

SpeechServiceBase()

Implementation

SpeechServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.RecognizeRequest, $0.RecognizeResponse>(
      'Recognize',
      recognize_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.RecognizeRequest.fromBuffer(value),
      ($0.RecognizeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.StreamingRecognizeRequest,
          $0.StreamingIntentRecognizeResponse>(
      'StreamingIntentRecognize',
      streamingIntentRecognize,
      true,
      true,
      ($core.List<$core.int> value) =>
          $0.StreamingRecognizeRequest.fromBuffer(value),
      ($0.StreamingIntentRecognizeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.StreamingRecognizeRequest,
          $0.StreamingRecognizeResponse>(
      'StreamingRecognize',
      streamingRecognize,
      true,
      true,
      ($core.List<$core.int> value) =>
          $0.StreamingRecognizeRequest.fromBuffer(value),
      ($0.StreamingRecognizeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.TtsRequest, $0.TtsResponse>(
      'Text2SpeechHmmAiHoa',
      text2SpeechHmmAiHoa_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.TtsRequest.fromBuffer(value),
      ($0.TtsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.TtsRequest, $0.TtsResponse>(
      'Text2SpeechHmmMinhNguyet',
      text2SpeechHmmMinhNguyet_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.TtsRequest.fromBuffer(value),
      ($0.TtsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.TtsRequest, $0.TtsResponse>(
      'Text2SpeechConcatAiHoa',
      text2SpeechConcatAiHoa_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.TtsRequest.fromBuffer(value),
      ($0.TtsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.TtsRequest, $0.TtsResponse>(
      'Text2SpeechConcatMinhNguyet',
      text2SpeechConcatMinhNguyet_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.TtsRequest.fromBuffer(value),
      ($0.TtsResponse value) => value.writeToBuffer()));
}