# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: speechly/sal/v1/compiler.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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='speechly/sal/v1/compiler.proto',
  package='speechly.sal.v1',
  syntax='proto3',
  serialized_options=b'\n\023com.speechly.sal.v1B\rCompilerProtoP\001Z\025speechly/sal/v1;salv1\242\002\003SSX\252\002\017Speechly.Sal.V1\312\002\017Speechly\\Sal\\V1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1espeechly/sal/v1/compiler.proto\x12\x0fspeechly.sal.v1\"\xd9\x01\n\tAppSource\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x12\n\ndata_chunk\x18\x03 \x01(\x0c\x12<\n\x0c\x63ontent_type\x18\x04 \x01(\x0e\x32&.speechly.sal.v1.AppSource.ContentType\"X\n\x0b\x43ontentType\x12\x1c\n\x18\x43ONTENT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x43ONTENT_TYPE_YAML\x10\x01\x12\x14\n\x10\x43ONTENT_TYPE_TAR\x10\x02\"i\n\x0e\x43ompileRequest\x12.\n\napp_source\x18\x01 \x01(\x0b\x32\x1a.speechly.sal.v1.AppSource\x12\x12\n\nbatch_size\x18\x02 \x01(\x05\x12\x13\n\x0brandom_seed\x18\x03 \x01(\x05\"\xd4\x01\n\rCompileResult\x12\x35\n\x06result\x18\x01 \x01(\x0e\x32%.speechly.sal.v1.CompileResult.Result\x12\x11\n\ttemplates\x18\x02 \x03(\t\x12\x30\n\x08messages\x18\x03 \x03(\x0b\x32\x1e.speechly.sal.v1.LineReference\"G\n\x06Result\x12\x13\n\x0f\x43OMPILE_SUCCESS\x10\x00\x12\x13\n\x0f\x43OMPILE_FAILURE\x10\x01\x12\x13\n\x0f\x43OMPILE_WARNING\x10\x02\"B\n\x0eValidateResult\x12\x30\n\x08messages\x18\x01 \x03(\x0b\x32\x1e.speechly.sal.v1.LineReference\"\xbe\x01\n\rLineReference\x12\x0c\n\x04line\x18\x01 \x01(\x04\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\r\x12\x0c\n\x04\x66ile\x18\x03 \x01(\t\x12\x33\n\x05level\x18\x04 \x01(\x0e\x32$.speechly.sal.v1.LineReference.Level\x12\x0f\n\x07message\x18\x05 \x01(\t\";\n\x05Level\x12\x0e\n\nLEVEL_NOTE\x10\x00\x12\x11\n\rLEVEL_WARNING\x10\x01\x12\x0f\n\x0bLEVEL_ERROR\x10\x02\"-\n\x17\x45xtractSALSourcesResult\x12\x12\n\ndata_chunk\x18\x01 \x01(\x0c\x32\x82\x02\n\x08\x43ompiler\x12L\n\x07\x43ompile\x12\x1f.speechly.sal.v1.CompileRequest\x1a\x1e.speechly.sal.v1.CompileResult(\x01\x12I\n\x08Validate\x12\x1a.speechly.sal.v1.AppSource\x1a\x1f.speechly.sal.v1.ValidateResult(\x01\x12]\n\x11\x45xtractSALSources\x12\x1a.speechly.sal.v1.AppSource\x1a(.speechly.sal.v1.ExtractSALSourcesResult(\x01\x30\x01\x42g\n\x13\x63om.speechly.sal.v1B\rCompilerProtoP\x01Z\x15speechly/sal/v1;salv1\xa2\x02\x03SSX\xaa\x02\x0fSpeechly.Sal.V1\xca\x02\x0fSpeechly\\Sal\\V1b\x06proto3'
)



_APPSOURCE_CONTENTTYPE = _descriptor.EnumDescriptor(
  name='ContentType',
  full_name='speechly.sal.v1.AppSource.ContentType',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='CONTENT_TYPE_UNSPECIFIED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CONTENT_TYPE_YAML', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CONTENT_TYPE_TAR', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=181,
  serialized_end=269,
)
_sym_db.RegisterEnumDescriptor(_APPSOURCE_CONTENTTYPE)

_COMPILERESULT_RESULT = _descriptor.EnumDescriptor(
  name='Result',
  full_name='speechly.sal.v1.CompileResult.Result',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='COMPILE_SUCCESS', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='COMPILE_FAILURE', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='COMPILE_WARNING', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=520,
  serialized_end=591,
)
_sym_db.RegisterEnumDescriptor(_COMPILERESULT_RESULT)

_LINEREFERENCE_LEVEL = _descriptor.EnumDescriptor(
  name='Level',
  full_name='speechly.sal.v1.LineReference.Level',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='LEVEL_NOTE', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LEVEL_WARNING', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LEVEL_ERROR', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=793,
  serialized_end=852,
)
_sym_db.RegisterEnumDescriptor(_LINEREFERENCE_LEVEL)


_APPSOURCE = _descriptor.Descriptor(
  name='AppSource',
  full_name='speechly.sal.v1.AppSource',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='app_id', full_name='speechly.sal.v1.AppSource.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='language', full_name='speechly.sal.v1.AppSource.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),
    _descriptor.FieldDescriptor(
      name='data_chunk', full_name='speechly.sal.v1.AppSource.data_chunk', 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='content_type', full_name='speechly.sal.v1.AppSource.content_type', index=3,
      number=4, 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=[
    _APPSOURCE_CONTENTTYPE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=52,
  serialized_end=269,
)


_COMPILEREQUEST = _descriptor.Descriptor(
  name='CompileRequest',
  full_name='speechly.sal.v1.CompileRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='app_source', full_name='speechly.sal.v1.CompileRequest.app_source', 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),
    _descriptor.FieldDescriptor(
      name='batch_size', full_name='speechly.sal.v1.CompileRequest.batch_size', index=1,
      number=2, 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='random_seed', full_name='speechly.sal.v1.CompileRequest.random_seed', index=2,
      number=3, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=271,
  serialized_end=376,
)


_COMPILERESULT = _descriptor.Descriptor(
  name='CompileResult',
  full_name='speechly.sal.v1.CompileResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='result', full_name='speechly.sal.v1.CompileResult.result', index=0,
      number=1, 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='templates', full_name='speechly.sal.v1.CompileResult.templates', index=1,
      number=2, type=9, cpp_type=9, 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),
    _descriptor.FieldDescriptor(
      name='messages', full_name='speechly.sal.v1.CompileResult.messages', 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=[
    _COMPILERESULT_RESULT,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=379,
  serialized_end=591,
)


_VALIDATERESULT = _descriptor.Descriptor(
  name='ValidateResult',
  full_name='speechly.sal.v1.ValidateResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='messages', full_name='speechly.sal.v1.ValidateResult.messages', 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=593,
  serialized_end=659,
)


_LINEREFERENCE = _descriptor.Descriptor(
  name='LineReference',
  full_name='speechly.sal.v1.LineReference',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='line', full_name='speechly.sal.v1.LineReference.line', index=0,
      number=1, type=4, cpp_type=4, 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='column', full_name='speechly.sal.v1.LineReference.column', index=1,
      number=2, type=13, cpp_type=3, 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='file', full_name='speechly.sal.v1.LineReference.file', index=2,
      number=3, 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='level', full_name='speechly.sal.v1.LineReference.level', index=3,
      number=4, 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='message', full_name='speechly.sal.v1.LineReference.message', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _LINEREFERENCE_LEVEL,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=662,
  serialized_end=852,
)


_EXTRACTSALSOURCESRESULT = _descriptor.Descriptor(
  name='ExtractSALSourcesResult',
  full_name='speechly.sal.v1.ExtractSALSourcesResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='data_chunk', full_name='speechly.sal.v1.ExtractSALSourcesResult.data_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=854,
  serialized_end=899,
)

_APPSOURCE.fields_by_name['content_type'].enum_type = _APPSOURCE_CONTENTTYPE
_APPSOURCE_CONTENTTYPE.containing_type = _APPSOURCE
_COMPILEREQUEST.fields_by_name['app_source'].message_type = _APPSOURCE
_COMPILERESULT.fields_by_name['result'].enum_type = _COMPILERESULT_RESULT
_COMPILERESULT.fields_by_name['messages'].message_type = _LINEREFERENCE
_COMPILERESULT_RESULT.containing_type = _COMPILERESULT
_VALIDATERESULT.fields_by_name['messages'].message_type = _LINEREFERENCE
_LINEREFERENCE.fields_by_name['level'].enum_type = _LINEREFERENCE_LEVEL
_LINEREFERENCE_LEVEL.containing_type = _LINEREFERENCE
DESCRIPTOR.message_types_by_name['AppSource'] = _APPSOURCE
DESCRIPTOR.message_types_by_name['CompileRequest'] = _COMPILEREQUEST
DESCRIPTOR.message_types_by_name['CompileResult'] = _COMPILERESULT
DESCRIPTOR.message_types_by_name['ValidateResult'] = _VALIDATERESULT
DESCRIPTOR.message_types_by_name['LineReference'] = _LINEREFERENCE
DESCRIPTOR.message_types_by_name['ExtractSALSourcesResult'] = _EXTRACTSALSOURCESRESULT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AppSource = _reflection.GeneratedProtocolMessageType('AppSource', (_message.Message,), {
  'DESCRIPTOR' : _APPSOURCE,
  '__module__' : 'speechly.sal.v1.compiler_pb2'
  # @@protoc_insertion_point(class_scope:speechly.sal.v1.AppSource)
  })
_sym_db.RegisterMessage(AppSource)

CompileRequest = _reflection.GeneratedProtocolMessageType('CompileRequest', (_message.Message,), {
  'DESCRIPTOR' : _COMPILEREQUEST,
  '__module__' : 'speechly.sal.v1.compiler_pb2'
  # @@protoc_insertion_point(class_scope:speechly.sal.v1.CompileRequest)
  })
_sym_db.RegisterMessage(CompileRequest)

CompileResult = _reflection.GeneratedProtocolMessageType('CompileResult', (_message.Message,), {
  'DESCRIPTOR' : _COMPILERESULT,
  '__module__' : 'speechly.sal.v1.compiler_pb2'
  # @@protoc_insertion_point(class_scope:speechly.sal.v1.CompileResult)
  })
_sym_db.RegisterMessage(CompileResult)

ValidateResult = _reflection.GeneratedProtocolMessageType('ValidateResult', (_message.Message,), {
  'DESCRIPTOR' : _VALIDATERESULT,
  '__module__' : 'speechly.sal.v1.compiler_pb2'
  # @@protoc_insertion_point(class_scope:speechly.sal.v1.ValidateResult)
  })
_sym_db.RegisterMessage(ValidateResult)

LineReference = _reflection.GeneratedProtocolMessageType('LineReference', (_message.Message,), {
  'DESCRIPTOR' : _LINEREFERENCE,
  '__module__' : 'speechly.sal.v1.compiler_pb2'
  # @@protoc_insertion_point(class_scope:speechly.sal.v1.LineReference)
  })
_sym_db.RegisterMessage(LineReference)

ExtractSALSourcesResult = _reflection.GeneratedProtocolMessageType('ExtractSALSourcesResult', (_message.Message,), {
  'DESCRIPTOR' : _EXTRACTSALSOURCESRESULT,
  '__module__' : 'speechly.sal.v1.compiler_pb2'
  # @@protoc_insertion_point(class_scope:speechly.sal.v1.ExtractSALSourcesResult)
  })
_sym_db.RegisterMessage(ExtractSALSourcesResult)


DESCRIPTOR._options = None

_COMPILER = _descriptor.ServiceDescriptor(
  name='Compiler',
  full_name='speechly.sal.v1.Compiler',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=902,
  serialized_end=1160,
  methods=[
  _descriptor.MethodDescriptor(
    name='Compile',
    full_name='speechly.sal.v1.Compiler.Compile',
    index=0,
    containing_service=None,
    input_type=_COMPILEREQUEST,
    output_type=_COMPILERESULT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='Validate',
    full_name='speechly.sal.v1.Compiler.Validate',
    index=1,
    containing_service=None,
    input_type=_APPSOURCE,
    output_type=_VALIDATERESULT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ExtractSALSources',
    full_name='speechly.sal.v1.Compiler.ExtractSALSources',
    index=2,
    containing_service=None,
    input_type=_APPSOURCE,
    output_type=_EXTRACTSALSOURCESRESULT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_COMPILER)

DESCRIPTOR.services_by_name['Compiler'] = _COMPILER

# @@protoc_insertion_point(module_scope)
