diff options
Diffstat (limited to 'codenames/v1/admin_pb2.py')
| -rw-r--r-- | codenames/v1/admin_pb2.py | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/codenames/v1/admin_pb2.py b/codenames/v1/admin_pb2.py new file mode 100644 index 0000000..402fe87 --- /dev/null +++ b/codenames/v1/admin_pb2.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: codenames/v1/admin.proto +# Protobuf Python Version: 7.34.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 7, + 34, + 1, + '', + 'codenames/v1/admin.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x63odenames/v1/admin.proto\x12\x0c\x63odenames.v1\"\x87\x02\n\rDynamicConfig\x12-\n\x12tournament_enabled\x18\x01 \x01(\x08R\x11tournamentEnabled\x12)\n\x11max_games_per_bot\x18\x02 \x01(\x05R\x0emaxGamesPerBot\x12\x45\n\x0f\x64ictionary_size\x18\x03 \x01(\x0e\x32\x1c.codenames.v1.DictionarySizeR\x0e\x64ictionarySize\x12U\n\x15\x63lue_validation_level\x18\x04 \x01(\x0e\x32!.codenames.v1.ClueValidationLevelR\x13\x63lueValidationLevel\"!\n\x0fKillGameRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x12\n\x10KillGameResponse\"\x12\n\x10GetConfigRequest\"H\n\x11GetConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.codenames.v1.DynamicConfigR\x06\x63onfig\"\xfc\x02\n\x13UpdateConfigRequest\x12\x32\n\x12tournament_enabled\x18\x01 \x01(\x08H\x00R\x11tournamentEnabled\x88\x01\x01\x12.\n\x11max_games_per_bot\x18\x02 \x01(\x05H\x01R\x0emaxGamesPerBot\x88\x01\x01\x12J\n\x0f\x64ictionary_size\x18\x03 \x01(\x0e\x32\x1c.codenames.v1.DictionarySizeH\x02R\x0e\x64ictionarySize\x88\x01\x01\x12Z\n\x15\x63lue_validation_level\x18\x04 \x01(\x0e\x32!.codenames.v1.ClueValidationLevelH\x03R\x13\x63lueValidationLevel\x88\x01\x01\x42\x15\n\x13_tournament_enabledB\x14\n\x12_max_games_per_botB\x12\n\x10_dictionary_sizeB\x18\n\x16_clue_validation_level\"K\n\x14UpdateConfigResponse\x12\x33\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1b.codenames.v1.DynamicConfigR\x06\x63onfig\"X\n\x0e\x43ontestantTeam\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n\x05vm_ip\x18\x03 \x01(\tH\x00R\x04vmIp\x88\x01\x01\x42\x08\n\x06_vm_ip\"G\n\x0cTeamTokenRef\x12\x1d\n\ntoken_hash\x18\x01 \x01(\tR\ttokenHash\x12\x18\n\x07revoked\x18\x02 \x01(\x08R\x07revoked\"L\n\x11\x43reateTeamRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x13\n\x05vm_ip\x18\x03 \x01(\tR\x04vmIp\"\\\n\x12\x43reateTeamResponse\x12\x30\n\x04team\x18\x01 \x01(\x0b\x32\x1c.codenames.v1.ContestantTeamR\x04team\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"r\n\x11UpdateTeamRequest\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x18\n\x05vm_ip\x18\x03 \x01(\tH\x01R\x04vmIp\x88\x01\x01\x42\x07\n\x05_nameB\x08\n\x06_vm_ip\"F\n\x12UpdateTeamResponse\x12\x30\n\x04team\x18\x01 \x01(\x0b\x32\x1c.codenames.v1.ContestantTeamR\x04team\"\x12\n\x10ListTeamsRequest\"G\n\x11ListTeamsResponse\x12\x32\n\x05teams\x18\x01 \x03(\x0b\x32\x1c.codenames.v1.ContestantTeamR\x05teams\"1\n\x16\x43reateTeamTokenRequest\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\"/\n\x17\x43reateTeamTokenResponse\x12\x14\n\x05token\x18\x01 \x01(\tR\x05token\"7\n\x16RevokeTeamTokenRequest\x12\x1d\n\ntoken_hash\x18\x01 \x01(\tR\ttokenHash\"3\n\x17RevokeTeamTokenResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"0\n\x15ListTeamTokensRequest\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\"L\n\x16ListTeamTokensResponse\x12\x32\n\x06tokens\x18\x01 \x03(\x0b\x32\x1a.codenames.v1.TeamTokenRefR\x06tokens\"\xf3\x01\n\x10SSHKeySubmission\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12\'\n\x0f\x63ontestant_name\x18\x02 \x01(\tR\x0e\x63ontestantName\x12\x17\n\x07team_id\x18\x03 \x01(\tR\x06teamId\x12\x1b\n\tteam_name\x18\x04 \x01(\tR\x08teamName\x12$\n\x0essh_public_key\x18\x05 \x01(\tR\x0csshPublicKey\x12\'\n\x0fkey_fingerprint\x18\x06 \x01(\tR\x0ekeyFingerprint\x12!\n\x0csubmitted_at\x18\x07 \x01(\tR\x0bsubmittedAt\"7\n\x1cListSSHKeySubmissionsRequest\x12\x17\n\x07team_id\x18\x01 \x01(\tR\x06teamId\"a\n\x1dListSSHKeySubmissionsResponse\x12@\n\x0bsubmissions\x18\x01 \x03(\x0b\x32\x1e.codenames.v1.SSHKeySubmissionR\x0bsubmissions*\x83\x01\n\x0e\x44ictionarySize\x12\x1f\n\x1b\x44ICTIONARY_SIZE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x44ICTIONARY_SIZE_SMALL\x10\x01\x12\x1a\n\x16\x44ICTIONARY_SIZE_MEDIUM\x10\x02\x12\x19\n\x15\x44ICTIONARY_SIZE_LARGE\x10\x03*\xa8\x01\n\x13\x43lueValidationLevel\x12%\n!CLUE_VALIDATION_LEVEL_UNSPECIFIED\x10\x00\x12$\n CLUE_VALIDATION_LEVEL_PERMISSIVE\x10\x01\x12\"\n\x1e\x43LUE_VALIDATION_LEVEL_STANDARD\x10\x02\x12 \n\x1c\x43LUE_VALIDATION_LEVEL_STRICT\x10\x03\x32\xfd\x06\n\x0c\x41\x64minService\x12L\n\tGetConfig\x12\x1e.codenames.v1.GetConfigRequest\x1a\x1f.codenames.v1.GetConfigResponse\x12U\n\x0cUpdateConfig\x12!.codenames.v1.UpdateConfigRequest\x1a\".codenames.v1.UpdateConfigResponse\x12O\n\nCreateTeam\x12\x1f.codenames.v1.CreateTeamRequest\x1a .codenames.v1.CreateTeamResponse\x12L\n\tListTeams\x12\x1e.codenames.v1.ListTeamsRequest\x1a\x1f.codenames.v1.ListTeamsResponse\x12O\n\nUpdateTeam\x12\x1f.codenames.v1.UpdateTeamRequest\x1a .codenames.v1.UpdateTeamResponse\x12^\n\x0f\x43reateTeamToken\x12$.codenames.v1.CreateTeamTokenRequest\x1a%.codenames.v1.CreateTeamTokenResponse\x12^\n\x0fRevokeTeamToken\x12$.codenames.v1.RevokeTeamTokenRequest\x1a%.codenames.v1.RevokeTeamTokenResponse\x12[\n\x0eListTeamTokens\x12#.codenames.v1.ListTeamTokensRequest\x1a$.codenames.v1.ListTeamTokensResponse\x12p\n\x15ListSSHKeySubmissions\x12*.codenames.v1.ListSSHKeySubmissionsRequest\x1a+.codenames.v1.ListSSHKeySubmissionsResponse\x12I\n\x08KillGame\x12\x1d.codenames.v1.KillGameRequest\x1a\x1e.codenames.v1.KillGameResponseB\x97\x01\n\x10\x63om.codenames.v1B\nAdminProtoP\x01Z&codenames/gen/codenames/v1;codenamesv1\xa2\x02\x03\x43XX\xaa\x02\x0c\x43odenames.V1\xca\x02\x0c\x43odenames\\V1\xe2\x02\x18\x43odenames\\V1\\GPBMetadata\xea\x02\rCodenames::V1b\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'codenames.v1.admin_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\020com.codenames.v1B\nAdminProtoP\001Z&codenames/gen/codenames/v1;codenamesv1\242\002\003CXX\252\002\014Codenames.V1\312\002\014Codenames\\V1\342\002\030Codenames\\V1\\GPBMetadata\352\002\rCodenames::V1' + _globals['_DICTIONARYSIZE']._serialized_start=2274 + _globals['_DICTIONARYSIZE']._serialized_end=2405 + _globals['_CLUEVALIDATIONLEVEL']._serialized_start=2408 + _globals['_CLUEVALIDATIONLEVEL']._serialized_end=2576 + _globals['_DYNAMICCONFIG']._serialized_start=43 + _globals['_DYNAMICCONFIG']._serialized_end=306 + _globals['_KILLGAMEREQUEST']._serialized_start=308 + _globals['_KILLGAMEREQUEST']._serialized_end=341 + _globals['_KILLGAMERESPONSE']._serialized_start=343 + _globals['_KILLGAMERESPONSE']._serialized_end=361 + _globals['_GETCONFIGREQUEST']._serialized_start=363 + _globals['_GETCONFIGREQUEST']._serialized_end=381 + _globals['_GETCONFIGRESPONSE']._serialized_start=383 + _globals['_GETCONFIGRESPONSE']._serialized_end=455 + _globals['_UPDATECONFIGREQUEST']._serialized_start=458 + _globals['_UPDATECONFIGREQUEST']._serialized_end=838 + _globals['_UPDATECONFIGRESPONSE']._serialized_start=840 + _globals['_UPDATECONFIGRESPONSE']._serialized_end=915 + _globals['_CONTESTANTTEAM']._serialized_start=917 + _globals['_CONTESTANTTEAM']._serialized_end=1005 + _globals['_TEAMTOKENREF']._serialized_start=1007 + _globals['_TEAMTOKENREF']._serialized_end=1078 + _globals['_CREATETEAMREQUEST']._serialized_start=1080 + _globals['_CREATETEAMREQUEST']._serialized_end=1156 + _globals['_CREATETEAMRESPONSE']._serialized_start=1158 + _globals['_CREATETEAMRESPONSE']._serialized_end=1250 + _globals['_UPDATETEAMREQUEST']._serialized_start=1252 + _globals['_UPDATETEAMREQUEST']._serialized_end=1366 + _globals['_UPDATETEAMRESPONSE']._serialized_start=1368 + _globals['_UPDATETEAMRESPONSE']._serialized_end=1438 + _globals['_LISTTEAMSREQUEST']._serialized_start=1440 + _globals['_LISTTEAMSREQUEST']._serialized_end=1458 + _globals['_LISTTEAMSRESPONSE']._serialized_start=1460 + _globals['_LISTTEAMSRESPONSE']._serialized_end=1531 + _globals['_CREATETEAMTOKENREQUEST']._serialized_start=1533 + _globals['_CREATETEAMTOKENREQUEST']._serialized_end=1582 + _globals['_CREATETEAMTOKENRESPONSE']._serialized_start=1584 + _globals['_CREATETEAMTOKENRESPONSE']._serialized_end=1631 + _globals['_REVOKETEAMTOKENREQUEST']._serialized_start=1633 + _globals['_REVOKETEAMTOKENREQUEST']._serialized_end=1688 + _globals['_REVOKETEAMTOKENRESPONSE']._serialized_start=1690 + _globals['_REVOKETEAMTOKENRESPONSE']._serialized_end=1741 + _globals['_LISTTEAMTOKENSREQUEST']._serialized_start=1743 + _globals['_LISTTEAMTOKENSREQUEST']._serialized_end=1791 + _globals['_LISTTEAMTOKENSRESPONSE']._serialized_start=1793 + _globals['_LISTTEAMTOKENSRESPONSE']._serialized_end=1869 + _globals['_SSHKEYSUBMISSION']._serialized_start=1872 + _globals['_SSHKEYSUBMISSION']._serialized_end=2115 + _globals['_LISTSSHKEYSUBMISSIONSREQUEST']._serialized_start=2117 + _globals['_LISTSSHKEYSUBMISSIONSREQUEST']._serialized_end=2172 + _globals['_LISTSSHKEYSUBMISSIONSRESPONSE']._serialized_start=2174 + _globals['_LISTSSHKEYSUBMISSIONSRESPONSE']._serialized_end=2271 + _globals['_ADMINSERVICE']._serialized_start=2579 + _globals['_ADMINSERVICE']._serialized_end=3472 +# @@protoc_insertion_point(module_scope) |