# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: speechly/config/v1/model_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.config.v1 import model_pb2 as speechly_dot_config_dot_v1_dot_model__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='speechly/config/v1/model_api.proto',
  package='speechly.config.v1',
  syntax='proto3',
  serialized_options=b'\n\026com.speechly.config.v1B\rModelApiProtoP\001Z\033speechly/config/v1;configv1\242\002\003SCX\252\002\022Speechly.Config.V1\312\002\022Speechly\\Config\\V1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\"speechly/config/v1/model_api.proto\x12\x12speechly.config.v1\x1a\x1espeechly/config/v1/model.proto\"\xa1\x02\n\x14\x44ownloadModelRequest\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\t\x12\x11\n\tconfig_id\x18\x02 \x01(\t\x12V\n\x12model_architecture\x18\x03 \x01(\x0e\x32:.speechly.config.v1.DownloadModelRequest.ModelArchitecture\"\x8d\x01\n\x11ModelArchitecture\x12\x1e\n\x1aMODEL_ARCHITECTURE_INVALID\x10\x00\x12\x1a\n\x16MODEL_ARCHITECTURE_ORT\x10\x01\x12\x1d\n\x19MODEL_ARCHITECTURE_COREML\x10\x02\x12\x1d\n\x19MODEL_ARCHITECTURE_TFLITE\x10\x03\"&\n\x15\x44ownloadModelResponse\x12\r\n\x05\x63hunk\x18\x01 \x01(\x0c\"=\n\x15ListBaseModelsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\"F\n\x16ListBaseModelsResponse\x12,\n\x05model\x18\x01 \x03(\x0b\x32\x1d.speechly.config.v1.BaseModel\"\x16\n\x14ListLanguagesRequest\"\x86\x01\n\x15ListLanguagesResponse\x12\x45\n\tlanguages\x18\x01 \x03(\x0b\x32\x32.speechly.config.v1.ListLanguagesResponse.Language\x1a&\n\x08Language\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t2\xc1\x02\n\x08ModelAPI\x12\x66\n\rDownloadModel\x12(.speechly.config.v1.DownloadModelRequest\x1a).speechly.config.v1.DownloadModelResponse0\x01\x12g\n\x0eListBaseModels\x12).speechly.config.v1.ListBaseModelsRequest\x1a*.speechly.config.v1.ListBaseModelsResponse\x12\x64\n\rListLanguages\x12(.speechly.config.v1.ListLanguagesRequest\x1a).speechly.config.v1.ListLanguagesResponseBv\n\x16\x63om.speechly.config.v1B\rModelApiProtoP\x01Z\x1bspeechly/config/v1;configv1\xa2\x02\x03SCX\xaa\x02\x12Speechly.Config.V1\xca\x02\x12Speechly\\Config\\V1b\x06proto3'
  ,
  dependencies=[speechly_dot_config_dot_v1_dot_model__pb2.DESCRIPTOR,])



_DOWNLOADMODELREQUEST_MODELARCHITECTURE = _descriptor.EnumDescriptor(
  name='ModelArchitecture',
  full_name='speechly.config.v1.DownloadModelRequest.ModelArchitecture',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='MODEL_ARCHITECTURE_INVALID', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='MODEL_ARCHITECTURE_ORT', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='MODEL_ARCHITECTURE_COREML', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='MODEL_ARCHITECTURE_TFLITE', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=239,
  serialized_end=380,
)
_sym_db.RegisterEnumDescriptor(_DOWNLOADMODELREQUEST_MODELARCHITECTURE)


_DOWNLOADMODELREQUEST = _descriptor.Descriptor(
  name='DownloadModelRequest',
  full_name='speechly.config.v1.DownloadModelRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='app_id', full_name='speechly.config.v1.DownloadModelRequest.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_id', full_name='speechly.config.v1.DownloadModelRequest.config_id', 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='model_architecture', full_name='speechly.config.v1.DownloadModelRequest.model_architecture', 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=[
    _DOWNLOADMODELREQUEST_MODELARCHITECTURE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=91,
  serialized_end=380,
)


_DOWNLOADMODELRESPONSE = _descriptor.Descriptor(
  name='DownloadModelResponse',
  full_name='speechly.config.v1.DownloadModelResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='chunk', full_name='speechly.config.v1.DownloadModelResponse.chunk', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=382,
  serialized_end=420,
)


_LISTBASEMODELSREQUEST = _descriptor.Descriptor(
  name='ListBaseModelsRequest',
  full_name='speechly.config.v1.ListBaseModelsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='project_id', full_name='speechly.config.v1.ListBaseModelsRequest.project_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='language', full_name='speechly.config.v1.ListBaseModelsRequest.language', 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=422,
  serialized_end=483,
)


_LISTBASEMODELSRESPONSE = _descriptor.Descriptor(
  name='ListBaseModelsResponse',
  full_name='speechly.config.v1.ListBaseModelsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='model', full_name='speechly.config.v1.ListBaseModelsResponse.model', index=0,
      number=1, 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=485,
  serialized_end=555,
)


_LISTLANGUAGESREQUEST = _descriptor.Descriptor(
  name='ListLanguagesRequest',
  full_name='speechly.config.v1.ListLanguagesRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=557,
  serialized_end=579,
)


_LISTLANGUAGESRESPONSE_LANGUAGE = _descriptor.Descriptor(
  name='Language',
  full_name='speechly.config.v1.ListLanguagesResponse.Language',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='code', full_name='speechly.config.v1.ListLanguagesResponse.Language.code', 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='name', full_name='speechly.config.v1.ListLanguagesResponse.Language.name', 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=678,
  serialized_end=716,
)

_LISTLANGUAGESRESPONSE = _descriptor.Descriptor(
  name='ListLanguagesResponse',
  full_name='speechly.config.v1.ListLanguagesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='languages', full_name='speechly.config.v1.ListLanguagesResponse.languages', index=0,
      number=1, 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=[_LISTLANGUAGESRESPONSE_LANGUAGE, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=582,
  serialized_end=716,
)

_DOWNLOADMODELREQUEST.fields_by_name['model_architecture'].enum_type = _DOWNLOADMODELREQUEST_MODELARCHITECTURE
_DOWNLOADMODELREQUEST_MODELARCHITECTURE.containing_type = _DOWNLOADMODELREQUEST
_LISTBASEMODELSRESPONSE.fields_by_name['model'].message_type = speechly_dot_config_dot_v1_dot_model__pb2._BASEMODEL
_LISTLANGUAGESRESPONSE_LANGUAGE.containing_type = _LISTLANGUAGESRESPONSE
_LISTLANGUAGESRESPONSE.fields_by_name['languages'].message_type = _LISTLANGUAGESRESPONSE_LANGUAGE
DESCRIPTOR.message_types_by_name['DownloadModelRequest'] = _DOWNLOADMODELREQUEST
DESCRIPTOR.message_types_by_name['DownloadModelResponse'] = _DOWNLOADMODELRESPONSE
DESCRIPTOR.message_types_by_name['ListBaseModelsRequest'] = _LISTBASEMODELSREQUEST
DESCRIPTOR.message_types_by_name['ListBaseModelsResponse'] = _LISTBASEMODELSRESPONSE
DESCRIPTOR.message_types_by_name['ListLanguagesRequest'] = _LISTLANGUAGESREQUEST
DESCRIPTOR.message_types_by_name['ListLanguagesResponse'] = _LISTLANGUAGESRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DownloadModelRequest = _reflection.GeneratedProtocolMessageType('DownloadModelRequest', (_message.Message,), {
  'DESCRIPTOR' : _DOWNLOADMODELREQUEST,
  '__module__' : 'speechly.config.v1.model_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.config.v1.DownloadModelRequest)
  })
_sym_db.RegisterMessage(DownloadModelRequest)

DownloadModelResponse = _reflection.GeneratedProtocolMessageType('DownloadModelResponse', (_message.Message,), {
  'DESCRIPTOR' : _DOWNLOADMODELRESPONSE,
  '__module__' : 'speechly.config.v1.model_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.config.v1.DownloadModelResponse)
  })
_sym_db.RegisterMessage(DownloadModelResponse)

ListBaseModelsRequest = _reflection.GeneratedProtocolMessageType('ListBaseModelsRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTBASEMODELSREQUEST,
  '__module__' : 'speechly.config.v1.model_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.config.v1.ListBaseModelsRequest)
  })
_sym_db.RegisterMessage(ListBaseModelsRequest)

ListBaseModelsResponse = _reflection.GeneratedProtocolMessageType('ListBaseModelsResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTBASEMODELSRESPONSE,
  '__module__' : 'speechly.config.v1.model_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.config.v1.ListBaseModelsResponse)
  })
_sym_db.RegisterMessage(ListBaseModelsResponse)

ListLanguagesRequest = _reflection.GeneratedProtocolMessageType('ListLanguagesRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTLANGUAGESREQUEST,
  '__module__' : 'speechly.config.v1.model_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.config.v1.ListLanguagesRequest)
  })
_sym_db.RegisterMessage(ListLanguagesRequest)

ListLanguagesResponse = _reflection.GeneratedProtocolMessageType('ListLanguagesResponse', (_message.Message,), {

  'Language' : _reflection.GeneratedProtocolMessageType('Language', (_message.Message,), {
    'DESCRIPTOR' : _LISTLANGUAGESRESPONSE_LANGUAGE,
    '__module__' : 'speechly.config.v1.model_api_pb2'
    # @@protoc_insertion_point(class_scope:speechly.config.v1.ListLanguagesResponse.Language)
    })
  ,
  'DESCRIPTOR' : _LISTLANGUAGESRESPONSE,
  '__module__' : 'speechly.config.v1.model_api_pb2'
  # @@protoc_insertion_point(class_scope:speechly.config.v1.ListLanguagesResponse)
  })
_sym_db.RegisterMessage(ListLanguagesResponse)
_sym_db.RegisterMessage(ListLanguagesResponse.Language)


DESCRIPTOR._options = None

_MODELAPI = _descriptor.ServiceDescriptor(
  name='ModelAPI',
  full_name='speechly.config.v1.ModelAPI',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=719,
  serialized_end=1040,
  methods=[
  _descriptor.MethodDescriptor(
    name='DownloadModel',
    full_name='speechly.config.v1.ModelAPI.DownloadModel',
    index=0,
    containing_service=None,
    input_type=_DOWNLOADMODELREQUEST,
    output_type=_DOWNLOADMODELRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ListBaseModels',
    full_name='speechly.config.v1.ModelAPI.ListBaseModels',
    index=1,
    containing_service=None,
    input_type=_LISTBASEMODELSREQUEST,
    output_type=_LISTBASEMODELSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ListLanguages',
    full_name='speechly.config.v1.ModelAPI.ListLanguages',
    index=2,
    containing_service=None,
    input_type=_LISTLANGUAGESREQUEST,
    output_type=_LISTLANGUAGESRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_MODELAPI)

DESCRIPTOR.services_by_name['ModelAPI'] = _MODELAPI

# @@protoc_insertion_point(module_scope)
