# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: gravi/rest/model/online-sketch.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/model/online-sketch.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from gravi.unity import gravi_unity_pb2 as gravi_dot_unity_dot_gravi__unity__pb2
from gravi.rpc import cosketch_rpc_pb2 as gravi_dot_rpc_dot_cosketch__rpc__pb2
from gravi.rpc.model import sketch_model_pb2 as gravi_dot_rpc_dot_model_dot_sketch__model__pb2
from gravi.rpc.model.common import sketch_common_pb2 as gravi_dot_rpc_dot_model_dot_common_dot_sketch__common__pb2
from gravi.models import gravi_model_pb2 as gravi_dot_models_dot_gravi__model__pb2
from gravi.gsfile import sketch_gsfile_pb2 as gravi_dot_gsfile_dot_sketch__gsfile__pb2
from gravi.gsfile.strokelayer.persistence import layer_pb2 as gravi_dot_gsfile_dot_strokelayer_dot_persistence_dot_layer__pb2
from gravi.gsfile.layergroup.persistence import layer_group_pb2 as gravi_dot_gsfile_dot_layergroup_dot_persistence_dot_layer__group__pb2
from gravi.gsfile.metadata.persistence import metadata_pb2 as gravi_dot_gsfile_dot_metadata_dot_persistence_dot_metadata__pb2
from gravi.gsfile.asset.persistence import asset_pb2 as gravi_dot_gsfile_dot_asset_dot_persistence_dot_asset__pb2
import gs_options_pb2 as gs__options__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$gravi/rest/model/online-sketch.proto\x12\x10gravi.rest.model\x1a\x1dgravi/unity/gravi-unity.proto\x1a\x1cgravi/rpc/cosketch-rpc.proto\x1a\"gravi/rpc/model/sketch-model.proto\x1a*gravi/rpc/model/common/sketch-common.proto\x1a\x1egravi/models/gravi-model.proto\x1a gravi/gsfile/sketch-gsfile.proto\x1a\x30gravi/gsfile/strokelayer/persistence/layer.proto\x1a\x35gravi/gsfile/layergroup/persistence/layer-group.proto\x1a\x30gravi/gsfile/metadata/persistence/metadata.proto\x1a*gravi/gsfile/asset/persistence/asset.proto\x1a\x10gs-options.proto\"\x8f\x01\n\x1aUpdateSketchObjectsRequest\x12\x12\n\ndocumentId\x18\x01 \x01(\t\x12\x1d\n\x15\x65xpectedSketchVersion\x18\x02 \x01(\t\x12>\n\x11sketchStateUpdate\x18\x03 \x01(\x0b\x32#.gravi.rest.model.SketchStateUpdate\"\x86\x01\n\x1bUpdateSketchObjectsResponse\x12\x43\n\x06result\x18\x01 \x01(\x0e\x32\x33.gravi.rest.model.UpdateSketchObjectsResponseResult\x12\x1c\n\x14\x63urrentSketchVersion\x18\x02 \x01(\t:\x04\x88\xb5\x18\x01\"/\n\x13\x44\x65leteMaterialEvent\x12\x12\n\nmaterialId\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\"B\n\x12\x43hangeVersionEvent\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12\x15\n\rrepairVersion\x18\x02 \x01(\x05:\x04\x88\xb5\x18\x01\"7\n\x16\x43hangeActiveLayerEvent\x12\x17\n\x0f\x61\x63tiveLayerGuid\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\"]\n\x1e\x43hangeLastUsedOrientationEvent\x12\x35\n\x13lastUsedOrientation\x18\x01 \x01(\x0b\x32\x18.gravi.unity.TransformTO:\x04\x88\xb5\x18\x01\"w\n(ChangeUserChoseThumbnailOrientationEvent\x12\x45\n\x1duserChoseThumbnailOrientation\x18\x01 \x01(\x0b\x32\x1e.gravi.unity.ThumbnailCameraTO:\x04\x88\xb5\x18\x01\"P\n\x16\x43hangeEnvironmentEvent\x12\x30\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32\x1b.gravi.models.EnvironmentTO:\x04\x88\xb5\x18\x01\"\x89\x01\n#ChangeSpatialAnchorInformationEvent\x12\\\n\x18spatialAnchorInformation\x18\x01 \x01(\x0b\x32:.gravi.rpc.model.common.PersistentSpatialAnchorInformation:\x04\x88\xb5\x18\x01\"d\n\x1a\x43hangeSectionViewDataEvent\x12@\n\x0fsectionViewData\x18\x01 \x01(\x0b\x32\'.gravi.rpc.model.common.SectionViewData:\x04\x88\xb5\x18\x01\"S\n\x10\x43reateAssetEvent\x12\x39\n\x05\x61sset\x18\x01 \x01(\x0b\x32*.gravi.gsfile.asset.persistence.AssetModel:\x04\x88\xb5\x18\x01\"S\n\x10\x44\x65leteAssetEvent\x12\x39\n\x05\x61sset\x18\x01 \x01(\x0b\x32*.gravi.gsfile.asset.persistence.AssetModel:\x04\x88\xb5\x18\x01\"\x8c\r\n\x16SketchStateChangeEvent\x12;\n\x11sketchActionEvent\x18\x01 \x01(\x0b\x32\x1e.gravi.rpc.SketchActionRequestH\x00\x12?\n\x13updateMaterialEvent\x18\x02 \x01(\x0b\x32 .gravi.rpc.UpdateMaterialRequestH\x00\x12\x44\n\x13\x64\x65leteMaterialEvent\x18\x03 \x01(\x0b\x32%.gravi.rest.model.DeleteMaterialEventH\x00\x12\x39\n\x10\x63hangeLayerEvent\x18\x04 \x01(\x0b\x32\x1d.gravi.rpc.ChangeLayerRequestH\x00\x12\x33\n\raddLayerEvent\x18\x05 \x01(\x0b\x32\x1a.gravi.rpc.AddLayerRequestH\x00\x12\x39\n\x10modifyLayerEvent\x18\x06 \x01(\x0b\x32\x1d.gravi.rpc.ModifyLayerRequestH\x00\x12\x39\n\x10\x64\x65leteLayerEvent\x18\x07 \x01(\x0b\x32\x1d.gravi.rpc.DeleteLayerRequestH\x00\x12>\n\x11groupObjectsEvent\x18\x08 \x01(\x0b\x32!.gravi.rpc.GroupingObjectsRequestH\x00\x12?\n\x13ungroupObjectsEvent\x18\t \x01(\x0b\x32 .gravi.rpc.UnGroupObjectsRequestH\x00\x12=\n\x12\x63onvertToSubDEvent\x18\n \x01(\x0b\x32\x1f.gravi.rpc.ConvertToSubDRequestH\x00\x12\x43\n\x15mergeSubDObjectsEvent\x18\x0b \x01(\x0b\x32\".gravi.rpc.MergeSubDObjectsRequestH\x00\x12L\n\x19revertSubDConversionEvent\x18\x0c \x01(\x0b\x32\'.gravi.rpc.ReverseSubDConversionRequestH\x00\x12\x43\n\x15\x61\x64\x64ImportedGroupEvent\x18\r \x01(\x0b\x32\".gravi.rpc.AddImportedGroupRequestH\x00\x12\x43\n\x15modifyLayerGroupEvent\x18\x0e \x01(\x0b\x32\".gravi.rpc.ModifyLayerGroupRequestH\x00\x12\x42\n\x12\x63hangeVersionEvent\x18\x0f \x01(\x0b\x32$.gravi.rest.model.ChangeVersionEventH\x00\x12J\n\x16\x63hangeActiveLayerEvent\x18\x10 \x01(\x0b\x32(.gravi.rest.model.ChangeActiveLayerEventH\x00\x12Z\n\x1e\x63hangeLastUsedOrientationEvent\x18\x11 \x01(\x0b\x32\x30.gravi.rest.model.ChangeLastUsedOrientationEventH\x00\x12n\n(changeUserChoseThumbnailOrientationEvent\x18\x12 \x01(\x0b\x32:.gravi.rest.model.ChangeUserChoseThumbnailOrientationEventH\x00\x12J\n\x16\x63hangeEnvironmentEvent\x18\x13 \x01(\x0b\x32(.gravi.rest.model.ChangeEnvironmentEventH\x00\x12\x64\n#changeSpatialAnchorInformationEvent\x18\x14 \x01(\x0b\x32\x35.gravi.rest.model.ChangeSpatialAnchorInformationEventH\x00\x12R\n\x1a\x63hangeSectionViewDataEvent\x18\x15 \x01(\x0b\x32,.gravi.rest.model.ChangeSectionViewDataEventH\x00\x12>\n\x10\x63reateAssetEvent\x18\x16 \x01(\x0b\x32\".gravi.rest.model.CreateAssetEventH\x00\x12>\n\x10\x64\x65leteAssetEvent\x18\x17 \x01(\x0b\x32\".gravi.rest.model.DeleteAssetEventH\x00\x42\t\n\x07payload\"J\n\x11SketchStateUpdate\x12\x35\n\x07updates\x18\x01 \x03(\x0b\x32$.gravi.rest.model.SketchObjectUpdate\"\x9e\x02\n\x12SketchObjectUpdate\x12\x32\n\x06\x64\x61taId\x18\x01 \x01(\x0b\x32 .gravi.rpc.model.common.GSDataIDH\x00\x12\x12\n\x08stringId\x18\x02 \x01(\tH\x00\x12\x11\n\tisDeleted\x18\x03 \x01(\x08\x12J\n\x10overwritePayload\x18\x04 \x01(\x0b\x32..gravi.rest.model.SketchObjectOverwritePayloadH\x01\x12P\n\x13\x64\x65ltaEncodedPayload\x18\x05 \x01(\x0b\x32\x31.gravi.rest.model.SketchObjectDeltaEncodedPayloadH\x01\x42\x04\n\x02idB\t\n\x07payload\"\xf9\x04\n\x1cSketchObjectOverwritePayload\x12\x35\n\x06stroke\x18\x0b \x01(\x0b\x32#.gravi.rpc.model.StrokeDataSnapshotH\x00\x12\x41\n\x05layer\x18\x0c \x01(\x0b\x32\x30.gravi.gsfile.strokelayer.persistence.LayerModelH\x00\x12\x38\n\x08material\x18\r \x01(\x0b\x32$.gravi.rpc.model.common.DrawMaterialH\x00\x12<\n\x0bnestedGroup\x18\x0e \x01(\x0b\x32%.gravi.gsfile.NestedGroupRelationshipH\x00\x12J\n\x08metadata\x18\x10 \x01(\x0b\x32\x36.gravi.gsfile.metadata.persistence.SketchMetadataModelH\x00\x12;\n\x05\x61sset\x18\x11 \x01(\x0b\x32*.gravi.gsfile.asset.persistence.AssetModelH\x00\x12?\n\x0bstrokeLayer\x18\x12 \x01(\x0b\x32(.gravi.rpc.model.StrokeLayerRelationshipH\x00\x12\x45\n\nlayerGroup\x18\x13 \x01(\x0b\x32/.gravi.rpc.model.common.NestedLayerRelationshipH\x00\x12?\n\x0bstrokeGroup\x18\x15 \x01(\x0b\x32(.gravi.rpc.model.StrokeGroupRelationshipH\x00\x42\x15\n\x13objectUpdatePayload\"!\n\x1fSketchObjectDeltaEncodedPayload*\xab\x02\n!UpdateSketchObjectsResponseResult\x12-\n)UpdateSketchObjectsResponseResult_Unknown\x10\x00\x12-\n)UpdateSketchObjectsResponseResult_Success\x10\x01\x12\x36\n2UpdateSketchObjectsResponseResult_DocumentNotFound\x10\x02\x12\x34\n0UpdateSketchObjectsResponseResult_UpdateOutdated\x10\x03\x12:\n6UpdateSketchObjectsResponseResult_StorageLimitExceeded\x10\x04\x42Y\n\x1d\x63om.gravitysketch.sketch.restP\x01Z6gravitysketch.com/platform/go/vrproto/gravi/rest/modelb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.model.online_sketch_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\035com.gravitysketch.sketch.restP\001Z6gravitysketch.com/platform/go/vrproto/gravi/rest/model'
  _globals['_UPDATESKETCHOBJECTSRESPONSE']._loaded_options = None
  _globals['_UPDATESKETCHOBJECTSRESPONSE']._serialized_options = b'\210\265\030\001'
  _globals['_DELETEMATERIALEVENT']._loaded_options = None
  _globals['_DELETEMATERIALEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CHANGEVERSIONEVENT']._loaded_options = None
  _globals['_CHANGEVERSIONEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CHANGEACTIVELAYEREVENT']._loaded_options = None
  _globals['_CHANGEACTIVELAYEREVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CHANGELASTUSEDORIENTATIONEVENT']._loaded_options = None
  _globals['_CHANGELASTUSEDORIENTATIONEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CHANGEUSERCHOSETHUMBNAILORIENTATIONEVENT']._loaded_options = None
  _globals['_CHANGEUSERCHOSETHUMBNAILORIENTATIONEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CHANGEENVIRONMENTEVENT']._loaded_options = None
  _globals['_CHANGEENVIRONMENTEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CHANGESPATIALANCHORINFORMATIONEVENT']._loaded_options = None
  _globals['_CHANGESPATIALANCHORINFORMATIONEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CHANGESECTIONVIEWDATAEVENT']._loaded_options = None
  _globals['_CHANGESECTIONVIEWDATAEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_CREATEASSETEVENT']._loaded_options = None
  _globals['_CREATEASSETEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_DELETEASSETEVENT']._loaded_options = None
  _globals['_DELETEASSETEVENT']._serialized_options = b'\210\265\030\001'
  _globals['_UPDATESKETCHOBJECTSRESPONSERESULT']._serialized_start=4365
  _globals['_UPDATESKETCHOBJECTSRESPONSERESULT']._serialized_end=4664
  _globals['_UPDATESKETCHOBJECTSREQUEST']._serialized_start=483
  _globals['_UPDATESKETCHOBJECTSREQUEST']._serialized_end=626
  _globals['_UPDATESKETCHOBJECTSRESPONSE']._serialized_start=629
  _globals['_UPDATESKETCHOBJECTSRESPONSE']._serialized_end=763
  _globals['_DELETEMATERIALEVENT']._serialized_start=765
  _globals['_DELETEMATERIALEVENT']._serialized_end=812
  _globals['_CHANGEVERSIONEVENT']._serialized_start=814
  _globals['_CHANGEVERSIONEVENT']._serialized_end=880
  _globals['_CHANGEACTIVELAYEREVENT']._serialized_start=882
  _globals['_CHANGEACTIVELAYEREVENT']._serialized_end=937
  _globals['_CHANGELASTUSEDORIENTATIONEVENT']._serialized_start=939
  _globals['_CHANGELASTUSEDORIENTATIONEVENT']._serialized_end=1032
  _globals['_CHANGEUSERCHOSETHUMBNAILORIENTATIONEVENT']._serialized_start=1034
  _globals['_CHANGEUSERCHOSETHUMBNAILORIENTATIONEVENT']._serialized_end=1153
  _globals['_CHANGEENVIRONMENTEVENT']._serialized_start=1155
  _globals['_CHANGEENVIRONMENTEVENT']._serialized_end=1235
  _globals['_CHANGESPATIALANCHORINFORMATIONEVENT']._serialized_start=1238
  _globals['_CHANGESPATIALANCHORINFORMATIONEVENT']._serialized_end=1375
  _globals['_CHANGESECTIONVIEWDATAEVENT']._serialized_start=1377
  _globals['_CHANGESECTIONVIEWDATAEVENT']._serialized_end=1477
  _globals['_CREATEASSETEVENT']._serialized_start=1479
  _globals['_CREATEASSETEVENT']._serialized_end=1562
  _globals['_DELETEASSETEVENT']._serialized_start=1564
  _globals['_DELETEASSETEVENT']._serialized_end=1647
  _globals['_SKETCHSTATECHANGEEVENT']._serialized_start=1650
  _globals['_SKETCHSTATECHANGEEVENT']._serialized_end=3326
  _globals['_SKETCHSTATEUPDATE']._serialized_start=3328
  _globals['_SKETCHSTATEUPDATE']._serialized_end=3402
  _globals['_SKETCHOBJECTUPDATE']._serialized_start=3405
  _globals['_SKETCHOBJECTUPDATE']._serialized_end=3691
  _globals['_SKETCHOBJECTOVERWRITEPAYLOAD']._serialized_start=3694
  _globals['_SKETCHOBJECTOVERWRITEPAYLOAD']._serialized_end=4327
  _globals['_SKETCHOBJECTDELTAENCODEDPAYLOAD']._serialized_start=4329
  _globals['_SKETCHOBJECTDELTAENCODEDPAYLOAD']._serialized_end=4362
# @@protoc_insertion_point(module_scope)
