-
Notifications
You must be signed in to change notification settings - Fork 2
/
filetrans_pb2.py
57 lines (45 loc) · 2.13 KB
/
filetrans_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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: filetrans.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()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x66iletrans.proto\"\x17\n\x05\x43hunk\x12\x0e\n\x06\x62uffer\x18\x01 \x01(\x0c\"\x17\n\x07Request\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x17\n\x05Reply\x12\x0e\n\x06length\x18\x01 \x01(\x05\x32L\n\nFileServer\x12\x1c\n\x06upload\x12\x06.Chunk\x1a\x06.Reply\"\x00(\x01\x12 \n\x08\x64ownload\x12\x08.Request\x1a\x06.Chunk\"\x00\x30\x01\x62\x06proto3')
_CHUNK = DESCRIPTOR.message_types_by_name['Chunk']
_REQUEST = DESCRIPTOR.message_types_by_name['Request']
_REPLY = DESCRIPTOR.message_types_by_name['Reply']
Chunk = _reflection.GeneratedProtocolMessageType('Chunk', (_message.Message,), {
'DESCRIPTOR' : _CHUNK,
'__module__' : 'filetrans_pb2'
# @@protoc_insertion_point(class_scope:Chunk)
})
_sym_db.RegisterMessage(Chunk)
Request = _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
'DESCRIPTOR' : _REQUEST,
'__module__' : 'filetrans_pb2'
# @@protoc_insertion_point(class_scope:Request)
})
_sym_db.RegisterMessage(Request)
Reply = _reflection.GeneratedProtocolMessageType('Reply', (_message.Message,), {
'DESCRIPTOR' : _REPLY,
'__module__' : 'filetrans_pb2'
# @@protoc_insertion_point(class_scope:Reply)
})
_sym_db.RegisterMessage(Reply)
_FILESERVER = DESCRIPTOR.services_by_name['FileServer']
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_CHUNK._serialized_start=19
_CHUNK._serialized_end=42
_REQUEST._serialized_start=44
_REQUEST._serialized_end=67
_REPLY._serialized_start=69
_REPLY._serialized_end=92
_FILESERVER._serialized_start=94
_FILESERVER._serialized_end=170
# @@protoc_insertion_point(module_scope)