# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: datastore.proto # Protobuf Python Version: 4.25.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x61tastore.proto\x12\tdatastore\x1a\x1cgoogle/protobuf/struct.proto\"\x19\n\nKeyMessage\x12\x0b\n\x03Key\x18\x01 \x01(\t\"p\n\rUpdateMessage\x12\x0b\n\x03Key\x18\x01 \x01(\t\x12(\n\x07Updates\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07\x44\x65letes\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"D\n\x0eObjectResponse\x12\x0b\n\x03Key\x18\x01 \x01(\t\x12%\n\x04\x44\x61ta\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x0e\n\x0cNullResponse2\xc4\x01\n\x10\x44\x61tastoreService\x12\x37\n\x03Get\x12\x15.datastore.KeyMessage\x1a\x19.datastore.ObjectResponse\x12=\n\x06Update\x12\x18.datastore.UpdateMessage\x1a\x19.datastore.ObjectResponse\x12\x38\n\x06\x44\x65lete\x12\x15.datastore.KeyMessage\x1a\x17.datastore.NullResponseB,Z*git.itzana.me/strafesnet/go-grpc/datastoreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'datastore_pb2', _globals) if _descriptor._USE_C_DESCRIPTORS == False: _globals['DESCRIPTOR']._options = None _globals['DESCRIPTOR']._serialized_options = b'Z*git.itzana.me/strafesnet/go-grpc/datastore' _globals['_KEYMESSAGE']._serialized_start=60 _globals['_KEYMESSAGE']._serialized_end=85 _globals['_UPDATEMESSAGE']._serialized_start=87 _globals['_UPDATEMESSAGE']._serialized_end=199 _globals['_OBJECTRESPONSE']._serialized_start=201 _globals['_OBJECTRESPONSE']._serialized_end=269 _globals['_NULLRESPONSE']._serialized_start=271 _globals['_NULLRESPONSE']._serialized_end=285 _globals['_DATASTORESERVICE']._serialized_start=288 _globals['_DATASTORESERVICE']._serialized_end=484 # @@protoc_insertion_point(module_scope)