# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: controller.proto
"""Generated protocol buffer code."""
from __future__ import annotations

from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from isolate.connections.grpc.definitions import common_pb2 as common__pb2
from isolate.server.definitions import server_pb2 as server__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n\x10\x63ontroller.proto\x12\ncontroller\x1a\x0c\x63ommon.proto\x1a\x0cserver.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto"\xde\x01\n\tHostedMap\x12,\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32\x16.EnvironmentDefinition\x12\x42\n\x14machine_requirements\x18\x02 \x01(\x0b\x32\x1f.controller.MachineRequirementsH\x00\x88\x01\x01\x12#\n\x08\x66unction\x18\x03 \x01(\x0b\x32\x11.SerializedObject\x12!\n\x06inputs\x18\x04 \x03(\x0b\x32\x11.SerializedObjectB\x17\n\x15_machine_requirements"\xf6\x01\n\tHostedRun\x12,\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32\x16.EnvironmentDefinition\x12\x42\n\x14machine_requirements\x18\x02 \x01(\x0b\x32\x1f.controller.MachineRequirementsH\x00\x88\x01\x01\x12#\n\x08\x66unction\x18\x03 \x01(\x0b\x32\x11.SerializedObject\x12*\n\nsetup_func\x18\x04 \x01(\x0b\x32\x11.SerializedObjectH\x01\x88\x01\x01\x42\x17\n\x15_machine_requirementsB\r\n\x0b_setup_func"\xcd\x01\n\rHostedRunCron\x12,\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32\x16.EnvironmentDefinition\x12\x42\n\x14machine_requirements\x18\x02 \x01(\x0b\x32\x1f.controller.MachineRequirementsH\x00\x88\x01\x01\x12#\n\x08\x66unction\x18\x03 \x01(\x0b\x32\x11.SerializedObject\x12\x0c\n\x04\x63ron\x18\x04 \x01(\tB\x17\n\x15_machine_requirements"+\n\x19\x43\x61ncelScheduledRunRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\t"\x1c\n\x1a\x43\x61ncelScheduledRunResponse"\x1a\n\x18ListScheduledRunsRequest"4\n"ListScheduledRunActivationsRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\t"=\n#ListScheduledRunActivationsResponse\x12\x16\n\x0e\x61\x63tivation_ids\x18\x01 \x03(\t"M\n\x19ListScheduledRunsResponse\x12\x30\n\x0escheduled_runs\x18\x01 \x03(\x0b\x32\x18.controller.ScheduleInfo"J\n!GetScheduledActivationLogsRequest\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x15\n\ractivation_id\x18\x02 \x01(\t"6\n"GetScheduledActivationLogsResponse\x12\x10\n\x08raw_logs\x18\x01 \x01(\x0c"\x16\n\x14\x43reateUserKeyRequest"e\n\x15\x43reateUserKeyResponse\x12\x12\n\nkey_secret\x18\x01 \x01(\t\x12\x0e\n\x06key_id\x18\x02 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description"\x15\n\x13ListUserKeysRequest"B\n\x14ListUserKeysResponse\x12*\n\tuser_keys\x18\x01 \x03(\x0b\x32\x17.controller.UserKeyInfo"&\n\x14RevokeUserKeyRequest\x12\x0e\n\x06key_id\x18\x01 \x01(\t"\x17\n\x15RevokeUserKeyResponse"M\n\x0bUserKeyInfo\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\x98\x01\n\x0cScheduleInfo\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12-\n\x05state\x18\x02 \x01(\x0e\x32\x1e.controller.ScheduleInfo.State\x12\x0c\n\x04\x63ron\x18\x03 \x01(\t";\n\x05State\x12\r\n\tSCHEDULED\x10\x00\x12\x14\n\x10INTERNAL_FAILURE\x10\x01\x12\r\n\tCANCELLED\x10\x02"\xb1\x01\n\x0fHostedRunResult\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x30\n\x06status\x18\x02 \x01(\x0b\x32\x1b.controller.HostedRunStatusH\x00\x88\x01\x01\x12\x12\n\x04logs\x18\x03 \x03(\x0b\x32\x04.Log\x12,\n\x0creturn_value\x18\x04 \x01(\x0b\x32\x11.SerializedObjectH\x01\x88\x01\x01\x42\t\n\x07_statusB\x0f\n\r_return_value"\x80\x01\n\x0fHostedRunStatus\x12\x30\n\x05state\x18\x01 \x01(\x0e\x32!.controller.HostedRunStatus.State";\n\x05State\x12\x0f\n\x0bIN_PROGRESS\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x14\n\x10INTERNAL_FAILURE\x10\x02"S\n\x13MachineRequirements\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12\x17\n\nkeep_alive\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\r\n\x0b_keep_alive"\xeb\x01\n\x17WorkerStatusListRequest\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x14\n\x07user_id\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x19\n\x0cmachine_type\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\r\n\x0b_start_timeB\x0b\n\t_end_timeB\n\n\x08_user_idB\x0f\n\r_machine_type"K\n\x18WorkerStatusListResponse\x12/\n\rworker_status\x18\x01 \x03(\x0b\x32\x18.controller.WorkerStatus"\xd3\x01\n\x0cWorkerStatus\x12\x11\n\tworker_id\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07user_id\x18\x05 \x01(\t\x12\x14\n\x0cmachine_type\x18\x06 \x01(\t2\x85\x08\n\x11IsolateController\x12=\n\x03Run\x12\x15.controller.HostedRun\x1a\x1b.controller.HostedRunResult"\x00\x30\x01\x12=\n\x03Map\x12\x15.controller.HostedMap\x1a\x1b.controller.HostedRunResult"\x00\x30\x01\x12\x41\n\x08Schedule\x12\x19.controller.HostedRunCron\x1a\x18.controller.ScheduleInfo"\x00\x12\x62\n\x11ListScheduledRuns\x12$.controller.ListScheduledRunsRequest\x1a%.controller.ListScheduledRunsResponse"\x00\x12\x65\n\x12\x43\x61ncelScheduledRun\x12%.controller.CancelScheduledRunRequest\x1a&.controller.CancelScheduledRunResponse"\x00\x12\x80\x01\n\x1bListScheduledRunActivations\x12..controller.ListScheduledRunActivationsRequest\x1a/.controller.ListScheduledRunActivationsResponse"\x00\x12}\n\x1aGetScheduledActivationLogs\x12-.controller.GetScheduledActivationLogsRequest\x1a..controller.GetScheduledActivationLogsResponse"\x00\x12V\n\rCreateUserKey\x12 .controller.CreateUserKeyRequest\x1a!.controller.CreateUserKeyResponse"\x00\x12S\n\x0cListUserKeys\x12\x1f.controller.ListUserKeysRequest\x1a .controller.ListUserKeysResponse"\x00\x12V\n\rRevokeUserKey\x12 .controller.RevokeUserKeyRequest\x1a!.controller.RevokeUserKeyResponse"\x00\x12]\n\x10WorkerStatusList\x12#.controller.WorkerStatusListRequest\x1a$.controller.WorkerStatusListResponseb\x06proto3'
)

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "controller_pb2", globals())
if _descriptor._USE_C_DESCRIPTORS == False:

    DESCRIPTOR._options = None
    _HOSTEDMAP._serialized_start = 126
    _HOSTEDMAP._serialized_end = 348
    _HOSTEDRUN._serialized_start = 351
    _HOSTEDRUN._serialized_end = 597
    _HOSTEDRUNCRON._serialized_start = 600
    _HOSTEDRUNCRON._serialized_end = 805
    _CANCELSCHEDULEDRUNREQUEST._serialized_start = 807
    _CANCELSCHEDULEDRUNREQUEST._serialized_end = 850
    _CANCELSCHEDULEDRUNRESPONSE._serialized_start = 852
    _CANCELSCHEDULEDRUNRESPONSE._serialized_end = 880
    _LISTSCHEDULEDRUNSREQUEST._serialized_start = 882
    _LISTSCHEDULEDRUNSREQUEST._serialized_end = 908
    _LISTSCHEDULEDRUNACTIVATIONSREQUEST._serialized_start = 910
    _LISTSCHEDULEDRUNACTIVATIONSREQUEST._serialized_end = 962
    _LISTSCHEDULEDRUNACTIVATIONSRESPONSE._serialized_start = 964
    _LISTSCHEDULEDRUNACTIVATIONSRESPONSE._serialized_end = 1025
    _LISTSCHEDULEDRUNSRESPONSE._serialized_start = 1027
    _LISTSCHEDULEDRUNSRESPONSE._serialized_end = 1104
    _GETSCHEDULEDACTIVATIONLOGSREQUEST._serialized_start = 1106
    _GETSCHEDULEDACTIVATIONLOGSREQUEST._serialized_end = 1180
    _GETSCHEDULEDACTIVATIONLOGSRESPONSE._serialized_start = 1182
    _GETSCHEDULEDACTIVATIONLOGSRESPONSE._serialized_end = 1236
    _CREATEUSERKEYREQUEST._serialized_start = 1238
    _CREATEUSERKEYREQUEST._serialized_end = 1260
    _CREATEUSERKEYRESPONSE._serialized_start = 1262
    _CREATEUSERKEYRESPONSE._serialized_end = 1363
    _LISTUSERKEYSREQUEST._serialized_start = 1365
    _LISTUSERKEYSREQUEST._serialized_end = 1386
    _LISTUSERKEYSRESPONSE._serialized_start = 1388
    _LISTUSERKEYSRESPONSE._serialized_end = 1454
    _REVOKEUSERKEYREQUEST._serialized_start = 1456
    _REVOKEUSERKEYREQUEST._serialized_end = 1494
    _REVOKEUSERKEYRESPONSE._serialized_start = 1496
    _REVOKEUSERKEYRESPONSE._serialized_end = 1519
    _USERKEYINFO._serialized_start = 1521
    _USERKEYINFO._serialized_end = 1598
    _SCHEDULEINFO._serialized_start = 1601
    _SCHEDULEINFO._serialized_end = 1753
    _SCHEDULEINFO_STATE._serialized_start = 1694
    _SCHEDULEINFO_STATE._serialized_end = 1753
    _HOSTEDRUNRESULT._serialized_start = 1756
    _HOSTEDRUNRESULT._serialized_end = 1933
    _HOSTEDRUNSTATUS._serialized_start = 1936
    _HOSTEDRUNSTATUS._serialized_end = 2064
    _HOSTEDRUNSTATUS_STATE._serialized_start = 2005
    _HOSTEDRUNSTATUS_STATE._serialized_end = 2064
    _MACHINEREQUIREMENTS._serialized_start = 2066
    _MACHINEREQUIREMENTS._serialized_end = 2149
    _WORKERSTATUSLISTREQUEST._serialized_start = 2152
    _WORKERSTATUSLISTREQUEST._serialized_end = 2387
    _WORKERSTATUSLISTRESPONSE._serialized_start = 2389
    _WORKERSTATUSLISTRESPONSE._serialized_end = 2464
    _WORKERSTATUS._serialized_start = 2467
    _WORKERSTATUS._serialized_end = 2678
    _ISOLATECONTROLLER._serialized_start = 2681
    _ISOLATECONTROLLER._serialized_end = 3710
# @@protoc_insertion_point(module_scope)
