# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: asr.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tasr.proto\x12\x06\x61sr.v1\"\x90\x01\n\x07Request\x12\x35\n\rdecode_config\x18\x01 \x01(\x0b\x32\x1c.asr.v1.Request.DecodeConfigH\x00\x12\x14\n\naudio_data\x18\x02 \x01(\x0cH\x00\x1a-\n\x0c\x44\x65\x63odeConfig\x12\x0e\n\x06req_id\x18\x01 \x01(\t\x12\r\n\x05nbest\x18\x02 \x01(\x05\x42\t\n\x07payload\"A\n\x07OneBest\x12\x10\n\x08sentence\x18\x01 \x01(\t\x12$\n\nwordpieces\x18\x02 \x03(\x0b\x32\x10.asr.v1.OnePiece\"4\n\x08OnePiece\x12\x0c\n\x04word\x18\x01 \x01(\t\x12\r\n\x05start\x18\x02 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x03 \x01(\x05\"\xf3\x02\n\x08Response\x12\'\n\x06header\x18\x01 \x01(\x0b\x32\x17.asr.v1.Response.Header\x12)\n\x07payload\x18\x02 \x01(\x0b\x32\x18.asr.v1.Response.Payload\x1aV\n\x06Header\x12\'\n\x06status\x18\x01 \x01(\x0e\x32\x17.asr.v1.Response.Status\x12#\n\x04type\x18\x02 \x01(\x0e\x32\x15.asr.v1.Response.Type\x1a\x38\n\x07Payload\x12\x1f\n\x06result\x18\x01 \x03(\x0b\x32\x0f.asr.v1.OneBest\x12\x0c\n\x04text\x18\x02 \x01(\t\"0\n\x06Status\x12\x12\n\x0eUNKNOWN_STATUS\x10\x00\x12\x06\n\x02OK\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"O\n\x04Type\x12\x10\n\x0cUNKNOWN_TYPE\x10\x00\x12\x14\n\x10SENTENCE_CHANGED\x10\x01\x12\x10\n\x0cSENTENCE_END\x10\x02\x12\r\n\tCOMPLETED\x10\x03\x32\x94\x01\n\x03\x41SR\x12G\n\x1cOneSentenceSpeechRecognition\x12\x0f.asr.v1.Request\x1a\x10.asr.v1.Response\"\x00(\x01\x30\x01\x12\x44\n\x19RealTimeSpeechRecognition\x12\x0f.asr.v1.Request\x1a\x10.asr.v1.Response\"\x00(\x01\x30\x01\x42\x1f\n\x1d\x63om.mthreads.ai.protos.asr.v1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'asr_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\035com.mthreads.ai.protos.asr.v1'
  _globals['_REQUEST']._serialized_start=22
  _globals['_REQUEST']._serialized_end=166
  _globals['_REQUEST_DECODECONFIG']._serialized_start=110
  _globals['_REQUEST_DECODECONFIG']._serialized_end=155
  _globals['_ONEBEST']._serialized_start=168
  _globals['_ONEBEST']._serialized_end=233
  _globals['_ONEPIECE']._serialized_start=235
  _globals['_ONEPIECE']._serialized_end=287
  _globals['_RESPONSE']._serialized_start=290
  _globals['_RESPONSE']._serialized_end=661
  _globals['_RESPONSE_HEADER']._serialized_start=386
  _globals['_RESPONSE_HEADER']._serialized_end=472
  _globals['_RESPONSE_PAYLOAD']._serialized_start=474
  _globals['_RESPONSE_PAYLOAD']._serialized_end=530
  _globals['_RESPONSE_STATUS']._serialized_start=532
  _globals['_RESPONSE_STATUS']._serialized_end=580
  _globals['_RESPONSE_TYPE']._serialized_start=582
  _globals['_RESPONSE_TYPE']._serialized_end=661
  _globals['_ASR']._serialized_start=664
  _globals['_ASR']._serialized_end=812
# @@protoc_insertion_point(module_scope)
