-
Notifications
You must be signed in to change notification settings - Fork 1
/
database_pb2.pyi
33 lines (28 loc) · 1.1 KB
/
database_pb2.pyi
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
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from typing import ClassVar as _ClassVar, Optional as _Optional
DESCRIPTOR: _descriptor.FileDescriptor
class GetReply(_message.Message):
__slots__ = ["errormsg", "value"]
ERRORMSG_FIELD_NUMBER: _ClassVar[int]
VALUE_FIELD_NUMBER: _ClassVar[int]
errormsg: str
value: str
def __init__(self, errormsg: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
class GetRequest(_message.Message):
__slots__ = ["key"]
KEY_FIELD_NUMBER: _ClassVar[int]
key: str
def __init__(self, key: _Optional[str] = ...) -> None: ...
class PutReply(_message.Message):
__slots__ = ["errormsg"]
ERRORMSG_FIELD_NUMBER: _ClassVar[int]
errormsg: str
def __init__(self, errormsg: _Optional[str] = ...) -> None: ...
class PutRequest(_message.Message):
__slots__ = ["key", "value"]
KEY_FIELD_NUMBER: _ClassVar[int]
VALUE_FIELD_NUMBER: _ClassVar[int]
key: str
value: str
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...