# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: speechly/slu/v1/batch_api.proto
"""Generated protocol buffer code."""
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 speechly.slu.v1 import batch_pb2 as speechly_dot_slu_dot_v1_dot_batch__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='speechly/slu/v1/batch_api.proto',
  package='speechly.slu.v1',
  syntax='proto3',
  serialized_options=b'\n\023com.speechly.slu.v1B\rBatchApiProtoP\001Z\025speechly/slu/v1;sluv1\242\002\003SSX\252\002\017Speechly.Slu.V1\312\002\017Speechly\\Slu\\V1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1fspeechly/slu/v1/batch_api.proto\x12\x0fspeechly.slu.v1\x1a\x1bspeechly/slu/v1/batch.proto\"\xe7\x01\n\x13ProcessAudioRequest\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\t\x12\x33\n\x06\x63onfig\x18\x02 \x01(\x0b\x32#.speechly.slu.v1.AudioConfiguration\x12\x0f\n\x05\x61udio\x18\x03 \x01(\x0cH\x00\x12\r\n\x03uri\x18\x04 \x01(\tH\x00\x12\x15\n\x0bresults_uri\x18\x05 \x01(\tH\x01\x12\x11\n\treference\x18\x06 \x01(\t\x12(\n\x07options\x18\x07 \x03(\x0b\x32\x17.speechly.slu.v1.OptionB\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"E\n\x14ProcessAudioResponse\x12-\n\toperation\x18\x01 \x01(\x0b\x32\x1a.speechly.slu.v1.Operation\"3\n\x12QueryStatusRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\treference\x18\x02 \x01(\t\"D\n\x13QueryStatusResponse\x12-\n\toperation\x18\x01 \x01(\x0b\x32\x1a.speechly.slu.v1.Operation2\xc3\x01\n\x08\x42\x61tchAPI\x12]\n\x0cProcessAudio\x12$.speechly.slu.v1.ProcessAudioRequest\x1a%.speechly.slu.v1.ProcessAudioResponse(\x01\x12X\n\x0bQueryStatus\x12#.speechly.slu.v1.QueryStatusRequest\x1a$.speechly.slu.v1.QueryStatusResponseBg\n\x13\x63om.speechly.slu.v1B\rBatchApiProtoP\x01Z\x15speechly/slu/v1;sluv1\xa2\x02\x03SSX\xaa\x02\x0fSpeechly.Slu.V1\xca\x02\x0fSpeechly\\Slu\\V1b\x06proto3'
  ,
  dependencies=[speechly_dot_slu_dot_v1_dot_batch__pb2.DESCRIPTOR,])




_PROCESSAUDIOREQUEST = _descriptor.Descriptor(
  name='ProcessAudioRequest',
  full_name='speechly.slu.v1.ProcessAudioRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='app_id', full_name='speechly.slu.v1.ProcessAudioRequest.app_id', 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='config', full_name='speechly.slu.v1.ProcessAudioRequest.config', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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='audio', full_name='speechly.slu.v1.ProcessAudioRequest.audio', index=2,
      number=3, 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='uri', full_name='speechly.slu.v1.ProcessAudioRequest.uri', index=3,
      number=4, 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='results_uri', full_name='speechly.slu.v1.ProcessAudioRequest.results_uri', index=4,
      number=5, 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='reference', full_name='speechly.slu.v1.ProcessAudioRequest.reference', index=5,
      number=6, 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='options', full_name='speechly.slu.v1.ProcessAudioRequest.options', index=6,
      number=7, 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=[
    _descriptor.OneofDescriptor(
      name='source', full_name='speechly.slu.v1.ProcessAudioRequest.source',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
    _descriptor.OneofDescriptor(
      name='destination', full_name='speechly.slu.v1.ProcessAudioRequest.destination',
      index=1, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=82,
  serialized_end=313,
)


_PROCESSAUDIORESPONSE = _descriptor.Descriptor(
  name='ProcessAudioResponse',
  full_name='speechly.slu.v1.ProcessAudioResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='operation', full_name='speechly.slu.v1.ProcessAudioResponse.operation', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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=315,
  serialized_end=384,
)


_QUERYSTATUSREQUEST = _descriptor.Descriptor(
  name='QueryStatusRequest',
  full_name='speechly.slu.v1.QueryStatusRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='speechly.slu.v1.QueryStatusRequest.id', 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='reference', full_name='speechly.slu.v1.QueryStatusRequest.reference', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=386,
  serialized_end=437,
)


_QUERYSTATUSRESPONSE = _descriptor.Descriptor(
  name='QueryStatusResponse',
  full_name='speechly.slu.v1.QueryStatusResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='operation', full_name='speechly.slu.v1.QueryStatusResponse.operation', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      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=439,
  serialized_end=507,
)

_PROCESSAUDIOREQUEST.fields_by_name['config'].message_type = speechly_dot_slu_dot_v1_dot_batch__pb2._AUDIOCONFIGURATION
_PROCESSAUDIOREQUEST.fields_by_name['options'].message_type = speechly_dot_slu_dot_v1_dot_batch__pb2._OPTION
_PROCESSAUDIOREQUEST.oneofs_by_name['source'].fields.append(
  _PROCESSAUDIOREQUEST.fields_by_name['audio'])
_PROCESSAUDIOREQUEST.fields_by_name['audio'].containing_oneof = _PROCESSAUDIOREQUEST.oneofs_by_name['source']
_PROCESSAUDIOREQUEST.oneofs_by_name['source'].fields.append(
  _PROCESSAUDIOREQUEST.fields_by_name['uri'])
_PROCESSAUDIOREQUEST.fields_by_name['uri'].containing_oneof = _PROCESSAUDIOREQUEST.oneofs_by_name['source']
_PROCESSAUDIOREQUEST.oneofs_by_name['destination'].fields.append(
  _PROCESSAUDIOREQUEST.fields_by_name['results_uri'])
_PROCESSAUDIOREQUEST.fields_by_name['results_uri'].containing_oneof = _PROCESSAUDIOREQUEST.oneofs_by_name['destination']
_PROCESSAUDIORESPONSE.fields_by_name['operation'].message_type = speechly_dot_slu_dot_v1_dot_batch__pb2._OPERATION
_QUERYSTATUSRESPONSE.fields_by_name['operation'].message_type = speechly_dot_slu_dot_v1_dot_batch__pb2._OPERATION
DESCRIPTOR.message_types_by_name['ProcessAudioRequest'] = _PROCESSAUDIOREQUEST
DESCRIPTOR.message_types_by_name['ProcessAudioResponse'] = _PROCESSAUDIORESPONSE
DESCRIPTOR.message_types_by_name['QueryStatusRequest'] = _QUERYSTATUSREQUEST
DESCRIPTOR.message_types_by_name['QueryStatusResponse'] = _QUERYSTATUSRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ProcessAudioRequest = _reflection.GeneratedProtocolMessageType('ProcessAudioRequest', (_message.Message,), {
  'DESCRIPTOR' : _PROCESSAUDIOREQUEST,
  '__module__' : 'speechly.slu.v1.batch_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.slu.v1.ProcessAudioRequest)
  })
_sym_db.RegisterMessage(ProcessAudioRequest)

ProcessAudioResponse = _reflection.GeneratedProtocolMessageType('ProcessAudioResponse', (_message.Message,), {
  'DESCRIPTOR' : _PROCESSAUDIORESPONSE,
  '__module__' : 'speechly.slu.v1.batch_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.slu.v1.ProcessAudioResponse)
  })
_sym_db.RegisterMessage(ProcessAudioResponse)

QueryStatusRequest = _reflection.GeneratedProtocolMessageType('QueryStatusRequest', (_message.Message,), {
  'DESCRIPTOR' : _QUERYSTATUSREQUEST,
  '__module__' : 'speechly.slu.v1.batch_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.slu.v1.QueryStatusRequest)
  })
_sym_db.RegisterMessage(QueryStatusRequest)

QueryStatusResponse = _reflection.GeneratedProtocolMessageType('QueryStatusResponse', (_message.Message,), {
  'DESCRIPTOR' : _QUERYSTATUSRESPONSE,
  '__module__' : 'speechly.slu.v1.batch_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.slu.v1.QueryStatusResponse)
  })
_sym_db.RegisterMessage(QueryStatusResponse)


DESCRIPTOR._options = None

_BATCHAPI = _descriptor.ServiceDescriptor(
  name='BatchAPI',
  full_name='speechly.slu.v1.BatchAPI',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=510,
  serialized_end=705,
  methods=[
  _descriptor.MethodDescriptor(
    name='ProcessAudio',
    full_name='speechly.slu.v1.BatchAPI.ProcessAudio',
    index=0,
    containing_service=None,
    input_type=_PROCESSAUDIOREQUEST,
    output_type=_PROCESSAUDIORESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='QueryStatus',
    full_name='speechly.slu.v1.BatchAPI.QueryStatus',
    index=1,
    containing_service=None,
    input_type=_QUERYSTATUSREQUEST,
    output_type=_QUERYSTATUSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_BATCHAPI)

DESCRIPTOR.services_by_name['BatchAPI'] = _BATCHAPI

# @@protoc_insertion_point(module_scope)
