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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: attachments.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
DESCRIPTOR = _descriptor.FileDescriptor(
name='attachments.proto',
package='sync_pb',
serialized_pb='\n\x11\x61ttachments.proto\x12\x07sync_pb\"J\n\x11\x41ttachmentIdProto\x12\x11\n\tunique_id\x18\x01 \x01(\t\x12\x12\n\nsize_bytes\x18\x02 \x01(\x04\x12\x0e\n\x06\x63rc32c\x18\x03 \x01(\r\"X\n\x18\x41ttachmentMetadataRecord\x12&\n\x02id\x18\x01 \x01(\x0b\x32\x1a.sync_pb.AttachmentIdProto\x12\x14\n\x0cis_on_server\x18\x02 \x01(\x08\"G\n\x12\x41ttachmentMetadata\x12\x31\n\x06record\x18\x01 \x03(\x0b\x32!.sync_pb.AttachmentMetadataRecordB\x04H\x03`\x01')
_ATTACHMENTIDPROTO = _descriptor.Descriptor(
name='AttachmentIdProto',
full_name='sync_pb.AttachmentIdProto',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='unique_id', full_name='sync_pb.AttachmentIdProto.unique_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=unicode("", "utf-8"),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='size_bytes', full_name='sync_pb.AttachmentIdProto.size_bytes', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='crc32c', full_name='sync_pb.AttachmentIdProto.crc32c', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=30,
serialized_end=104,
)
_ATTACHMENTMETADATARECORD = _descriptor.Descriptor(
name='AttachmentMetadataRecord',
full_name='sync_pb.AttachmentMetadataRecord',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='sync_pb.AttachmentMetadataRecord.id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='is_on_server', full_name='sync_pb.AttachmentMetadataRecord.is_on_server', index=1,
number=2, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=106,
serialized_end=194,
)
_ATTACHMENTMETADATA = _descriptor.Descriptor(
name='AttachmentMetadata',
full_name='sync_pb.AttachmentMetadata',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='sync_pb.AttachmentMetadata.record', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=None,
is_extendable=False,
extension_ranges=[],
serialized_start=196,
serialized_end=267,
)
_ATTACHMENTMETADATARECORD.fields_by_name['id'].message_type = _ATTACHMENTIDPROTO
_ATTACHMENTMETADATA.fields_by_name['record'].message_type = _ATTACHMENTMETADATARECORD
DESCRIPTOR.message_types_by_name['AttachmentIdProto'] = _ATTACHMENTIDPROTO
DESCRIPTOR.message_types_by_name['AttachmentMetadataRecord'] = _ATTACHMENTMETADATARECORD
DESCRIPTOR.message_types_by_name['AttachmentMetadata'] = _ATTACHMENTMETADATA
class AttachmentIdProto(_message.Message):
__metaclass__ = _reflection.GeneratedProtocolMessageType
DESCRIPTOR = _ATTACHMENTIDPROTO
# @@protoc_insertion_point(class_scope:sync_pb.AttachmentIdProto)
class AttachmentMetadataRecord(_message.Message):
__metaclass__ = _reflection.GeneratedProtocolMessageType
DESCRIPTOR = _ATTACHMENTMETADATARECORD
# @@protoc_insertion_point(class_scope:sync_pb.AttachmentMetadataRecord)
class AttachmentMetadata(_message.Message):
__metaclass__ = _reflection.GeneratedProtocolMessageType
DESCRIPTOR = _ATTACHMENTMETADATA
# @@protoc_insertion_point(class_scope:sync_pb.AttachmentMetadata)
DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), 'H\003`\001')
# @@protoc_insertion_point(module_scope)
|