-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatabase_pb2.py
More file actions
38 lines (31 loc) · 2.26 KB
/
database_pb2.py
File metadata and controls
38 lines (31 loc) · 2.26 KB
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
35
36
37
38
# -*- 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\x0bGetResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"H\n\nPutRequest\x12\x0e\n\x06seqnum\x18\x01 \x01(\x03\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x0e\n\x06\x63lient\x18\x04 \x01(\t\"\x1c\n\x0bPutResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\"3\n\x10PutResultRequest\x12\x0e\n\x06seqnum\x18\x01 \x01(\x03\x12\x0f\n\x07success\x18\x02 \x01(\x08\"\x13\n\x11PutResultResponse2\xbe\x01\n\x08\x44\x61tabase\x12\x34\n\x03Get\x12\x14.database.GetRequest\x1a\x15.database.GetResponse\"\x00\x12\x34\n\x03Put\x12\x14.database.PutRequest\x1a\x15.database.PutResponse\"\x00\x12\x46\n\tPutResult\x12\x1a.database.PutResultRequest\x1a\x1b.database.PutResultResponse\"\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
_GETRESPONSE._serialized_start=55
_GETRESPONSE._serialized_end=98
_PUTREQUEST._serialized_start=100
_PUTREQUEST._serialized_end=172
_PUTRESPONSE._serialized_start=174
_PUTRESPONSE._serialized_end=202
_PUTRESULTREQUEST._serialized_start=204
_PUTRESULTREQUEST._serialized_end=255
_PUTRESULTRESPONSE._serialized_start=257
_PUTRESULTRESPONSE._serialized_end=276
_DATABASE._serialized_start=279
_DATABASE._serialized_end=469
# @@protoc_insertion_point(module_scope)