blob: d473846bd7337ff321a78e77d04bb132d3963a40 [file] [log] [blame]
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +02001# -*- coding: utf-8 -*-
Copybara854996b2021-09-07 19:36:02 +00002# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: api/api_proto/features_objects.proto
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +02004"""Generated protocol buffer code."""
Copybara854996b2021-09-07 19:36:02 +00005from google.protobuf import descriptor as _descriptor
6from google.protobuf import message as _message
7from google.protobuf import reflection as _reflection
8from google.protobuf import symbol_database as _symbol_database
9# @@protoc_insertion_point(imports)
10
11_sym_db = _symbol_database.Default()
12
13
14from api.api_proto import common_pb2 as api_dot_api__proto_dot_common__pb2
15from api.api_proto import issue_objects_pb2 as api_dot_api__proto_dot_issue__objects__pb2
16
17
18DESCRIPTOR = _descriptor.FileDescriptor(
19 name='api/api_proto/features_objects.proto',
20 package='monorail',
21 syntax='proto3',
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020022 serialized_options=b'Z\'infra/monorailv2/api/api_proto;monorail',
23 create_key=_descriptor._internal_create_key,
24 serialized_pb=b'\n$api/api_proto/features_objects.proto\x12\x08monorail\x1a\x1a\x61pi/api_proto/common.proto\x1a!api/api_proto/issue_objects.proto\"\xe3\x01\n\x07Hotlist\x12$\n\towner_ref\x18\x01 \x01(\x0b\x32\x11.monorail.UserRef\x12&\n\x0b\x65\x64itor_refs\x18\x05 \x03(\x0b\x32\x11.monorail.UserRef\x12(\n\rfollower_refs\x18\x06 \x03(\x0b\x32\x11.monorail.UserRef\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07summary\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x18\n\x10\x64\x65\x66\x61ult_col_spec\x18\x07 \x01(\t\x12\x12\n\nis_private\x18\x08 \x01(\x08\"\x88\x01\n\x0bHotlistItem\x12\x1e\n\x05issue\x18\x01 \x01(\x0b\x32\x0f.monorail.Issue\x12\x0c\n\x04rank\x18\x02 \x01(\r\x12$\n\tadder_ref\x18\x03 \x01(\x0b\x32\x11.monorail.UserRef\x12\x17\n\x0f\x61\x64\x64\x65\x64_timestamp\x18\x04 \x01(\r\x12\x0c\n\x04note\x18\x05 \x01(\t\"\xc5\x01\n\x12HotlistPeopleDelta\x12(\n\rnew_owner_ref\x18\x01 \x01(\x0b\x32\x11.monorail.UserRef\x12*\n\x0f\x61\x64\x64_editor_refs\x18\x02 \x03(\x0b\x32\x11.monorail.UserRef\x12,\n\x11\x61\x64\x64_follower_refs\x18\x03 \x03(\x0b\x32\x11.monorail.UserRef\x12+\n\x10remove_user_refs\x18\x04 \x03(\x0b\x32\x11.monorail.UserRefB)Z\'infra/monorailv2/api/api_proto;monorailb\x06proto3'
Copybara854996b2021-09-07 19:36:02 +000025 ,
26 dependencies=[api_dot_api__proto_dot_common__pb2.DESCRIPTOR,api_dot_api__proto_dot_issue__objects__pb2.DESCRIPTOR,])
27
28
29
30
31_HOTLIST = _descriptor.Descriptor(
32 name='Hotlist',
33 full_name='monorail.Hotlist',
34 filename=None,
35 file=DESCRIPTOR,
36 containing_type=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020037 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +000038 fields=[
39 _descriptor.FieldDescriptor(
40 name='owner_ref', full_name='monorail.Hotlist.owner_ref', index=0,
41 number=1, type=11, cpp_type=10, label=1,
42 has_default_value=False, default_value=None,
43 message_type=None, enum_type=None, containing_type=None,
44 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020045 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000046 _descriptor.FieldDescriptor(
47 name='editor_refs', full_name='monorail.Hotlist.editor_refs', index=1,
48 number=5, type=11, cpp_type=10, label=3,
49 has_default_value=False, default_value=[],
50 message_type=None, enum_type=None, containing_type=None,
51 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020052 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000053 _descriptor.FieldDescriptor(
54 name='follower_refs', full_name='monorail.Hotlist.follower_refs', index=2,
55 number=6, type=11, cpp_type=10, label=3,
56 has_default_value=False, default_value=[],
57 message_type=None, enum_type=None, containing_type=None,
58 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020059 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000060 _descriptor.FieldDescriptor(
61 name='name', full_name='monorail.Hotlist.name', index=3,
62 number=2, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020063 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +000064 message_type=None, enum_type=None, containing_type=None,
65 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020066 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000067 _descriptor.FieldDescriptor(
68 name='summary', full_name='monorail.Hotlist.summary', index=4,
69 number=3, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020070 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +000071 message_type=None, enum_type=None, containing_type=None,
72 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020073 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000074 _descriptor.FieldDescriptor(
75 name='description', full_name='monorail.Hotlist.description', index=5,
76 number=4, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020077 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +000078 message_type=None, enum_type=None, containing_type=None,
79 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020080 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000081 _descriptor.FieldDescriptor(
82 name='default_col_spec', full_name='monorail.Hotlist.default_col_spec', index=6,
83 number=7, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020084 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +000085 message_type=None, enum_type=None, containing_type=None,
86 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020087 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000088 _descriptor.FieldDescriptor(
89 name='is_private', full_name='monorail.Hotlist.is_private', index=7,
90 number=8, type=8, cpp_type=7, label=1,
91 has_default_value=False, default_value=False,
92 message_type=None, enum_type=None, containing_type=None,
93 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +020094 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +000095 ],
96 extensions=[
97 ],
98 nested_types=[],
99 enum_types=[
100 ],
101 serialized_options=None,
102 is_extendable=False,
103 syntax='proto3',
104 extension_ranges=[],
105 oneofs=[
106 ],
107 serialized_start=114,
108 serialized_end=341,
109)
110
111
112_HOTLISTITEM = _descriptor.Descriptor(
113 name='HotlistItem',
114 full_name='monorail.HotlistItem',
115 filename=None,
116 file=DESCRIPTOR,
117 containing_type=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200118 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +0000119 fields=[
120 _descriptor.FieldDescriptor(
121 name='issue', full_name='monorail.HotlistItem.issue', index=0,
122 number=1, type=11, cpp_type=10, label=1,
123 has_default_value=False, default_value=None,
124 message_type=None, enum_type=None, containing_type=None,
125 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200126 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000127 _descriptor.FieldDescriptor(
128 name='rank', full_name='monorail.HotlistItem.rank', index=1,
129 number=2, type=13, cpp_type=3, label=1,
130 has_default_value=False, default_value=0,
131 message_type=None, enum_type=None, containing_type=None,
132 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200133 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000134 _descriptor.FieldDescriptor(
135 name='adder_ref', full_name='monorail.HotlistItem.adder_ref', index=2,
136 number=3, type=11, cpp_type=10, label=1,
137 has_default_value=False, default_value=None,
138 message_type=None, enum_type=None, containing_type=None,
139 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200140 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000141 _descriptor.FieldDescriptor(
142 name='added_timestamp', full_name='monorail.HotlistItem.added_timestamp', index=3,
143 number=4, type=13, cpp_type=3, label=1,
144 has_default_value=False, default_value=0,
145 message_type=None, enum_type=None, containing_type=None,
146 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200147 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000148 _descriptor.FieldDescriptor(
149 name='note', full_name='monorail.HotlistItem.note', index=4,
150 number=5, type=9, cpp_type=9, label=1,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200151 has_default_value=False, default_value=b"".decode('utf-8'),
Copybara854996b2021-09-07 19:36:02 +0000152 message_type=None, enum_type=None, containing_type=None,
153 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200154 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000155 ],
156 extensions=[
157 ],
158 nested_types=[],
159 enum_types=[
160 ],
161 serialized_options=None,
162 is_extendable=False,
163 syntax='proto3',
164 extension_ranges=[],
165 oneofs=[
166 ],
167 serialized_start=344,
168 serialized_end=480,
169)
170
171
172_HOTLISTPEOPLEDELTA = _descriptor.Descriptor(
173 name='HotlistPeopleDelta',
174 full_name='monorail.HotlistPeopleDelta',
175 filename=None,
176 file=DESCRIPTOR,
177 containing_type=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200178 create_key=_descriptor._internal_create_key,
Copybara854996b2021-09-07 19:36:02 +0000179 fields=[
180 _descriptor.FieldDescriptor(
181 name='new_owner_ref', full_name='monorail.HotlistPeopleDelta.new_owner_ref', index=0,
182 number=1, type=11, cpp_type=10, label=1,
183 has_default_value=False, default_value=None,
184 message_type=None, enum_type=None, containing_type=None,
185 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200186 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000187 _descriptor.FieldDescriptor(
188 name='add_editor_refs', full_name='monorail.HotlistPeopleDelta.add_editor_refs', index=1,
189 number=2, type=11, cpp_type=10, label=3,
190 has_default_value=False, default_value=[],
191 message_type=None, enum_type=None, containing_type=None,
192 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200193 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000194 _descriptor.FieldDescriptor(
195 name='add_follower_refs', full_name='monorail.HotlistPeopleDelta.add_follower_refs', index=2,
196 number=3, type=11, cpp_type=10, label=3,
197 has_default_value=False, default_value=[],
198 message_type=None, enum_type=None, containing_type=None,
199 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200200 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000201 _descriptor.FieldDescriptor(
202 name='remove_user_refs', full_name='monorail.HotlistPeopleDelta.remove_user_refs', index=3,
203 number=4, type=11, cpp_type=10, label=3,
204 has_default_value=False, default_value=[],
205 message_type=None, enum_type=None, containing_type=None,
206 is_extension=False, extension_scope=None,
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200207 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
Copybara854996b2021-09-07 19:36:02 +0000208 ],
209 extensions=[
210 ],
211 nested_types=[],
212 enum_types=[
213 ],
214 serialized_options=None,
215 is_extendable=False,
216 syntax='proto3',
217 extension_ranges=[],
218 oneofs=[
219 ],
220 serialized_start=483,
221 serialized_end=680,
222)
223
224_HOTLIST.fields_by_name['owner_ref'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
225_HOTLIST.fields_by_name['editor_refs'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
226_HOTLIST.fields_by_name['follower_refs'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
227_HOTLISTITEM.fields_by_name['issue'].message_type = api_dot_api__proto_dot_issue__objects__pb2._ISSUE
228_HOTLISTITEM.fields_by_name['adder_ref'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
229_HOTLISTPEOPLEDELTA.fields_by_name['new_owner_ref'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
230_HOTLISTPEOPLEDELTA.fields_by_name['add_editor_refs'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
231_HOTLISTPEOPLEDELTA.fields_by_name['add_follower_refs'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
232_HOTLISTPEOPLEDELTA.fields_by_name['remove_user_refs'].message_type = api_dot_api__proto_dot_common__pb2._USERREF
233DESCRIPTOR.message_types_by_name['Hotlist'] = _HOTLIST
234DESCRIPTOR.message_types_by_name['HotlistItem'] = _HOTLISTITEM
235DESCRIPTOR.message_types_by_name['HotlistPeopleDelta'] = _HOTLISTPEOPLEDELTA
236_sym_db.RegisterFileDescriptor(DESCRIPTOR)
237
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200238Hotlist = _reflection.GeneratedProtocolMessageType('Hotlist', (_message.Message,), {
239 'DESCRIPTOR' : _HOTLIST,
240 '__module__' : 'api.api_proto.features_objects_pb2'
Copybara854996b2021-09-07 19:36:02 +0000241 # @@protoc_insertion_point(class_scope:monorail.Hotlist)
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200242 })
Copybara854996b2021-09-07 19:36:02 +0000243_sym_db.RegisterMessage(Hotlist)
244
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200245HotlistItem = _reflection.GeneratedProtocolMessageType('HotlistItem', (_message.Message,), {
246 'DESCRIPTOR' : _HOTLISTITEM,
247 '__module__' : 'api.api_proto.features_objects_pb2'
Copybara854996b2021-09-07 19:36:02 +0000248 # @@protoc_insertion_point(class_scope:monorail.HotlistItem)
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200249 })
Copybara854996b2021-09-07 19:36:02 +0000250_sym_db.RegisterMessage(HotlistItem)
251
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200252HotlistPeopleDelta = _reflection.GeneratedProtocolMessageType('HotlistPeopleDelta', (_message.Message,), {
253 'DESCRIPTOR' : _HOTLISTPEOPLEDELTA,
254 '__module__' : 'api.api_proto.features_objects_pb2'
Copybara854996b2021-09-07 19:36:02 +0000255 # @@protoc_insertion_point(class_scope:monorail.HotlistPeopleDelta)
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200256 })
Copybara854996b2021-09-07 19:36:02 +0000257_sym_db.RegisterMessage(HotlistPeopleDelta)
258
259
Adrià Vilanova Martínezde942802022-07-15 14:06:55 +0200260DESCRIPTOR._options = None
Copybara854996b2021-09-07 19:36:02 +0000261# @@protoc_insertion_point(module_scope)