# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: datastore.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() 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') _KEYMESSAGE = DESCRIPTOR.message_types_by_name['KeyMessage'] _UPDATEMESSAGE = DESCRIPTOR.message_types_by_name['UpdateMessage'] _OBJECTRESPONSE = DESCRIPTOR.message_types_by_name['ObjectResponse'] _NULLRESPONSE = DESCRIPTOR.message_types_by_name['NullResponse'] KeyMessage = _reflection.GeneratedProtocolMessageType('KeyMessage', (_message.Message,), { 'DESCRIPTOR' : _KEYMESSAGE, '__module__' : 'datastore_pb2' # @@protoc_insertion_point(class_scope:datastore.KeyMessage) }) _sym_db.RegisterMessage(KeyMessage) UpdateMessage = _reflection.GeneratedProtocolMessageType('UpdateMessage', (_message.Message,), { 'DESCRIPTOR' : _UPDATEMESSAGE, '__module__' : 'datastore_pb2' # @@protoc_insertion_point(class_scope:datastore.UpdateMessage) }) _sym_db.RegisterMessage(UpdateMessage) ObjectResponse = _reflection.GeneratedProtocolMessageType('ObjectResponse', (_message.Message,), { 'DESCRIPTOR' : _OBJECTRESPONSE, '__module__' : 'datastore_pb2' # @@protoc_insertion_point(class_scope:datastore.ObjectResponse) }) _sym_db.RegisterMessage(ObjectResponse) NullResponse = _reflection.GeneratedProtocolMessageType('NullResponse', (_message.Message,), { 'DESCRIPTOR' : _NULLRESPONSE, '__module__' : 'datastore_pb2' # @@protoc_insertion_point(class_scope:datastore.NullResponse) }) _sym_db.RegisterMessage(NullResponse) _DATASTORESERVICE = DESCRIPTOR.services_by_name['DatastoreService'] if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z*git.itzana.me/strafesnet/go-grpc/datastore' _KEYMESSAGE._serialized_start=60 _KEYMESSAGE._serialized_end=85 _UPDATEMESSAGE._serialized_start=87 _UPDATEMESSAGE._serialized_end=199 _OBJECTRESPONSE._serialized_start=201 _OBJECTRESPONSE._serialized_end=269 _NULLRESPONSE._serialized_start=271 _NULLRESPONSE._serialized_end=285 _DATASTORESERVICE._serialized_start=288 _DATASTORESERVICE._serialized_end=484 # @@protoc_insertion_point(module_scope)