OLD | NEW |
1 # Copyright 2015 The LUCI 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 under the Apache License, Version 2.0 |
3 # found in the LICENSE file. | 3 # that can be 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 |
12 | 12 |
13 | 13 |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 | 401 |
402 | 402 |
403 class DeletedResponse(messages.Message): | 403 class DeletedResponse(messages.Message): |
404 """Indicates whether a bot was deleted.""" | 404 """Indicates whether a bot was deleted.""" |
405 deleted = messages.BooleanField(1) | 405 deleted = messages.BooleanField(1) |
406 | 406 |
407 | 407 |
408 class TerminateResponse(messages.Message): | 408 class TerminateResponse(messages.Message): |
409 """Returns the pseudo taskid to wait for the bot to shut down.""" | 409 """Returns the pseudo taskid to wait for the bot to shut down.""" |
410 task_id = messages.StringField(1) | 410 task_id = messages.StringField(1) |
OLD | NEW |