# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: gravi/rest/doc/comment.proto
# Protobuf Python Version: 6.30.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,
    6,
    30,
    1,
    '',
    'gravi/rest/doc/comment.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from gravi.models import gravi_model_pb2 as gravi_dot_models_dot_gravi__model__pb2
from gravi.wrapper import wrappers_pb2 as gravi_dot_wrapper_dot_wrappers__pb2
import gs_options_pb2 as gs__options__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cgravi/rest/doc/comment.proto\x12\x0egravi.rest.doc\x1a\x1egravi/models/gravi-model.proto\x1a\x1cgravi/wrapper/wrappers.proto\x1a\x10gs-options.proto\"\xa3\x02\n\x0c\x44ocCommentTO\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x64ocId\x18\x02 \x01(\t\x12\x10\n\x08\x61nchorId\x18\x03 \x01(\t\x12\x10\n\x08parentId\x18\x04 \x01(\t\x12\x34\n\x10\x61uthorPublicInfo\x18\x05 \x01(\x0b\x32\x1a.gravi.models.UserPublicTO\x12\x12\n\nisReadByMe\x18\x06 \x01(\x08\x12\x12\n\nisResolved\x18\x07 \x01(\x08\x12\x11\n\tcreatedOn\x18\x08 \x01(\x03\x12\x16\n\x0elastModifiedOn\x18\t \x01(\x03\x12\x32\n\x07payload\x18\n \x01(\x0b\x32!.gravi.rest.doc.DocCommentPayload\x12\x11\n\tisDeleted\x18\x0b \x01(\x08:\x04\x88\xb5\x18\x01\"Z\n\x0bUserMention\x12\x11\n\tinsertPos\x18\x01 \x01(\x05\x12\x32\n\x0euserPublicInfo\x18\x02 \x01(\x0b\x32\x1a.gravi.models.UserPublicTO:\x04\x88\xb5\x18\x01\"c\n\x11\x44ocCommentPayload\x12H\n\x12textCommentPayload\x18\x01 \x01(\x0b\x32,.gravi.rest.doc.DocCommentPayloadTextComment:\x04\x88\xb5\x18\x01\"H\n\x0f\x44ocTextFragment\x12\x11\n\x07literal\x18\x01 \x01(\tH\x00\x12\x10\n\x06userId\x18\x02 \x01(\tH\x00:\x04\x88\xb5\x18\x01\x42\n\n\x08\x66ragment\"\x9c\x01\n\x1c\x44ocCommentPayloadTextComment\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x31\n\x0cuserMentions\x18\x02 \x03(\x0b\x32\x1b.gravi.rest.doc.UserMention\x12\x32\n\tfragments\x18\x03 \x03(\x0b\x32\x1f.gravi.rest.doc.DocTextFragment:\x04\x88\xb5\x18\x01\"\x86\x01\n\x17\x43reateDocCommentRequest\x12\r\n\x05\x64ocId\x18\x01 \x01(\t\x12\x10\n\x08\x61nchorId\x18\x02 \x01(\t\x12\x10\n\x08parentId\x18\x03 \x01(\t\x12\x32\n\x07payload\x18\x04 \x01(\x0b\x32!.gravi.rest.doc.DocCommentPayload:\x04\x88\xb5\x18\x01\"\x8f\x01\n\x18\x43reateDocCommentResponse\x12>\n\x06result\x18\x01 \x01(\x0e\x32..gravi.rest.doc.CreateDocCommentResponseResult\x12-\n\x07\x63omment\x18\x02 \x01(\x0b\x32\x1c.gravi.rest.doc.DocCommentTO:\x04\x88\xb5\x18\x01\"R\n\x16ListDocCommentsRequest\x12\r\n\x05\x64ocId\x18\x01 \x01(\t\x12\x11\n\tpageToken\x18\x02 \x01(\t\x12\x10\n\x08pageSize\x18\x03 \x01(\x05:\x04\x88\xb5\x18\x01\"U\n\x19ListNewDocCommentsRequest\x12\r\n\x05\x64ocId\x18\x01 \x01(\t\x12\x11\n\tpageToken\x18\x02 \x01(\t\x12\x10\n\x08pageSize\x18\x03 \x01(\x05:\x04\x88\xb5\x18\x01\"\xa5\x01\n\x17ListDocCommentsResponse\x12=\n\x06result\x18\x01 \x01(\x0e\x32-.gravi.rest.doc.ListDocCommentsResponseResult\x12.\n\x08\x63omments\x18\x02 \x03(\x0b\x32\x1c.gravi.rest.doc.DocCommentTO\x12\x15\n\rnextPageToken\x18\x03 \x01(\t:\x04\x88\xb5\x18\x01\"\x83\x02\n\x17UpdateDocCommentRequest\x12\r\n\x05\x64ocId\x18\x01 \x01(\t\x12\x11\n\tcommentId\x18\x02 \x01(\t\x12+\n\x06isRead\x18\x03 \x01(\x0b\x32\x1b.gravi.wrapper.OptionalBool\x12\x32\n\x07payload\x18\x04 \x01(\x0b\x32!.gravi.rest.doc.DocCommentPayload\x12/\n\nisResolved\x18\x05 \x01(\x0b\x32\x1b.gravi.wrapper.OptionalBool\x12.\n\tisDeleted\x18\x06 \x01(\x0b\x32\x1b.gravi.wrapper.OptionalBool:\x04\x88\xb5\x18\x01\"\x8f\x01\n\x18UpdateDocCommentResponse\x12>\n\x06result\x18\x01 \x01(\x0e\x32..gravi.rest.doc.UpdateDocCommentResponseResult\x12-\n\x07\x63omment\x18\x02 \x01(\x0b\x32\x1c.gravi.rest.doc.DocCommentTO:\x04\x88\xb5\x18\x01*\xb6\x01\n\x1e\x43reateDocCommentResponseResult\x12,\n(CreateDocCommentResponseResultSuccessful\x10\x00\x12\x32\n.CreateDocCommentResponseResultDocumentNotFound\x10\x01\x12\x32\n.CreateDocCommentResponseResultMalformedComment\x10\x02*\x7f\n\x1dListDocCommentsResponseResult\x12+\n\'ListDocCommentsResponseResultSuccessful\x10\x00\x12\x31\n-ListDocCommentsResponseResultDocumentNotFound\x10\x01*\xa6\x02\n\x1eUpdateDocCommentResponseResult\x12,\n(UpdateDocCommentResponseResultSuccessful\x10\x00\x12\x32\n.UpdateDocCommentResponseResultDocumentNotFound\x10\x01\x12\x31\n-UpdateDocCommentResponseResultCommentNotFound\x10\x02\x12;\n7UpdateDocCommentResponseResultOnlyAllowedForRootComment\x10\x03\x12\x32\n.UpdateDocCommentResponseResultMalformedComment\x10\x04\x42T\n\x1a\x63om.gravitysketch.doc.restP\x01Z4gravitysketch.com/platform/go/vrproto/gravi/rest/docb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.doc.comment_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\032com.gravitysketch.doc.restP\001Z4gravitysketch.com/platform/go/vrproto/gravi/rest/doc'
  _globals['_DOCCOMMENTTO']._loaded_options = None
  _globals['_DOCCOMMENTTO']._serialized_options = b'\210\265\030\001'
  _globals['_USERMENTION']._loaded_options = None
  _globals['_USERMENTION']._serialized_options = b'\210\265\030\001'
  _globals['_DOCCOMMENTPAYLOAD']._loaded_options = None
  _globals['_DOCCOMMENTPAYLOAD']._serialized_options = b'\210\265\030\001'
  _globals['_DOCTEXTFRAGMENT']._loaded_options = None
  _globals['_DOCTEXTFRAGMENT']._serialized_options = b'\210\265\030\001'
  _globals['_DOCCOMMENTPAYLOADTEXTCOMMENT']._loaded_options = None
  _globals['_DOCCOMMENTPAYLOADTEXTCOMMENT']._serialized_options = b'\210\265\030\001'
  _globals['_CREATEDOCCOMMENTREQUEST']._loaded_options = None
  _globals['_CREATEDOCCOMMENTREQUEST']._serialized_options = b'\210\265\030\001'
  _globals['_CREATEDOCCOMMENTRESPONSE']._loaded_options = None
  _globals['_CREATEDOCCOMMENTRESPONSE']._serialized_options = b'\210\265\030\001'
  _globals['_LISTDOCCOMMENTSREQUEST']._loaded_options = None
  _globals['_LISTDOCCOMMENTSREQUEST']._serialized_options = b'\210\265\030\001'
  _globals['_LISTNEWDOCCOMMENTSREQUEST']._loaded_options = None
  _globals['_LISTNEWDOCCOMMENTSREQUEST']._serialized_options = b'\210\265\030\001'
  _globals['_LISTDOCCOMMENTSRESPONSE']._loaded_options = None
  _globals['_LISTDOCCOMMENTSRESPONSE']._serialized_options = b'\210\265\030\001'
  _globals['_UPDATEDOCCOMMENTREQUEST']._loaded_options = None
  _globals['_UPDATEDOCCOMMENTREQUEST']._serialized_options = b'\210\265\030\001'
  _globals['_UPDATEDOCCOMMENTRESPONSE']._loaded_options = None
  _globals['_UPDATEDOCCOMMENTRESPONSE']._serialized_options = b'\210\265\030\001'
  _globals['_CREATEDOCCOMMENTRESPONSERESULT']._serialized_start=1879
  _globals['_CREATEDOCCOMMENTRESPONSERESULT']._serialized_end=2061
  _globals['_LISTDOCCOMMENTSRESPONSERESULT']._serialized_start=2063
  _globals['_LISTDOCCOMMENTSRESPONSERESULT']._serialized_end=2190
  _globals['_UPDATEDOCCOMMENTRESPONSERESULT']._serialized_start=2193
  _globals['_UPDATEDOCCOMMENTRESPONSERESULT']._serialized_end=2487
  _globals['_DOCCOMMENTTO']._serialized_start=129
  _globals['_DOCCOMMENTTO']._serialized_end=420
  _globals['_USERMENTION']._serialized_start=422
  _globals['_USERMENTION']._serialized_end=512
  _globals['_DOCCOMMENTPAYLOAD']._serialized_start=514
  _globals['_DOCCOMMENTPAYLOAD']._serialized_end=613
  _globals['_DOCTEXTFRAGMENT']._serialized_start=615
  _globals['_DOCTEXTFRAGMENT']._serialized_end=687
  _globals['_DOCCOMMENTPAYLOADTEXTCOMMENT']._serialized_start=690
  _globals['_DOCCOMMENTPAYLOADTEXTCOMMENT']._serialized_end=846
  _globals['_CREATEDOCCOMMENTREQUEST']._serialized_start=849
  _globals['_CREATEDOCCOMMENTREQUEST']._serialized_end=983
  _globals['_CREATEDOCCOMMENTRESPONSE']._serialized_start=986
  _globals['_CREATEDOCCOMMENTRESPONSE']._serialized_end=1129
  _globals['_LISTDOCCOMMENTSREQUEST']._serialized_start=1131
  _globals['_LISTDOCCOMMENTSREQUEST']._serialized_end=1213
  _globals['_LISTNEWDOCCOMMENTSREQUEST']._serialized_start=1215
  _globals['_LISTNEWDOCCOMMENTSREQUEST']._serialized_end=1300
  _globals['_LISTDOCCOMMENTSRESPONSE']._serialized_start=1303
  _globals['_LISTDOCCOMMENTSRESPONSE']._serialized_end=1468
  _globals['_UPDATEDOCCOMMENTREQUEST']._serialized_start=1471
  _globals['_UPDATEDOCCOMMENTREQUEST']._serialized_end=1730
  _globals['_UPDATEDOCCOMMENTRESPONSE']._serialized_start=1733
  _globals['_UPDATEDOCCOMMENTRESPONSE']._serialized_end=1876
# @@protoc_insertion_point(module_scope)
