blob: ce1eb25abb8bf1e00218eb3d8b7feb2ec7d02291 [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: api/v3/api_proto/feature_objects.proto
Adrià Vilanova Martínezf5e10392021-12-07 22:55:40 +01004"""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 google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
15from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
16from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
17from api.v3.api_proto import issue_objects_pb2 as api_dot_v3_dot_api__proto_dot_issue__objects__pb2
18
19
20DESCRIPTOR = _descriptor.FileDescriptor(
21 name='api/v3/api_proto/feature_objects.proto',
22 package='monorail.v3',
23 syntax='proto3',
24 serialized_options=b'Z\020api/v3/api_proto',
25 create_key=_descriptor._internal_create_key,
26 serialized_pb=b'\n&api/v3/api_proto/feature_objects.proto\x12\x0bmonorail.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$api/v3/api_proto/issue_objects.proto\"\xac\x03\n\x07Hotlist\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12)\n\x05owner\x18\x03 \x01(\tB\x1a\xfa\x41\x14\n\x12\x61pi.crbug.com/User\xe0\x41\x02\x12(\n\x07\x65\x64itors\x18\x04 \x03(\tB\x17\xfa\x41\x14\n\x12\x61pi.crbug.com/User\x12\x14\n\x07summary\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x0f\x64\x65\x66\x61ult_columns\x18\x07 \x03(\x0b\x32\x1d.monorail.v3.IssuesListColumn\x12<\n\x0fhotlist_privacy\x18\x08 \x01(\x0e\x32#.monorail.v3.Hotlist.HotlistPrivacy\"J\n\x0eHotlistPrivacy\x12\x1f\n\x1bHOTLIST_PRIVACY_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x12\n\n\x06PUBLIC\x10\x02:1\xea\x41.\n\x15\x61pi.crbug.com/Hotlist\x12\x15hotlists/{hotlist_id}\"\x90\x02\n\x0bHotlistItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12*\n\x05issue\x18\x02 \x01(\tB\x1b\xfa\x41\x15\n\x13\x61pi.crbug.com/Issue\xe0\x41\x05\x12\x11\n\x04rank\x18\x03 \x01(\rB\x03\xe0\x41\x03\x12)\n\x05\x61\x64\x64\x65r\x18\x04 \x01(\tB\x1a\xfa\x41\x14\n\x12\x61pi.crbug.com/User\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04note\x18\x06 \x01(\t:E\xea\x41\x42\n\x19\x61pi.crbug.com/HotlistItem\x12%hotlists/{hotlist_id}/items/{item_id}B\x12Z\x10\x61pi/v3/api_protob\x06proto3'
27 ,
28 dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,api_dot_v3_dot_api__proto_dot_issue__objects__pb2.DESCRIPTOR,])
29
30
31
32_HOTLIST_HOTLISTPRIVACY = _descriptor.EnumDescriptor(
33 name='HotlistPrivacy',
34 full_name='monorail.v3.Hotlist.HotlistPrivacy',
35 filename=None,
36 file=DESCRIPTOR,
37 create_key=_descriptor._internal_create_key,
38 values=[
39 _descriptor.EnumValueDescriptor(
40 name='HOTLIST_PRIVACY_UNSPECIFIED', index=0, number=0,
41 serialized_options=None,
42 type=None,
43 create_key=_descriptor._internal_create_key),
44 _descriptor.EnumValueDescriptor(
45 name='PRIVATE', index=1, number=1,
46 serialized_options=None,
47 type=None,
48 create_key=_descriptor._internal_create_key),
49 _descriptor.EnumValueDescriptor(
50 name='PUBLIC', index=2, number=2,
51 serialized_options=None,
52 type=None,
53 create_key=_descriptor._internal_create_key),
54 ],
55 containing_type=None,
56 serialized_options=None,
57 serialized_start=490,
58 serialized_end=564,
59)
60_sym_db.RegisterEnumDescriptor(_HOTLIST_HOTLISTPRIVACY)
61
62
63_HOTLIST = _descriptor.Descriptor(
64 name='Hotlist',
65 full_name='monorail.v3.Hotlist',
66 filename=None,
67 file=DESCRIPTOR,
68 containing_type=None,
69 create_key=_descriptor._internal_create_key,
70 fields=[
71 _descriptor.FieldDescriptor(
72 name='name', full_name='monorail.v3.Hotlist.name', index=0,
73 number=1, type=9, cpp_type=9, label=1,
74 has_default_value=False, default_value=b"".decode('utf-8'),
75 message_type=None, enum_type=None, containing_type=None,
76 is_extension=False, extension_scope=None,
77 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
78 _descriptor.FieldDescriptor(
79 name='display_name', full_name='monorail.v3.Hotlist.display_name', index=1,
80 number=2, type=9, cpp_type=9, label=1,
81 has_default_value=False, default_value=b"".decode('utf-8'),
82 message_type=None, enum_type=None, containing_type=None,
83 is_extension=False, extension_scope=None,
84 serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
85 _descriptor.FieldDescriptor(
86 name='owner', full_name='monorail.v3.Hotlist.owner', index=2,
87 number=3, type=9, cpp_type=9, label=1,
88 has_default_value=False, default_value=b"".decode('utf-8'),
89 message_type=None, enum_type=None, containing_type=None,
90 is_extension=False, extension_scope=None,
91 serialized_options=b'\372A\024\n\022api.crbug.com/User\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
92 _descriptor.FieldDescriptor(
93 name='editors', full_name='monorail.v3.Hotlist.editors', index=3,
94 number=4, type=9, cpp_type=9, label=3,
95 has_default_value=False, default_value=[],
96 message_type=None, enum_type=None, containing_type=None,
97 is_extension=False, extension_scope=None,
98 serialized_options=b'\372A\024\n\022api.crbug.com/User', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
99 _descriptor.FieldDescriptor(
100 name='summary', full_name='monorail.v3.Hotlist.summary', index=4,
101 number=5, type=9, cpp_type=9, label=1,
102 has_default_value=False, default_value=b"".decode('utf-8'),
103 message_type=None, enum_type=None, containing_type=None,
104 is_extension=False, extension_scope=None,
105 serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
106 _descriptor.FieldDescriptor(
107 name='description', full_name='monorail.v3.Hotlist.description', index=5,
108 number=6, type=9, cpp_type=9, label=1,
109 has_default_value=False, default_value=b"".decode('utf-8'),
110 message_type=None, enum_type=None, containing_type=None,
111 is_extension=False, extension_scope=None,
112 serialized_options=b'\340A\002', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
113 _descriptor.FieldDescriptor(
114 name='default_columns', full_name='monorail.v3.Hotlist.default_columns', index=6,
115 number=7, type=11, cpp_type=10, label=3,
116 has_default_value=False, default_value=[],
117 message_type=None, enum_type=None, containing_type=None,
118 is_extension=False, extension_scope=None,
119 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
120 _descriptor.FieldDescriptor(
121 name='hotlist_privacy', full_name='monorail.v3.Hotlist.hotlist_privacy', index=7,
122 number=8, type=14, cpp_type=8, label=1,
123 has_default_value=False, default_value=0,
124 message_type=None, enum_type=None, containing_type=None,
125 is_extension=False, extension_scope=None,
126 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
127 ],
128 extensions=[
129 ],
130 nested_types=[],
131 enum_types=[
132 _HOTLIST_HOTLISTPRIVACY,
133 ],
134 serialized_options=b'\352A.\n\025api.crbug.com/Hotlist\022\025hotlists/{hotlist_id}',
135 is_extendable=False,
136 syntax='proto3',
137 extension_ranges=[],
138 oneofs=[
139 ],
140 serialized_start=187,
141 serialized_end=615,
142)
143
144
145_HOTLISTITEM = _descriptor.Descriptor(
146 name='HotlistItem',
147 full_name='monorail.v3.HotlistItem',
148 filename=None,
149 file=DESCRIPTOR,
150 containing_type=None,
151 create_key=_descriptor._internal_create_key,
152 fields=[
153 _descriptor.FieldDescriptor(
154 name='name', full_name='monorail.v3.HotlistItem.name', index=0,
155 number=1, type=9, cpp_type=9, label=1,
156 has_default_value=False, default_value=b"".decode('utf-8'),
157 message_type=None, enum_type=None, containing_type=None,
158 is_extension=False, extension_scope=None,
159 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
160 _descriptor.FieldDescriptor(
161 name='issue', full_name='monorail.v3.HotlistItem.issue', index=1,
162 number=2, type=9, cpp_type=9, label=1,
163 has_default_value=False, default_value=b"".decode('utf-8'),
164 message_type=None, enum_type=None, containing_type=None,
165 is_extension=False, extension_scope=None,
166 serialized_options=b'\372A\025\n\023api.crbug.com/Issue\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
167 _descriptor.FieldDescriptor(
168 name='rank', full_name='monorail.v3.HotlistItem.rank', index=2,
169 number=3, type=13, cpp_type=3, label=1,
170 has_default_value=False, default_value=0,
171 message_type=None, enum_type=None, containing_type=None,
172 is_extension=False, extension_scope=None,
173 serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
174 _descriptor.FieldDescriptor(
175 name='adder', full_name='monorail.v3.HotlistItem.adder', index=3,
176 number=4, type=9, cpp_type=9, label=1,
177 has_default_value=False, default_value=b"".decode('utf-8'),
178 message_type=None, enum_type=None, containing_type=None,
179 is_extension=False, extension_scope=None,
180 serialized_options=b'\372A\024\n\022api.crbug.com/User\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
181 _descriptor.FieldDescriptor(
182 name='create_time', full_name='monorail.v3.HotlistItem.create_time', index=4,
183 number=5, type=11, cpp_type=10, label=1,
184 has_default_value=False, default_value=None,
185 message_type=None, enum_type=None, containing_type=None,
186 is_extension=False, extension_scope=None,
187 serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
188 _descriptor.FieldDescriptor(
189 name='note', full_name='monorail.v3.HotlistItem.note', index=5,
190 number=6, type=9, cpp_type=9, label=1,
191 has_default_value=False, default_value=b"".decode('utf-8'),
192 message_type=None, enum_type=None, containing_type=None,
193 is_extension=False, extension_scope=None,
194 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
195 ],
196 extensions=[
197 ],
198 nested_types=[],
199 enum_types=[
200 ],
201 serialized_options=b'\352AB\n\031api.crbug.com/HotlistItem\022%hotlists/{hotlist_id}/items/{item_id}',
202 is_extendable=False,
203 syntax='proto3',
204 extension_ranges=[],
205 oneofs=[
206 ],
207 serialized_start=618,
208 serialized_end=890,
209)
210
211_HOTLIST.fields_by_name['default_columns'].message_type = api_dot_v3_dot_api__proto_dot_issue__objects__pb2._ISSUESLISTCOLUMN
212_HOTLIST.fields_by_name['hotlist_privacy'].enum_type = _HOTLIST_HOTLISTPRIVACY
213_HOTLIST_HOTLISTPRIVACY.containing_type = _HOTLIST
214_HOTLISTITEM.fields_by_name['create_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
215DESCRIPTOR.message_types_by_name['Hotlist'] = _HOTLIST
216DESCRIPTOR.message_types_by_name['HotlistItem'] = _HOTLISTITEM
217_sym_db.RegisterFileDescriptor(DESCRIPTOR)
218
219Hotlist = _reflection.GeneratedProtocolMessageType('Hotlist', (_message.Message,), {
220 'DESCRIPTOR' : _HOTLIST,
221 '__module__' : 'api.v3.api_proto.feature_objects_pb2'
222 # @@protoc_insertion_point(class_scope:monorail.v3.Hotlist)
223 })
224_sym_db.RegisterMessage(Hotlist)
225
226HotlistItem = _reflection.GeneratedProtocolMessageType('HotlistItem', (_message.Message,), {
227 'DESCRIPTOR' : _HOTLISTITEM,
228 '__module__' : 'api.v3.api_proto.feature_objects_pb2'
229 # @@protoc_insertion_point(class_scope:monorail.v3.HotlistItem)
230 })
231_sym_db.RegisterMessage(HotlistItem)
232
233
234DESCRIPTOR._options = None
235_HOTLIST.fields_by_name['display_name']._options = None
236_HOTLIST.fields_by_name['owner']._options = None
237_HOTLIST.fields_by_name['editors']._options = None
238_HOTLIST.fields_by_name['summary']._options = None
239_HOTLIST.fields_by_name['description']._options = None
240_HOTLIST._options = None
241_HOTLISTITEM.fields_by_name['issue']._options = None
242_HOTLISTITEM.fields_by_name['rank']._options = None
243_HOTLISTITEM.fields_by_name['adder']._options = None
244_HOTLISTITEM.fields_by_name['create_time']._options = None
245_HOTLISTITEM._options = None
246# @@protoc_insertion_point(module_scope)