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


import owocr.py_lens.lens_overlay_text_pb2 as lens__overlay__text__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"lens_overlay_deep_gleam_data.proto\x12\x04lens\x1a\x17lens_overlay_text.proto\"\xa6\x01\n\rDeepGleamData\x12,\n\x0btranslation\x18\n \x01(\x0b\x32\x15.lens.TranslationDataH\x00\x12\x18\n\x10visual_object_id\x18\x0b \x03(\tB\x11\n\x0frendering_oneofJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\x0c\x10\r\"\xe7\t\n\x0fTranslationData\x12,\n\x06status\x18\x01 \x01(\x0b\x32\x1c.lens.TranslationData.Status\x12\x17\n\x0ftarget_language\x18\x02 \x01(\t\x12\x17\n\x0fsource_language\x18\x03 \x01(\t\x12\x13\n\x0btranslation\x18\x04 \x01(\t\x12(\n\x04line\x18\x05 \x03(\x0b\x32\x1a.lens.TranslationData.Line\x12\x31\n\x11writing_direction\x18\x07 \x01(\x0e\x32\x16.lens.WritingDirection\x12\"\n\talignment\x18\x08 \x01(\x0e\x32\x0f.lens.Alignment\x12\x11\n\tjustified\x18\t \x01(\x08\x1a\x97\x02\n\x06Status\x12/\n\x04\x63ode\x18\x01 \x01(\x0e\x32!.lens.TranslationData.Status.Code\"\xdb\x01\n\x04\x43ode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x10\n\x0cSERVER_ERROR\x10\x02\x12\x1d\n\x19UNSUPPORTED_LANGUAGE_PAIR\x10\x03\x12\x11\n\rSAME_LANGUAGE\x10\x04\x12\x1b\n\x17UNKNOWN_SOURCE_LANGUAGE\x10\x05\x12\x13\n\x0fINVALID_REQUEST\x10\x06\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x07\x12\x15\n\x11\x45MPTY_TRANSLATION\x10\x08\x12\x15\n\x11NO_OP_TRANSLATION\x10\t\x1aM\n\tTextStyle\x12\x12\n\ntext_color\x18\x01 \x01(\r\x12 \n\x18\x62\x61\x63kground_primary_color\x18\x02 \x01(\rJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\x1a\xd1\x02\n\x13\x42\x61\x63kgroundImageData\x12\x18\n\x10\x62\x61\x63kground_image\x18\x01 \x01(\x0c\x12\x13\n\x0bimage_width\x18\x02 \x01(\x05\x12\x14\n\x0cimage_height\x18\x03 \x01(\x05\x12\x18\n\x10vertical_padding\x18\x04 \x01(\x02\x12\x1a\n\x12horizontal_padding\x18\x05 \x01(\x02\x12I\n\x0b\x66ile_format\x18\x06 \x01(\x0e\x32\x34.lens.TranslationData.BackgroundImageData.FileFormat\x12\x11\n\ttext_mask\x18\x07 \x01(\x0c\"a\n\nFileFormat\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x12\n\x0eRAW_BYTES_RGBA\x10\x01\x12\x0c\n\x08PNG_RGBA\x10\x02\x12\r\n\tWEBP_RGBA\x10\x03\x12\x15\n\x11JPEG_RGB_PNG_MASK\x10\x04\x1a\x87\x02\n\x04Line\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12.\n\x05style\x18\x03 \x01(\x0b\x32\x1f.lens.TranslationData.TextStyle\x12-\n\x04word\x18\x05 \x03(\x0b\x32\x1f.lens.TranslationData.Line.Word\x12H\n\x15\x62\x61\x63kground_image_data\x18\t \x01(\x0b\x32).lens.TranslationData.BackgroundImageData\x1a\"\n\x04Word\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05J\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\x06\x10\x07\x42\x02H\x03\x62\x06proto3')



_DEEPGLEAMDATA = DESCRIPTOR.message_types_by_name['DeepGleamData']
_TRANSLATIONDATA = DESCRIPTOR.message_types_by_name['TranslationData']
_TRANSLATIONDATA_STATUS = _TRANSLATIONDATA.nested_types_by_name['Status']
_TRANSLATIONDATA_TEXTSTYLE = _TRANSLATIONDATA.nested_types_by_name['TextStyle']
_TRANSLATIONDATA_BACKGROUNDIMAGEDATA = _TRANSLATIONDATA.nested_types_by_name['BackgroundImageData']
_TRANSLATIONDATA_LINE = _TRANSLATIONDATA.nested_types_by_name['Line']
_TRANSLATIONDATA_LINE_WORD = _TRANSLATIONDATA_LINE.nested_types_by_name['Word']
_TRANSLATIONDATA_STATUS_CODE = _TRANSLATIONDATA_STATUS.enum_types_by_name['Code']
_TRANSLATIONDATA_BACKGROUNDIMAGEDATA_FILEFORMAT = _TRANSLATIONDATA_BACKGROUNDIMAGEDATA.enum_types_by_name['FileFormat']
DeepGleamData = _reflection.GeneratedProtocolMessageType('DeepGleamData', (_message.Message,), {
  'DESCRIPTOR' : _DEEPGLEAMDATA,
  '__module__' : 'lens_overlay_deep_gleam_data_pb2'
  # @@protoc_insertion_point(class_scope:lens.DeepGleamData)
  })
_sym_db.RegisterMessage(DeepGleamData)

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

  'Status' : _reflection.GeneratedProtocolMessageType('Status', (_message.Message,), {
    'DESCRIPTOR' : _TRANSLATIONDATA_STATUS,
    '__module__' : 'lens_overlay_deep_gleam_data_pb2'
    # @@protoc_insertion_point(class_scope:lens.TranslationData.Status)
    })
  ,

  'TextStyle' : _reflection.GeneratedProtocolMessageType('TextStyle', (_message.Message,), {
    'DESCRIPTOR' : _TRANSLATIONDATA_TEXTSTYLE,
    '__module__' : 'lens_overlay_deep_gleam_data_pb2'
    # @@protoc_insertion_point(class_scope:lens.TranslationData.TextStyle)
    })
  ,

  'BackgroundImageData' : _reflection.GeneratedProtocolMessageType('BackgroundImageData', (_message.Message,), {
    'DESCRIPTOR' : _TRANSLATIONDATA_BACKGROUNDIMAGEDATA,
    '__module__' : 'lens_overlay_deep_gleam_data_pb2'
    # @@protoc_insertion_point(class_scope:lens.TranslationData.BackgroundImageData)
    })
  ,

  'Line' : _reflection.GeneratedProtocolMessageType('Line', (_message.Message,), {

    'Word' : _reflection.GeneratedProtocolMessageType('Word', (_message.Message,), {
      'DESCRIPTOR' : _TRANSLATIONDATA_LINE_WORD,
      '__module__' : 'lens_overlay_deep_gleam_data_pb2'
      # @@protoc_insertion_point(class_scope:lens.TranslationData.Line.Word)
      })
    ,
    'DESCRIPTOR' : _TRANSLATIONDATA_LINE,
    '__module__' : 'lens_overlay_deep_gleam_data_pb2'
    # @@protoc_insertion_point(class_scope:lens.TranslationData.Line)
    })
  ,
  'DESCRIPTOR' : _TRANSLATIONDATA,
  '__module__' : 'lens_overlay_deep_gleam_data_pb2'
  # @@protoc_insertion_point(class_scope:lens.TranslationData)
  })
_sym_db.RegisterMessage(TranslationData)
_sym_db.RegisterMessage(TranslationData.Status)
_sym_db.RegisterMessage(TranslationData.TextStyle)
_sym_db.RegisterMessage(TranslationData.BackgroundImageData)
_sym_db.RegisterMessage(TranslationData.Line)
_sym_db.RegisterMessage(TranslationData.Line.Word)

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'H\003'
  _DEEPGLEAMDATA._serialized_start=70
  _DEEPGLEAMDATA._serialized_end=236
  _TRANSLATIONDATA._serialized_start=239
  _TRANSLATIONDATA._serialized_end=1494
  _TRANSLATIONDATA_STATUS._serialized_start=524
  _TRANSLATIONDATA_STATUS._serialized_end=803
  _TRANSLATIONDATA_STATUS_CODE._serialized_start=584
  _TRANSLATIONDATA_STATUS_CODE._serialized_end=803
  _TRANSLATIONDATA_TEXTSTYLE._serialized_start=805
  _TRANSLATIONDATA_TEXTSTYLE._serialized_end=882
  _TRANSLATIONDATA_BACKGROUNDIMAGEDATA._serialized_start=885
  _TRANSLATIONDATA_BACKGROUNDIMAGEDATA._serialized_end=1222
  _TRANSLATIONDATA_BACKGROUNDIMAGEDATA_FILEFORMAT._serialized_start=1125
  _TRANSLATIONDATA_BACKGROUNDIMAGEDATA_FILEFORMAT._serialized_end=1222
  _TRANSLATIONDATA_LINE._serialized_start=1225
  _TRANSLATIONDATA_LINE._serialized_end=1488
  _TRANSLATIONDATA_LINE_WORD._serialized_start=1430
  _TRANSLATIONDATA_LINE_WORD._serialized_end=1464
# @@protoc_insertion_point(module_scope)
