# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/link_previews.proto
# Protobuf Python Version: 7.34.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    7,
    34,
    1,
    '',
    'chatto/api/v1/link_previews.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!chatto/api/v1/link_previews.proto\x12\rchatto.api.v1\x1a\x1b\x62uf/validate/validate.proto\"2\n\x17\x46\x65tchLinkPreviewRequest\x12\x17\n\x03url\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x10\"\xaa\x02\n\x0bLinkPreview\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x12\n\x05title\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x16\n\timage_url\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1b\n\x0eimage_asset_id\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x16\n\tsite_name\x18\x06 \x01(\tH\x04\x88\x01\x01\x12\x17\n\nembed_type\x18\x07 \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08\x65mbed_id\x18\x08 \x01(\tH\x06\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\x0c\n\n_image_urlB\x11\n\x0f_image_asset_idB\x0c\n\n_site_nameB\r\n\x0b_embed_typeB\x0b\n\t_embed_id\"^\n\x18\x46\x65tchLinkPreviewResponse\x12+\n\x07preview\x18\x01 \x01(\x0b\x32\x1a.chatto.api.v1.LinkPreview\x12\x15\n\rpreview_token\x18\x02 \x01(\tb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.link_previews_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_FETCHLINKPREVIEWREQUEST'].fields_by_name['url']._loaded_options = None
  _globals['_FETCHLINKPREVIEWREQUEST'].fields_by_name['url']._serialized_options = b'\272H\007r\005\020\001\030\200\020'
  _globals['_FETCHLINKPREVIEWREQUEST']._serialized_start=81
  _globals['_FETCHLINKPREVIEWREQUEST']._serialized_end=131
  _globals['_LINKPREVIEW']._serialized_start=134
  _globals['_LINKPREVIEW']._serialized_end=432
  _globals['_FETCHLINKPREVIEWRESPONSE']._serialized_start=434
  _globals['_FETCHLINKPREVIEWRESPONSE']._serialized_end=528
# @@protoc_insertion_point(module_scope)
