# -*- 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"\x88\x01\n\x14\x43reateUserKeyRequest\x12\x35\n\x05scope\x18\x01 \x01(\x0e\x32&.controller.CreateUserKeyRequest.Scope\x12\x12\n\x05\x61lias\x18\x02 \x01(\tH\x00\x88\x01\x01"\x1b\n\x05Scope\x12\t\n\x05\x41\x44MIN\x10\x00\x12\x07\n\x03\x41PI\x10\x01\x42\x08\n\x06_alias";\n\x15\x43reateUserKeyResponse\x12\x12\n\nkey_secret\x18\x01 \x01(\t\x12\x0e\n\x06key_id\x18\x02 \x01(\t"\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"\x93\x01\n\x0bUserKeyInfo\x12\x0e\n\x06key_id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x05scope\x18\x03 \x01(\x0e\x32&.controller.CreateUserKeyRequest.Scope\x12\r\n\x05\x61lias\x18\x04 \x01(\t"\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"\xa7\x01\n\x13MachineRequirements\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12\x17\n\nkeep_alive\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\nbase_image\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x65xposed_port\x18\x04 \x01(\x05H\x02\x88\x01\x01\x42\r\n\x0b_keep_aliveB\r\n\x0b_base_imageB\x0f\n\r_exposed_port"\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(\t"\xb4\x03\n\x1aRegisterApplicationRequest\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\x12\x1d\n\x10\x61pplication_name\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x37\n\tauth_mode\x18\x06 \x01(\x0e\x32\x1f.controller.ApplicationAuthModeH\x03\x88\x01\x01\x12\x1c\n\x0fmax_concurrency\x18\x07 \x01(\x05H\x04\x88\x01\x01\x42\x17\n\x15_machine_requirementsB\r\n\x0b_setup_funcB\x13\n\x11_application_nameB\x0c\n\n_auth_modeB\x12\n\x10_max_concurrency"z\n\x19RegisterApplicationResult\x12\x12\n\x04logs\x18\x01 \x03(\x0b\x32\x04.Log\x12>\n\x06result\x18\x02 \x01(\x0b\x32).controller.RegisterApplicationResultTypeH\x00\x88\x01\x01\x42\t\n\x07_result"7\n\x1dRegisterApplicationResultType\x12\x16\n\x0e\x61pplication_id\x18\x01 \x01(\t"\x14\n\x12ListAliasesRequest";\n\x11ListAliasesResult\x12&\n\x07\x61liases\x18\x01 \x03(\x0b\x32\x15.controller.AliasInfo"y\n\tAliasInfo\x12\r\n\x05\x61lias\x18\x01 \x01(\t\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x32\n\tauth_mode\x18\x03 \x01(\x0e\x32\x1f.controller.ApplicationAuthMode\x12\x17\n\x0fmax_concurrency\x18\x04 \x01(\x05";\n\x13RegisterCronRequest\x12\x16\n\x0e\x61pplication_id\x18\x01 \x01(\t\x12\x0c\n\x04\x63ron\x18\x02 \x01(\t"H\n\x12RegisterCronResult\x12\x32\n\x06result\x18\x01 \x01(\x0b\x32".controller.RegisterCronResultType")\n\x16RegisterCronResultType\x12\x0f\n\x07\x63ron_id\x18\x01 \x01(\t"w\n\x0e\x43ronResultType\x12\x13\n\x0b\x63ron_string\x18\x01 \x01(\t\x12\x0f\n\x07\x63ron_id\x18\x02 \x01(\t\x12,\n\x08next_run\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tis_active\x18\x04 \x01(\x08"<\n\x0fListCronsResult\x12)\n\x05\x63rons\x18\x01 \x03(\x0b\x32\x1a.controller.CronResultType"\x12\n\x10ListCronsRequest"\x8e\x01\n\x14\x41\x63tivationResultType\x12\x15\n\ractivation_id\x18\x01 \x01(\t\x12.\n\nstarted_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"N\n\x15ListActivationsResult\x12\x35\n\x0b\x61\x63tivations\x18\x01 \x03(\x0b\x32 .controller.ActivationResultType")\n\x16ListActivationsRequest\x12\x0f\n\x07\x63ron_id\x18\x01 \x01(\t"\x12\n\x10\x43\x61ncelCronResult"$\n\x11\x43\x61ncelCronRequest\x12\x0f\n\x07\x63ron_id\x18\x01 \x01(\t"B\n\x18GetActivationLogsRequest\x12\x0f\n\x07\x63ron_id\x18\x01 \x01(\t\x12\x15\n\ractivation_id\x18\x02 \x01(\t"-\n\x17GetActivationLogsResult\x12\x12\n\x04logs\x18\x01 \x03(\x0b\x32\x04.Log"\xc4\x01\n\nLogsFilter\x12\x12\n\x05lines\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x10\n\x03url\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x32\n\tfrom_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x30\n\x07to_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x42\x08\n\x06_linesB\x06\n\x04_urlB\x0c\n\n_from_timeB\n\n\x08_to_time"h\n\x0eGetLogsRequest\x12\x13\n\x06\x66ollow\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12+\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x16.controller.LogsFilterH\x01\x88\x01\x01\x42\t\n\x07_followB\t\n\x07_filter"(\n\rGetLogsResult\x12\x17\n\tlog_entry\x18\x01 \x01(\x0b\x32\x04.Log">\n\x10SetSecretRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\x05value\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_value"\x13\n\x11SetSecretResponse"\x14\n\x12ListSecretsRequest"^\n\x06Secret\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x0c\x63reated_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x42\x0f\n\r_created_time":\n\x13ListSecretsResponse\x12#\n\x07secrets\x18\x01 \x03(\x0b\x32\x12.controller.Secret*:\n\x13\x41pplicationAuthMode\x12\x0b\n\x07PRIVATE\x10\x00\x12\n\n\x06PUBLIC\x10\x01\x12\n\n\x06SHARED\x10\x02\x32\xbb\n\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\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.WorkerStatusListResponse\x12h\n\x13RegisterApplication\x12&.controller.RegisterApplicationRequest\x1a%.controller.RegisterApplicationResult"\x00\x30\x01\x12N\n\x0bListAliases\x12\x1e.controller.ListAliasesRequest\x1a\x1d.controller.ListAliasesResult"\x00\x12Q\n\x0cRegisterCron\x12\x1f.controller.RegisterCronRequest\x1a\x1e.controller.RegisterCronResult"\x00\x12K\n\nCancelCron\x12\x1d.controller.CancelCronRequest\x1a\x1c.controller.CancelCronResult"\x00\x12H\n\tListCrons\x12\x1c.controller.ListCronsRequest\x1a\x1b.controller.ListCronsResult"\x00\x12Z\n\x0fListActivations\x12".controller.ListActivationsRequest\x1a!.controller.ListActivationsResult"\x00\x12`\n\x11GetActivationLogs\x12$.controller.GetActivationLogsRequest\x1a#.controller.GetActivationLogsResult"\x00\x12\x44\n\x07GetLogs\x12\x1a.controller.GetLogsRequest\x1a\x19.controller.GetLogsResult"\x00\x30\x01\x12J\n\tSetSecret\x12\x1c.controller.SetSecretRequest\x1a\x1d.controller.SetSecretResponse"\x00\x12P\n\x0bListSecrets\x12\x1e.controller.ListSecretsRequest\x1a\x1f.controller.ListSecretsResponse"\x00\x62\x06proto3'
)

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

    DESCRIPTOR._options = None
    _APPLICATIONAUTHMODE._serialized_start = 4581
    _APPLICATIONAUTHMODE._serialized_end = 4639
    _HOSTEDMAP._serialized_start = 126
    _HOSTEDMAP._serialized_end = 348
    _HOSTEDRUN._serialized_start = 351
    _HOSTEDRUN._serialized_end = 597
    _HOSTEDRUNCRON._serialized_start = 600
    _HOSTEDRUNCRON._serialized_end = 805
    _CREATEUSERKEYREQUEST._serialized_start = 808
    _CREATEUSERKEYREQUEST._serialized_end = 944
    _CREATEUSERKEYREQUEST_SCOPE._serialized_start = 907
    _CREATEUSERKEYREQUEST_SCOPE._serialized_end = 934
    _CREATEUSERKEYRESPONSE._serialized_start = 946
    _CREATEUSERKEYRESPONSE._serialized_end = 1005
    _LISTUSERKEYSREQUEST._serialized_start = 1007
    _LISTUSERKEYSREQUEST._serialized_end = 1028
    _LISTUSERKEYSRESPONSE._serialized_start = 1030
    _LISTUSERKEYSRESPONSE._serialized_end = 1096
    _REVOKEUSERKEYREQUEST._serialized_start = 1098
    _REVOKEUSERKEYREQUEST._serialized_end = 1136
    _REVOKEUSERKEYRESPONSE._serialized_start = 1138
    _REVOKEUSERKEYRESPONSE._serialized_end = 1161
    _USERKEYINFO._serialized_start = 1164
    _USERKEYINFO._serialized_end = 1311
    _HOSTEDRUNRESULT._serialized_start = 1314
    _HOSTEDRUNRESULT._serialized_end = 1491
    _HOSTEDRUNSTATUS._serialized_start = 1494
    _HOSTEDRUNSTATUS._serialized_end = 1622
    _HOSTEDRUNSTATUS_STATE._serialized_start = 1563
    _HOSTEDRUNSTATUS_STATE._serialized_end = 1622
    _MACHINEREQUIREMENTS._serialized_start = 1625
    _MACHINEREQUIREMENTS._serialized_end = 1792
    _WORKERSTATUSLISTREQUEST._serialized_start = 1795
    _WORKERSTATUSLISTREQUEST._serialized_end = 2030
    _WORKERSTATUSLISTRESPONSE._serialized_start = 2032
    _WORKERSTATUSLISTRESPONSE._serialized_end = 2107
    _WORKERSTATUS._serialized_start = 2110
    _WORKERSTATUS._serialized_end = 2321
    _REGISTERAPPLICATIONREQUEST._serialized_start = 2324
    _REGISTERAPPLICATIONREQUEST._serialized_end = 2760
    _REGISTERAPPLICATIONRESULT._serialized_start = 2762
    _REGISTERAPPLICATIONRESULT._serialized_end = 2884
    _REGISTERAPPLICATIONRESULTTYPE._serialized_start = 2886
    _REGISTERAPPLICATIONRESULTTYPE._serialized_end = 2941
    _LISTALIASESREQUEST._serialized_start = 2943
    _LISTALIASESREQUEST._serialized_end = 2963
    _LISTALIASESRESULT._serialized_start = 2965
    _LISTALIASESRESULT._serialized_end = 3024
    _ALIASINFO._serialized_start = 3026
    _ALIASINFO._serialized_end = 3147
    _REGISTERCRONREQUEST._serialized_start = 3149
    _REGISTERCRONREQUEST._serialized_end = 3208
    _REGISTERCRONRESULT._serialized_start = 3210
    _REGISTERCRONRESULT._serialized_end = 3282
    _REGISTERCRONRESULTTYPE._serialized_start = 3284
    _REGISTERCRONRESULTTYPE._serialized_end = 3325
    _CRONRESULTTYPE._serialized_start = 3327
    _CRONRESULTTYPE._serialized_end = 3446
    _LISTCRONSRESULT._serialized_start = 3448
    _LISTCRONSRESULT._serialized_end = 3508
    _LISTCRONSREQUEST._serialized_start = 3510
    _LISTCRONSREQUEST._serialized_end = 3528
    _ACTIVATIONRESULTTYPE._serialized_start = 3531
    _ACTIVATIONRESULTTYPE._serialized_end = 3673
    _LISTACTIVATIONSRESULT._serialized_start = 3675
    _LISTACTIVATIONSRESULT._serialized_end = 3753
    _LISTACTIVATIONSREQUEST._serialized_start = 3755
    _LISTACTIVATIONSREQUEST._serialized_end = 3796
    _CANCELCRONRESULT._serialized_start = 3798
    _CANCELCRONRESULT._serialized_end = 3816
    _CANCELCRONREQUEST._serialized_start = 3818
    _CANCELCRONREQUEST._serialized_end = 3854
    _GETACTIVATIONLOGSREQUEST._serialized_start = 3856
    _GETACTIVATIONLOGSREQUEST._serialized_end = 3922
    _GETACTIVATIONLOGSRESULT._serialized_start = 3924
    _GETACTIVATIONLOGSRESULT._serialized_end = 3969
    _LOGSFILTER._serialized_start = 3972
    _LOGSFILTER._serialized_end = 4168
    _GETLOGSREQUEST._serialized_start = 4170
    _GETLOGSREQUEST._serialized_end = 4274
    _GETLOGSRESULT._serialized_start = 4276
    _GETLOGSRESULT._serialized_end = 4316
    _SETSECRETREQUEST._serialized_start = 4318
    _SETSECRETREQUEST._serialized_end = 4380
    _SETSECRETRESPONSE._serialized_start = 4382
    _SETSECRETRESPONSE._serialized_end = 4401
    _LISTSECRETSREQUEST._serialized_start = 4403
    _LISTSECRETSREQUEST._serialized_end = 4423
    _SECRET._serialized_start = 4425
    _SECRET._serialized_end = 4519
    _LISTSECRETSRESPONSE._serialized_start = 4521
    _LISTSECRETSRESPONSE._serialized_end = 4579
    _ISOLATECONTROLLER._serialized_start = 4642
    _ISOLATECONTROLLER._serialized_end = 5981
# @@protoc_insertion_point(module_scope)
