# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: audio.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='audio.proto',
  package='audio',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0b\x61udio.proto\x12\x05\x61udio\x1a\x19google/protobuf/any.proto\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Any\"f\n\x0c\x41udioRequest\x12\r\n\x05\x61udio\x18\x01 \x01(\x0c\x12+\n\x06status\x18\x02 \x01(\x0e\x32\x1b.audio.AudioStreamingStatus\x12\x1a\n\x12server_transcoding\x18\x03 \x01(\x08\"j\n\rAudioResponse\x12\x15\n\rtranscription\x18\x01 \x01(\t\x12\x15\n\rfull_document\x18\x02 \x01(\x0c\x12+\n\x06status\x18\x03 \x01(\x0e\x32\x1b.audio.AudioStreamingStatus*.\n\x14\x41udioStreamingStatus\x12\x0c\n\x08\x43ONTINUE\x10\x00\x12\x08\n\x04STOP\x10\x01\x32\xb3\x01\n\x17TranscriptionAPIService\x12\x46\n\x15TranscribeAudioStream\x12\x13.audio.AudioRequest\x1a\x14.audio.AudioResponse\"\x00(\x01\x12P\n\x1dTranscribeRealTimeAudioStream\x12\x13.audio.AudioRequest\x1a\x14.audio.AudioResponse\"\x00(\x01\x30\x01\x62\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,])

_AUDIOSTREAMINGSTATUS = _descriptor.EnumDescriptor(
  name='AudioStreamingStatus',
  full_name='audio.AudioStreamingStatus',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='CONTINUE', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='STOP', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=341,
  serialized_end=387,
)
_sym_db.RegisterEnumDescriptor(_AUDIOSTREAMINGSTATUS)

AudioStreamingStatus = enum_type_wrapper.EnumTypeWrapper(_AUDIOSTREAMINGSTATUS)
CONTINUE = 0
STOP = 1



_STATUS = _descriptor.Descriptor(
  name='Status',
  full_name='audio.Status',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='code', full_name='audio.Status.code', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='message', full_name='audio.Status.message', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='details', full_name='audio.Status.details', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=49,
  serialized_end=127,
)


_AUDIOREQUEST = _descriptor.Descriptor(
  name='AudioRequest',
  full_name='audio.AudioRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='audio', full_name='audio.AudioRequest.audio', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='status', full_name='audio.AudioRequest.status', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='server_transcoding', full_name='audio.AudioRequest.server_transcoding', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=129,
  serialized_end=231,
)


_AUDIORESPONSE = _descriptor.Descriptor(
  name='AudioResponse',
  full_name='audio.AudioResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='transcription', full_name='audio.AudioResponse.transcription', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='full_document', full_name='audio.AudioResponse.full_document', index=1,
      number=2, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=b"",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='status', full_name='audio.AudioResponse.status', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=233,
  serialized_end=339,
)

_STATUS.fields_by_name['details'].message_type = google_dot_protobuf_dot_any__pb2._ANY
_AUDIOREQUEST.fields_by_name['status'].enum_type = _AUDIOSTREAMINGSTATUS
_AUDIORESPONSE.fields_by_name['status'].enum_type = _AUDIOSTREAMINGSTATUS
DESCRIPTOR.message_types_by_name['Status'] = _STATUS
DESCRIPTOR.message_types_by_name['AudioRequest'] = _AUDIOREQUEST
DESCRIPTOR.message_types_by_name['AudioResponse'] = _AUDIORESPONSE
DESCRIPTOR.enum_types_by_name['AudioStreamingStatus'] = _AUDIOSTREAMINGSTATUS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Status = _reflection.GeneratedProtocolMessageType('Status', (_message.Message,), {
  'DESCRIPTOR' : _STATUS,
  '__module__' : 'audio_pb2'
  # @@protoc_insertion_point(class_scope:audio.Status)
  })
_sym_db.RegisterMessage(Status)

AudioRequest = _reflection.GeneratedProtocolMessageType('AudioRequest', (_message.Message,), {
  'DESCRIPTOR' : _AUDIOREQUEST,
  '__module__' : 'audio_pb2'
  # @@protoc_insertion_point(class_scope:audio.AudioRequest)
  })
_sym_db.RegisterMessage(AudioRequest)

AudioResponse = _reflection.GeneratedProtocolMessageType('AudioResponse', (_message.Message,), {
  'DESCRIPTOR' : _AUDIORESPONSE,
  '__module__' : 'audio_pb2'
  # @@protoc_insertion_point(class_scope:audio.AudioResponse)
  })
_sym_db.RegisterMessage(AudioResponse)



_TRANSCRIPTIONAPISERVICE = _descriptor.ServiceDescriptor(
  name='TranscriptionAPIService',
  full_name='audio.TranscriptionAPIService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=390,
  serialized_end=569,
  methods=[
  _descriptor.MethodDescriptor(
    name='TranscribeAudioStream',
    full_name='audio.TranscriptionAPIService.TranscribeAudioStream',
    index=0,
    containing_service=None,
    input_type=_AUDIOREQUEST,
    output_type=_AUDIORESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='TranscribeRealTimeAudioStream',
    full_name='audio.TranscriptionAPIService.TranscribeRealTimeAudioStream',
    index=1,
    containing_service=None,
    input_type=_AUDIOREQUEST,
    output_type=_AUDIORESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_TRANSCRIPTIONAPISERVICE)

DESCRIPTOR.services_by_name['TranscriptionAPIService'] = _TRANSCRIPTIONAPISERVICE

# @@protoc_insertion_point(module_scope)
