-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdatabase_pb2.py
34 lines (27 loc) · 1.78 KB
/
database_pb2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: database.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
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
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x64\x61tabase.proto\x12\x08\x64\x61tabase\"\x19\n\nGetRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\"+\n\x08GetReply\x12\x10\n\x08\x65rrormsg\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"(\n\nPutRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x1c\n\x08PutReply\x12\x10\n\x08\x65rrormsg\x18\x01 \x01(\t2p\n\x08\x44\x61tabase\x12\x31\n\x03Get\x12\x14.database.GetRequest\x1a\x12.database.GetReply\"\x00\x12\x31\n\x03Put\x12\x14.database.PutRequest\x1a\x12.database.PutReply\"\x00\x42\x30\n\x18io.grpc.examples.leveldbB\x0cLevelDBProtoP\x01\xa2\x02\x03HLWb\x06proto3')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'database_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\030io.grpc.examples.leveldbB\014LevelDBProtoP\001\242\002\003HLW'
_GETREQUEST._serialized_start=28
_GETREQUEST._serialized_end=53
_GETREPLY._serialized_start=55
_GETREPLY._serialized_end=98
_PUTREQUEST._serialized_start=100
_PUTREQUEST._serialized_end=140
_PUTREPLY._serialized_start=142
_PUTREPLY._serialized_end=170
_DATABASE._serialized_start=172
_DATABASE._serialized_end=284
# @@protoc_insertion_point(module_scope)