OLD | NEW |
1 # Copyright 2015 The Swarming Authors. All rights reserved. | 1 # Copyright 2015 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """This module defines ProtoRPC types for the Swarming Server handlers.""" | 5 """This module defines ProtoRPC types for the Swarming Server handlers.""" |
6 | 6 |
7 from protorpc import message_types | 7 from protorpc import message_types |
8 from protorpc import messages | 8 from protorpc import messages |
9 | 9 |
10 | 10 |
11 ### Enums | 11 ### Enums |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 | 339 |
340 | 340 |
341 class DeletedResponse(messages.Message): | 341 class DeletedResponse(messages.Message): |
342 """Indicates whether a bot was deleted.""" | 342 """Indicates whether a bot was deleted.""" |
343 deleted = messages.BooleanField(1) | 343 deleted = messages.BooleanField(1) |
344 | 344 |
345 | 345 |
346 class TerminateResponse(messages.Message): | 346 class TerminateResponse(messages.Message): |
347 """Returns the pseudo taskid to wait for the bot to shut down.""" | 347 """Returns the pseudo taskid to wait for the bot to shut down.""" |
348 task_id = messages.StringField(1) | 348 task_id = messages.StringField(1) |
OLD | NEW |