blob: bef775670dcb1dfd3fcd787d6e4ee7a31244b93f [file] [log] [blame]
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: proto/plugin/plugin.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='proto/plugin/plugin.proto',
package='swarming.v1',
syntax='proto3',
serialized_options=b'Z3go.chromium.org/luci/swarming/proto/plugin;pluginpb',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\x19proto/plugin/plugin.proto\x12\x0bswarming.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x06\n\x08TaskSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\x12&\n\x06slices\x18\x03 \x03(\x0b\x32\x16.swarming.v1.SliceSpec\x12*\n\x05state\x18\x04 \x01(\x0e\x32\x1b.swarming.v1.TaskSpec.State\x12\x0e\n\x06\x62ot_id\x18\x05 \x01(\t\x12\x31\n\renqueued_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcc\x01\n\rStateCategory\x12#\n\x1fTASK_STATE_CATEGORY_UNSPECIFIED\x10\x00\x12\x13\n\x0fTASK_STATE_MASK\x10\x0f\x12\x14\n\x10\x43\x41TEGORY_PENDING\x10\x10\x12\x14\n\x10\x43\x41TEGORY_RUNNING\x10 \x12\x1b\n\x17\x43\x41TEGORY_TRANSIENT_DONE\x10\x30\x12\x1b\n\x17\x43\x41TEGORY_EXECUTION_DONE\x10@\x12\x1b\n\x17\x43\x41TEGORY_NEVER_RAN_DONE\x10P\"\xdf\x03\n\x05State\x12\x16\n\x12TASK_STATE_INVALID\x10\x00\x12\x0b\n\x07PENDING\x10\x10\x12\x14\n\x10PENDING_DEDUPING\x10\x11\x12\x0b\n\x07RUNNING\x10 \x12\x1a\n\x16RUNNING_OVERHEAD_SETUP\x10!\x12\x1d\n\x19RUNNING_OVERHEAD_TEARDOWN\x10\"\x12\x0f\n\x0bTERMINATING\x10#\x12\x0e\n\nCOMPLETING\x10/\x12\x18\n\x14RAN_INTERNAL_FAILURE\x10\x30\x12\x0f\n\x0b\x44UT_FAILURE\x10\x31\x12\x13\n\x0f\x42OT_DISAPPEARED\x10\x32\x12\r\n\tPREEMPTED\x10\x33\x12\r\n\tCOMPLETED\x10@\x12\r\n\tTIMED_OUT\x10\x41\x12\x15\n\x11TIMED_OUT_SILENCE\x10\x42\x12\n\n\x06KILLED\x10\x43\x12\x12\n\x0eMISSING_INPUTS\x10\x44\x12\x0b\n\x07\x44\x45\x44UPED\x10P\x12\x0b\n\x07\x45XPIRED\x10Q\x12\x0c\n\x08\x43\x41NCELED\x10R\x12\x0f\n\x0bNO_RESOURCE\x10S\x12\r\n\tLOAD_SHED\x10T\x12\x16\n\x12RESOURCE_EXHAUSTED\x10U\x12\x1c\n\x18SKIPPED_INTERNAL_FAILURE\x10V\x12\x10\n\x0c\x43LIENT_ERROR\x10W\"\x1f\n\tSliceSpec\x12\x12\n\ndimensions\x18\x01 \x03(\t\"-\n\x07IdleBot\x12\x0e\n\x06\x62ot_id\x18\x01 \x01(\t\x12\x12\n\ndimensions\x18\x02 \x03(\t\"}\n\x12\x41ssignTasksRequest\x12\x14\n\x0cscheduler_id\x18\x01 \x01(\t\x12\'\n\tidle_bots\x18\x02 \x03(\x0b\x32\x14.swarming.v1.IdleBot\x12(\n\x04time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"G\n\x13\x41ssignTasksResponse\x12\x30\n\x0b\x61ssignments\x18\x01 \x03(\x0b\x32\x1b.swarming.v1.TaskAssignment\"G\n\x0eTaskAssignment\x12\x0e\n\x06\x62ot_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x14\n\x0cslice_number\x18\x03 \x01(\x05\"/\n\x17GetCancellationsRequest\x12\x14\n\x0cscheduler_id\x18\x01 \x01(\t\"\xa7\x02\n\x18GetCancellationsResponse\x12I\n\rcancellations\x18\x01 \x03(\x0b\x32\x32.swarming.v1.GetCancellationsResponse.Cancellation\x1a\xbf\x01\n\x0c\x43\x61ncellation\x12\x0e\n\x06\x62ot_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12I\n\x06reason\x18\x03 \x01(\x0e\x32\x39.swarming.v1.GetCancellationsResponse.Cancellation.Reason\x12\x12\n\nextra_info\x18\x04 \x01(\t\"/\n\x06Reason\x12\x0b\n\x07INVALID\x10\x00\x12\r\n\tPREEMPTED\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"`\n\x0fNotifyTasksItem\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x04task\x18\x02 \x01(\x0b\x32\x15.swarming.v1.TaskSpec\"t\n\x12NotifyTasksRequest\x12\x14\n\x0cscheduler_id\x18\x01 \x01(\t\x12\x33\n\rnotifications\x18\x02 \x03(\x0b\x32\x1c.swarming.v1.NotifyTasksItem\x12\x13\n\x0bis_callback\x18\x03 \x01(\x08\"\x15\n\x13NotifyTasksResponse\"+\n\x13GetCallbacksRequest\x12\x14\n\x0cscheduler_id\x18\x01 \x01(\t\"(\n\x14GetCallbacksResponse\x12\x10\n\x08task_ids\x18\x01 \x03(\t2\xed\x02\n\x11\x45xternalScheduler\x12P\n\x0b\x41ssignTasks\x12\x1f.swarming.v1.AssignTasksRequest\x1a .swarming.v1.AssignTasksResponse\x12_\n\x10GetCancellations\x12$.swarming.v1.GetCancellationsRequest\x1a%.swarming.v1.GetCancellationsResponse\x12P\n\x0bNotifyTasks\x12\x1f.swarming.v1.NotifyTasksRequest\x1a .swarming.v1.NotifyTasksResponse\x12S\n\x0cGetCallbacks\x12 .swarming.v1.GetCallbacksRequest\x1a!.swarming.v1.GetCallbacksResponseB5Z3go.chromium.org/luci/swarming/proto/plugin;pluginpbb\x06proto3'
,
dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
_TASKSPEC_STATECATEGORY = _descriptor.EnumDescriptor(
name='StateCategory',
full_name='swarming.v1.TaskSpec.StateCategory',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='TASK_STATE_CATEGORY_UNSPECIFIED', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='TASK_STATE_MASK', index=1, number=15,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CATEGORY_PENDING', index=2, number=16,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CATEGORY_RUNNING', index=3, number=32,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CATEGORY_TRANSIENT_DONE', index=4, number=48,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CATEGORY_EXECUTION_DONE', index=5, number=64,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CATEGORY_NEVER_RAN_DONE', index=6, number=80,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=266,
serialized_end=470,
)
_sym_db.RegisterEnumDescriptor(_TASKSPEC_STATECATEGORY)
_TASKSPEC_STATE = _descriptor.EnumDescriptor(
name='State',
full_name='swarming.v1.TaskSpec.State',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='TASK_STATE_INVALID', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='PENDING', index=1, number=16,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='PENDING_DEDUPING', index=2, number=17,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='RUNNING', index=3, number=32,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='RUNNING_OVERHEAD_SETUP', index=4, number=33,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='RUNNING_OVERHEAD_TEARDOWN', index=5, number=34,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='TERMINATING', index=6, number=35,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='COMPLETING', index=7, number=47,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='RAN_INTERNAL_FAILURE', index=8, number=48,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='DUT_FAILURE', index=9, number=49,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='BOT_DISAPPEARED', index=10, number=50,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='PREEMPTED', index=11, number=51,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='COMPLETED', index=12, number=64,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='TIMED_OUT', index=13, number=65,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='TIMED_OUT_SILENCE', index=14, number=66,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='KILLED', index=15, number=67,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='MISSING_INPUTS', index=16, number=68,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='DEDUPED', index=17, number=80,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='EXPIRED', index=18, number=81,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CANCELED', index=19, number=82,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='NO_RESOURCE', index=20, number=83,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='LOAD_SHED', index=21, number=84,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='RESOURCE_EXHAUSTED', index=22, number=85,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='SKIPPED_INTERNAL_FAILURE', index=23, number=86,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CLIENT_ERROR', index=24, number=87,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=473,
serialized_end=952,
)
_sym_db.RegisterEnumDescriptor(_TASKSPEC_STATE)
_GETCANCELLATIONSRESPONSE_CANCELLATION_REASON = _descriptor.EnumDescriptor(
name='Reason',
full_name='swarming.v1.GetCancellationsResponse.Cancellation.Reason',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='INVALID', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='PREEMPTED', index=1, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='ERROR', index=2, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=1605,
serialized_end=1652,
)
_sym_db.RegisterEnumDescriptor(_GETCANCELLATIONSRESPONSE_CANCELLATION_REASON)
_TASKSPEC = _descriptor.Descriptor(
name='TaskSpec',
full_name='swarming.v1.TaskSpec',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='swarming.v1.TaskSpec.id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='tags', full_name='swarming.v1.TaskSpec.tags', index=1,
number=2, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='slices', full_name='swarming.v1.TaskSpec.slices', index=2,
number=3, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='state', full_name='swarming.v1.TaskSpec.state', index=3,
number=4, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='bot_id', full_name='swarming.v1.TaskSpec.bot_id', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='enqueued_time', full_name='swarming.v1.TaskSpec.enqueued_time', index=5,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
_TASKSPEC_STATECATEGORY,
_TASKSPEC_STATE,
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=76,
serialized_end=952,
)
_SLICESPEC = _descriptor.Descriptor(
name='SliceSpec',
full_name='swarming.v1.SliceSpec',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='dimensions', full_name='swarming.v1.SliceSpec.dimensions', index=0,
number=1, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=954,
serialized_end=985,
)
_IDLEBOT = _descriptor.Descriptor(
name='IdleBot',
full_name='swarming.v1.IdleBot',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='bot_id', full_name='swarming.v1.IdleBot.bot_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='dimensions', full_name='swarming.v1.IdleBot.dimensions', index=1,
number=2, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=987,
serialized_end=1032,
)
_ASSIGNTASKSREQUEST = _descriptor.Descriptor(
name='AssignTasksRequest',
full_name='swarming.v1.AssignTasksRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='scheduler_id', full_name='swarming.v1.AssignTasksRequest.scheduler_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='idle_bots', full_name='swarming.v1.AssignTasksRequest.idle_bots', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='time', full_name='swarming.v1.AssignTasksRequest.time', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1034,
serialized_end=1159,
)
_ASSIGNTASKSRESPONSE = _descriptor.Descriptor(
name='AssignTasksResponse',
full_name='swarming.v1.AssignTasksResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='assignments', full_name='swarming.v1.AssignTasksResponse.assignments', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1161,
serialized_end=1232,
)
_TASKASSIGNMENT = _descriptor.Descriptor(
name='TaskAssignment',
full_name='swarming.v1.TaskAssignment',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='bot_id', full_name='swarming.v1.TaskAssignment.bot_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='task_id', full_name='swarming.v1.TaskAssignment.task_id', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='slice_number', full_name='swarming.v1.TaskAssignment.slice_number', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1234,
serialized_end=1305,
)
_GETCANCELLATIONSREQUEST = _descriptor.Descriptor(
name='GetCancellationsRequest',
full_name='swarming.v1.GetCancellationsRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='scheduler_id', full_name='swarming.v1.GetCancellationsRequest.scheduler_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1307,
serialized_end=1354,
)
_GETCANCELLATIONSRESPONSE_CANCELLATION = _descriptor.Descriptor(
name='Cancellation',
full_name='swarming.v1.GetCancellationsResponse.Cancellation',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='bot_id', full_name='swarming.v1.GetCancellationsResponse.Cancellation.bot_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='task_id', full_name='swarming.v1.GetCancellationsResponse.Cancellation.task_id', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='reason', full_name='swarming.v1.GetCancellationsResponse.Cancellation.reason', index=2,
number=3, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='extra_info', full_name='swarming.v1.GetCancellationsResponse.Cancellation.extra_info', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
_GETCANCELLATIONSRESPONSE_CANCELLATION_REASON,
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1461,
serialized_end=1652,
)
_GETCANCELLATIONSRESPONSE = _descriptor.Descriptor(
name='GetCancellationsResponse',
full_name='swarming.v1.GetCancellationsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cancellations', full_name='swarming.v1.GetCancellationsResponse.cancellations', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_GETCANCELLATIONSRESPONSE_CANCELLATION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1357,
serialized_end=1652,
)
_NOTIFYTASKSITEM = _descriptor.Descriptor(
name='NotifyTasksItem',
full_name='swarming.v1.NotifyTasksItem',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='time', full_name='swarming.v1.NotifyTasksItem.time', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='task', full_name='swarming.v1.NotifyTasksItem.task', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1654,
serialized_end=1750,
)
_NOTIFYTASKSREQUEST = _descriptor.Descriptor(
name='NotifyTasksRequest',
full_name='swarming.v1.NotifyTasksRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='scheduler_id', full_name='swarming.v1.NotifyTasksRequest.scheduler_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='notifications', full_name='swarming.v1.NotifyTasksRequest.notifications', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='is_callback', full_name='swarming.v1.NotifyTasksRequest.is_callback', index=2,
number=3, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1752,
serialized_end=1868,
)
_NOTIFYTASKSRESPONSE = _descriptor.Descriptor(
name='NotifyTasksResponse',
full_name='swarming.v1.NotifyTasksResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1870,
serialized_end=1891,
)
_GETCALLBACKSREQUEST = _descriptor.Descriptor(
name='GetCallbacksRequest',
full_name='swarming.v1.GetCallbacksRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='scheduler_id', full_name='swarming.v1.GetCallbacksRequest.scheduler_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1893,
serialized_end=1936,
)
_GETCALLBACKSRESPONSE = _descriptor.Descriptor(
name='GetCallbacksResponse',
full_name='swarming.v1.GetCallbacksResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='task_ids', full_name='swarming.v1.GetCallbacksResponse.task_ids', index=0,
number=1, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1938,
serialized_end=1978,
)
_TASKSPEC.fields_by_name['slices'].message_type = _SLICESPEC
_TASKSPEC.fields_by_name['state'].enum_type = _TASKSPEC_STATE
_TASKSPEC.fields_by_name['enqueued_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_TASKSPEC_STATECATEGORY.containing_type = _TASKSPEC
_TASKSPEC_STATE.containing_type = _TASKSPEC
_ASSIGNTASKSREQUEST.fields_by_name['idle_bots'].message_type = _IDLEBOT
_ASSIGNTASKSREQUEST.fields_by_name['time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_ASSIGNTASKSRESPONSE.fields_by_name['assignments'].message_type = _TASKASSIGNMENT
_GETCANCELLATIONSRESPONSE_CANCELLATION.fields_by_name['reason'].enum_type = _GETCANCELLATIONSRESPONSE_CANCELLATION_REASON
_GETCANCELLATIONSRESPONSE_CANCELLATION.containing_type = _GETCANCELLATIONSRESPONSE
_GETCANCELLATIONSRESPONSE_CANCELLATION_REASON.containing_type = _GETCANCELLATIONSRESPONSE_CANCELLATION
_GETCANCELLATIONSRESPONSE.fields_by_name['cancellations'].message_type = _GETCANCELLATIONSRESPONSE_CANCELLATION
_NOTIFYTASKSITEM.fields_by_name['time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_NOTIFYTASKSITEM.fields_by_name['task'].message_type = _TASKSPEC
_NOTIFYTASKSREQUEST.fields_by_name['notifications'].message_type = _NOTIFYTASKSITEM
DESCRIPTOR.message_types_by_name['TaskSpec'] = _TASKSPEC
DESCRIPTOR.message_types_by_name['SliceSpec'] = _SLICESPEC
DESCRIPTOR.message_types_by_name['IdleBot'] = _IDLEBOT
DESCRIPTOR.message_types_by_name['AssignTasksRequest'] = _ASSIGNTASKSREQUEST
DESCRIPTOR.message_types_by_name['AssignTasksResponse'] = _ASSIGNTASKSRESPONSE
DESCRIPTOR.message_types_by_name['TaskAssignment'] = _TASKASSIGNMENT
DESCRIPTOR.message_types_by_name['GetCancellationsRequest'] = _GETCANCELLATIONSREQUEST
DESCRIPTOR.message_types_by_name['GetCancellationsResponse'] = _GETCANCELLATIONSRESPONSE
DESCRIPTOR.message_types_by_name['NotifyTasksItem'] = _NOTIFYTASKSITEM
DESCRIPTOR.message_types_by_name['NotifyTasksRequest'] = _NOTIFYTASKSREQUEST
DESCRIPTOR.message_types_by_name['NotifyTasksResponse'] = _NOTIFYTASKSRESPONSE
DESCRIPTOR.message_types_by_name['GetCallbacksRequest'] = _GETCALLBACKSREQUEST
DESCRIPTOR.message_types_by_name['GetCallbacksResponse'] = _GETCALLBACKSRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
TaskSpec = _reflection.GeneratedProtocolMessageType('TaskSpec', (_message.Message,), {
'DESCRIPTOR' : _TASKSPEC,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.TaskSpec)
})
_sym_db.RegisterMessage(TaskSpec)
SliceSpec = _reflection.GeneratedProtocolMessageType('SliceSpec', (_message.Message,), {
'DESCRIPTOR' : _SLICESPEC,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.SliceSpec)
})
_sym_db.RegisterMessage(SliceSpec)
IdleBot = _reflection.GeneratedProtocolMessageType('IdleBot', (_message.Message,), {
'DESCRIPTOR' : _IDLEBOT,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.IdleBot)
})
_sym_db.RegisterMessage(IdleBot)
AssignTasksRequest = _reflection.GeneratedProtocolMessageType('AssignTasksRequest', (_message.Message,), {
'DESCRIPTOR' : _ASSIGNTASKSREQUEST,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.AssignTasksRequest)
})
_sym_db.RegisterMessage(AssignTasksRequest)
AssignTasksResponse = _reflection.GeneratedProtocolMessageType('AssignTasksResponse', (_message.Message,), {
'DESCRIPTOR' : _ASSIGNTASKSRESPONSE,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.AssignTasksResponse)
})
_sym_db.RegisterMessage(AssignTasksResponse)
TaskAssignment = _reflection.GeneratedProtocolMessageType('TaskAssignment', (_message.Message,), {
'DESCRIPTOR' : _TASKASSIGNMENT,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.TaskAssignment)
})
_sym_db.RegisterMessage(TaskAssignment)
GetCancellationsRequest = _reflection.GeneratedProtocolMessageType('GetCancellationsRequest', (_message.Message,), {
'DESCRIPTOR' : _GETCANCELLATIONSREQUEST,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.GetCancellationsRequest)
})
_sym_db.RegisterMessage(GetCancellationsRequest)
GetCancellationsResponse = _reflection.GeneratedProtocolMessageType('GetCancellationsResponse', (_message.Message,), {
'Cancellation' : _reflection.GeneratedProtocolMessageType('Cancellation', (_message.Message,), {
'DESCRIPTOR' : _GETCANCELLATIONSRESPONSE_CANCELLATION,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.GetCancellationsResponse.Cancellation)
})
,
'DESCRIPTOR' : _GETCANCELLATIONSRESPONSE,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.GetCancellationsResponse)
})
_sym_db.RegisterMessage(GetCancellationsResponse)
_sym_db.RegisterMessage(GetCancellationsResponse.Cancellation)
NotifyTasksItem = _reflection.GeneratedProtocolMessageType('NotifyTasksItem', (_message.Message,), {
'DESCRIPTOR' : _NOTIFYTASKSITEM,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.NotifyTasksItem)
})
_sym_db.RegisterMessage(NotifyTasksItem)
NotifyTasksRequest = _reflection.GeneratedProtocolMessageType('NotifyTasksRequest', (_message.Message,), {
'DESCRIPTOR' : _NOTIFYTASKSREQUEST,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.NotifyTasksRequest)
})
_sym_db.RegisterMessage(NotifyTasksRequest)
NotifyTasksResponse = _reflection.GeneratedProtocolMessageType('NotifyTasksResponse', (_message.Message,), {
'DESCRIPTOR' : _NOTIFYTASKSRESPONSE,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.NotifyTasksResponse)
})
_sym_db.RegisterMessage(NotifyTasksResponse)
GetCallbacksRequest = _reflection.GeneratedProtocolMessageType('GetCallbacksRequest', (_message.Message,), {
'DESCRIPTOR' : _GETCALLBACKSREQUEST,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.GetCallbacksRequest)
})
_sym_db.RegisterMessage(GetCallbacksRequest)
GetCallbacksResponse = _reflection.GeneratedProtocolMessageType('GetCallbacksResponse', (_message.Message,), {
'DESCRIPTOR' : _GETCALLBACKSRESPONSE,
'__module__' : 'proto.plugin.plugin_pb2'
# @@protoc_insertion_point(class_scope:swarming.v1.GetCallbacksResponse)
})
_sym_db.RegisterMessage(GetCallbacksResponse)
DESCRIPTOR._options = None
_EXTERNALSCHEDULER = _descriptor.ServiceDescriptor(
name='ExternalScheduler',
full_name='swarming.v1.ExternalScheduler',
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=1981,
serialized_end=2346,
methods=[
_descriptor.MethodDescriptor(
name='AssignTasks',
full_name='swarming.v1.ExternalScheduler.AssignTasks',
index=0,
containing_service=None,
input_type=_ASSIGNTASKSREQUEST,
output_type=_ASSIGNTASKSRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='GetCancellations',
full_name='swarming.v1.ExternalScheduler.GetCancellations',
index=1,
containing_service=None,
input_type=_GETCANCELLATIONSREQUEST,
output_type=_GETCANCELLATIONSRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='NotifyTasks',
full_name='swarming.v1.ExternalScheduler.NotifyTasks',
index=2,
containing_service=None,
input_type=_NOTIFYTASKSREQUEST,
output_type=_NOTIFYTASKSRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='GetCallbacks',
full_name='swarming.v1.ExternalScheduler.GetCallbacks',
index=3,
containing_service=None,
input_type=_GETCALLBACKSREQUEST,
output_type=_GETCALLBACKSRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_EXTERNALSCHEDULER)
DESCRIPTOR.services_by_name['ExternalScheduler'] = _EXTERNALSCHEDULER
# @@protoc_insertion_point(module_scope)