Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | # -*- 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Ãnez | f5e1039 | 2021-12-07 22:55:40 +0100 | [diff] [blame^] | 4 | """Generated protocol buffer code.""" |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 5 | from google.protobuf import descriptor as _descriptor |
| 6 | from google.protobuf import message as _message |
| 7 | from google.protobuf import reflection as _reflection |
| 8 | from google.protobuf import symbol_database as _symbol_database |
| 9 | # @@protoc_insertion_point(imports) |
| 10 | |
| 11 | _sym_db = _symbol_database.Default() |
| 12 | |
| 13 | |
| 14 | from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 |
| 15 | from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 |
| 16 | from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 |
| 17 | from api.v3.api_proto import issue_objects_pb2 as api_dot_v3_dot_api__proto_dot_issue__objects__pb2 |
| 18 | |
| 19 | |
| 20 | DESCRIPTOR = _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 |
| 215 | DESCRIPTOR.message_types_by_name['Hotlist'] = _HOTLIST |
| 216 | DESCRIPTOR.message_types_by_name['HotlistItem'] = _HOTLISTITEM |
| 217 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 218 | |
| 219 | Hotlist = _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 | |
| 226 | HotlistItem = _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 | |
| 234 | DESCRIPTOR._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) |