Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Side by Side Diff: appengine/swarming/proto/bots_pb2.py

Issue 2404883002: Add links to MP and resolve minor fixes (Closed)
Patch Set: Address Polymer comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/swarming/handlers_endpoints_test.py ('k') | appengine/swarming/proto/config.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Generated by the protocol buffer compiler. DO NOT EDIT! 1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: bots.proto 2 # source: bots.proto
3 3
4 import sys
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
4 from google.protobuf import descriptor as _descriptor 6 from google.protobuf import descriptor as _descriptor
5 from google.protobuf import message as _message 7 from google.protobuf import message as _message
6 from google.protobuf import reflection as _reflection 8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database
7 from google.protobuf import descriptor_pb2 10 from google.protobuf import descriptor_pb2
8 # @@protoc_insertion_point(imports) 11 # @@protoc_insertion_point(imports)
9 12
13 _sym_db = _symbol_database.Default()
14
10 15
11 16
12 17
13 DESCRIPTOR = _descriptor.FileDescriptor( 18 DESCRIPTOR = _descriptor.FileDescriptor(
14 name='bots.proto', 19 name='bots.proto',
15 package='', 20 package='',
16 serialized_pb='\n\nbots.proto\"C\n\x07\x42otsCfg\x12\x1a\n\x12trusted_dimensio ns\x18\x01 \x03(\t\x12\x1c\n\tbot_group\x18\x02 \x03(\x0b\x32\t.BotGroup\"m\n\x0 8\x42otGroup\x12\x0e\n\x06\x62ot_id\x18\x01 \x03(\t\x12\x15\n\rbot_id_prefix\x18 \x02 \x03(\t\x12\x16\n\x04\x61uth\x18\x14 \x01(\x0b\x32\x08.BotAuth\x12\x0e\n\x0 6owners\x18\x15 \x03(\t\x12\x12\n\ndimensions\x18\x16 \x03(\t\"d\n\x07\x42otAuth \x12\"\n\x1arequire_luci_machine_token\x18\x01 \x01(\x08\x12\x1f\n\x17require_se rvice_account\x18\x02 \x01(\t\x12\x14\n\x0cip_whitelist\x18\x03 \x01(\t') 21 syntax='proto2',
22 serialized_pb=_b('\n\nbots.proto\"C\n\x07\x42otsCfg\x12\x1a\n\x12trusted_dimen sions\x18\x01 \x03(\t\x12\x1c\n\tbot_group\x18\x02 \x03(\x0b\x32\t.BotGroup\"m\n \x08\x42otGroup\x12\x0e\n\x06\x62ot_id\x18\x01 \x03(\t\x12\x15\n\rbot_id_prefix\ x18\x02 \x03(\t\x12\x16\n\x04\x61uth\x18\x14 \x01(\x0b\x32\x08.BotAuth\x12\x0e\n \x06owners\x18\x15 \x03(\t\x12\x12\n\ndimensions\x18\x16 \x03(\t\"d\n\x07\x42otA uth\x12\"\n\x1arequire_luci_machine_token\x18\x01 \x01(\x08\x12\x1f\n\x17require _service_account\x18\x02 \x01(\t\x12\x14\n\x0cip_whitelist\x18\x03 \x01(\t')
23 )
24 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
17 25
18 26
19 27
20 28
21 _BOTSCFG = _descriptor.Descriptor( 29 _BOTSCFG = _descriptor.Descriptor(
22 name='BotsCfg', 30 name='BotsCfg',
23 full_name='BotsCfg', 31 full_name='BotsCfg',
24 filename=None, 32 filename=None,
25 file=DESCRIPTOR, 33 file=DESCRIPTOR,
26 containing_type=None, 34 containing_type=None,
(...skipping 13 matching lines...) Expand all
40 is_extension=False, extension_scope=None, 48 is_extension=False, extension_scope=None,
41 options=None), 49 options=None),
42 ], 50 ],
43 extensions=[ 51 extensions=[
44 ], 52 ],
45 nested_types=[], 53 nested_types=[],
46 enum_types=[ 54 enum_types=[
47 ], 55 ],
48 options=None, 56 options=None,
49 is_extendable=False, 57 is_extendable=False,
58 syntax='proto2',
50 extension_ranges=[], 59 extension_ranges=[],
60 oneofs=[
61 ],
51 serialized_start=14, 62 serialized_start=14,
52 serialized_end=81, 63 serialized_end=81,
53 ) 64 )
54 65
55 66
56 _BOTGROUP = _descriptor.Descriptor( 67 _BOTGROUP = _descriptor.Descriptor(
57 name='BotGroup', 68 name='BotGroup',
58 full_name='BotGroup', 69 full_name='BotGroup',
59 filename=None, 70 filename=None,
60 file=DESCRIPTOR, 71 file=DESCRIPTOR,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 is_extension=False, extension_scope=None, 107 is_extension=False, extension_scope=None,
97 options=None), 108 options=None),
98 ], 109 ],
99 extensions=[ 110 extensions=[
100 ], 111 ],
101 nested_types=[], 112 nested_types=[],
102 enum_types=[ 113 enum_types=[
103 ], 114 ],
104 options=None, 115 options=None,
105 is_extendable=False, 116 is_extendable=False,
117 syntax='proto2',
106 extension_ranges=[], 118 extension_ranges=[],
119 oneofs=[
120 ],
107 serialized_start=83, 121 serialized_start=83,
108 serialized_end=192, 122 serialized_end=192,
109 ) 123 )
110 124
111 125
112 _BOTAUTH = _descriptor.Descriptor( 126 _BOTAUTH = _descriptor.Descriptor(
113 name='BotAuth', 127 name='BotAuth',
114 full_name='BotAuth', 128 full_name='BotAuth',
115 filename=None, 129 filename=None,
116 file=DESCRIPTOR, 130 file=DESCRIPTOR,
117 containing_type=None, 131 containing_type=None,
118 fields=[ 132 fields=[
119 _descriptor.FieldDescriptor( 133 _descriptor.FieldDescriptor(
120 name='require_luci_machine_token', full_name='BotAuth.require_luci_machine _token', index=0, 134 name='require_luci_machine_token', full_name='BotAuth.require_luci_machine _token', index=0,
121 number=1, type=8, cpp_type=7, label=1, 135 number=1, type=8, cpp_type=7, label=1,
122 has_default_value=False, default_value=False, 136 has_default_value=False, default_value=False,
123 message_type=None, enum_type=None, containing_type=None, 137 message_type=None, enum_type=None, containing_type=None,
124 is_extension=False, extension_scope=None, 138 is_extension=False, extension_scope=None,
125 options=None), 139 options=None),
126 _descriptor.FieldDescriptor( 140 _descriptor.FieldDescriptor(
127 name='require_service_account', full_name='BotAuth.require_service_account ', index=1, 141 name='require_service_account', full_name='BotAuth.require_service_account ', index=1,
128 number=2, type=9, cpp_type=9, label=1, 142 number=2, type=9, cpp_type=9, label=1,
129 has_default_value=False, default_value=unicode("", "utf-8"), 143 has_default_value=False, default_value=_b("").decode('utf-8'),
130 message_type=None, enum_type=None, containing_type=None, 144 message_type=None, enum_type=None, containing_type=None,
131 is_extension=False, extension_scope=None, 145 is_extension=False, extension_scope=None,
132 options=None), 146 options=None),
133 _descriptor.FieldDescriptor( 147 _descriptor.FieldDescriptor(
134 name='ip_whitelist', full_name='BotAuth.ip_whitelist', index=2, 148 name='ip_whitelist', full_name='BotAuth.ip_whitelist', index=2,
135 number=3, type=9, cpp_type=9, label=1, 149 number=3, type=9, cpp_type=9, label=1,
136 has_default_value=False, default_value=unicode("", "utf-8"), 150 has_default_value=False, default_value=_b("").decode('utf-8'),
137 message_type=None, enum_type=None, containing_type=None, 151 message_type=None, enum_type=None, containing_type=None,
138 is_extension=False, extension_scope=None, 152 is_extension=False, extension_scope=None,
139 options=None), 153 options=None),
140 ], 154 ],
141 extensions=[ 155 extensions=[
142 ], 156 ],
143 nested_types=[], 157 nested_types=[],
144 enum_types=[ 158 enum_types=[
145 ], 159 ],
146 options=None, 160 options=None,
147 is_extendable=False, 161 is_extendable=False,
162 syntax='proto2',
148 extension_ranges=[], 163 extension_ranges=[],
164 oneofs=[
165 ],
149 serialized_start=194, 166 serialized_start=194,
150 serialized_end=294, 167 serialized_end=294,
151 ) 168 )
152 169
153 _BOTSCFG.fields_by_name['bot_group'].message_type = _BOTGROUP 170 _BOTSCFG.fields_by_name['bot_group'].message_type = _BOTGROUP
154 _BOTGROUP.fields_by_name['auth'].message_type = _BOTAUTH 171 _BOTGROUP.fields_by_name['auth'].message_type = _BOTAUTH
155 DESCRIPTOR.message_types_by_name['BotsCfg'] = _BOTSCFG 172 DESCRIPTOR.message_types_by_name['BotsCfg'] = _BOTSCFG
156 DESCRIPTOR.message_types_by_name['BotGroup'] = _BOTGROUP 173 DESCRIPTOR.message_types_by_name['BotGroup'] = _BOTGROUP
157 DESCRIPTOR.message_types_by_name['BotAuth'] = _BOTAUTH 174 DESCRIPTOR.message_types_by_name['BotAuth'] = _BOTAUTH
158 175
159 class BotsCfg(_message.Message): 176 BotsCfg = _reflection.GeneratedProtocolMessageType('BotsCfg', (_message.Message, ), dict(
160 __metaclass__ = _reflection.GeneratedProtocolMessageType 177 DESCRIPTOR = _BOTSCFG,
161 DESCRIPTOR = _BOTSCFG 178 __module__ = 'bots_pb2'
179 # @@protoc_insertion_point(class_scope:BotsCfg)
180 ))
181 _sym_db.RegisterMessage(BotsCfg)
162 182
163 # @@protoc_insertion_point(class_scope:BotsCfg) 183 BotGroup = _reflection.GeneratedProtocolMessageType('BotGroup', (_message.Messag e,), dict(
184 DESCRIPTOR = _BOTGROUP,
185 __module__ = 'bots_pb2'
186 # @@protoc_insertion_point(class_scope:BotGroup)
187 ))
188 _sym_db.RegisterMessage(BotGroup)
164 189
165 class BotGroup(_message.Message): 190 BotAuth = _reflection.GeneratedProtocolMessageType('BotAuth', (_message.Message, ), dict(
166 __metaclass__ = _reflection.GeneratedProtocolMessageType 191 DESCRIPTOR = _BOTAUTH,
167 DESCRIPTOR = _BOTGROUP 192 __module__ = 'bots_pb2'
168
169 # @@protoc_insertion_point(class_scope:BotGroup)
170
171 class BotAuth(_message.Message):
172 __metaclass__ = _reflection.GeneratedProtocolMessageType
173 DESCRIPTOR = _BOTAUTH
174
175 # @@protoc_insertion_point(class_scope:BotAuth) 193 # @@protoc_insertion_point(class_scope:BotAuth)
194 ))
195 _sym_db.RegisterMessage(BotAuth)
176 196
177 197
178 # @@protoc_insertion_point(module_scope) 198 # @@protoc_insertion_point(module_scope)
OLDNEW
« no previous file with comments | « appengine/swarming/handlers_endpoints_test.py ('k') | appengine/swarming/proto/config.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698