diff options
Diffstat (limited to 'codenames/v1/bot_pb2.py')
| -rw-r--r-- | codenames/v1/bot_pb2.py | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/codenames/v1/bot_pb2.py b/codenames/v1/bot_pb2.py new file mode 100644 index 0000000..f7d5576 --- /dev/null +++ b/codenames/v1/bot_pb2.py @@ -0,0 +1,62 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: codenames/v1/bot.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/bot.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from codenames.v1 import types_pb2 as codenames_dot_v1_dot_types__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x63odenames/v1/bot.proto\x12\x0c\x63odenames.v1\x1a\x18\x63odenames/v1/types.proto\"\xd1\x01\n\x12GameStartedRequest\x12\x17\n\x07game_id\x18\x01 \x01(\tR\x06gameId\x12\x15\n\x06\x62ot_id\x18\x02 \x01(\tR\x05\x62otId\x12/\n\tyour_team\x18\x03 \x01(\x0e\x32\x12.codenames.v1.TeamR\x08yourTeam\x12/\n\tyour_role\x18\x04 \x01(\x0e\x32\x12.codenames.v1.RoleR\x08yourRole\x12)\n\x05\x62oard\x18\x05 \x01(\x0b\x32\x13.codenames.v1.BoardR\x05\x62oard\"\x15\n\x13GameStartedResponse\"\xed\x02\n\x0fGiveClueRequest\x12\x17\n\x07game_id\x18\x01 \x01(\tR\x06gameId\x12\x15\n\x06\x62ot_id\x18\x02 \x01(\tR\x05\x62otId\x12\x35\n\x0c\x63urrent_team\x18\x03 \x01(\x0e\x32\x12.codenames.v1.TeamR\x0b\x63urrentTeam\x12I\n\x15moves_since_last_turn\x18\x04 \x03(\x0b\x32\x16.codenames.v1.GameMoveR\x12movesSinceLastTurn\x12$\n\x0ered_cards_left\x18\x05 \x01(\x05R\x0credCardsLeft\x12&\n\x0f\x62lue_cards_left\x18\x06 \x01(\x05R\rblueCardsLeft\x12\x1f\n\x0b\x63lue_number\x18\x07 \x01(\x05R\nclueNumber\x12\x39\n\x0b\x62ot_context\x18\x08 \x01(\x0b\x32\x18.codenames.v1.BotContextR\nbotContext\"Y\n\x10GiveClueResponse\x12;\n\tgive_clue\x18\x01 \x01(\x0b\x32\x1c.codenames.v1.GiveClueActionH\x00R\x08giveClueB\x08\n\x06\x61\x63tion\":\n\x0eGiveClueAction\x12\x12\n\x04word\x18\x01 \x01(\tR\x04word\x12\x14\n\x05\x63ount\x18\x02 \x01(\x05R\x05\x63ount\"\x98\x03\n\x10MakeGuessRequest\x12\x17\n\x07game_id\x18\x01 \x01(\tR\x06gameId\x12\x15\n\x06\x62ot_id\x18\x02 \x01(\tR\x05\x62otId\x12\x35\n\x0c\x63urrent_team\x18\x03 \x01(\x0e\x32\x12.codenames.v1.TeamR\x0b\x63urrentTeam\x12I\n\x15moves_since_last_turn\x18\x04 \x03(\x0b\x32\x16.codenames.v1.GameMoveR\x12movesSinceLastTurn\x12&\n\x04\x63lue\x18\x05 \x01(\x0b\x32\x12.codenames.v1.ClueR\x04\x63lue\x12!\n\x0cguesses_made\x18\x06 \x01(\x05R\x0bguessesMade\x12+\n\x11guesses_remaining\x18\x07 \x01(\x05R\x10guessesRemaining\x12\x1f\n\x0b\x63lue_number\x18\x08 \x01(\x05R\nclueNumber\x12\x39\n\x0b\x62ot_context\x18\t \x01(\x0b\x32\x18.codenames.v1.BotContextR\nbotContext\"\x97\x01\n\x11MakeGuessResponse\x12>\n\nguess_word\x18\x01 \x01(\x0b\x32\x1d.codenames.v1.GuessWordActionH\x00R\tguessWord\x12\x38\n\x08\x65nd_turn\x18\x02 \x01(\x0b\x32\x1b.codenames.v1.EndTurnActionH\x00R\x07\x65ndTurnB\x08\n\x06\x61\x63tion\"%\n\x0fGuessWordAction\x12\x12\n\x04word\x18\x01 \x01(\tR\x04word\"\x0f\n\rEndTurnAction\"T\n\nBotContext\x12\'\n\x0f\x63urrent_strikes\x18\x01 \x01(\x05R\x0e\x63urrentStrikes\x12\x1d\n\nlast_error\x18\x02 \x01(\tR\tlastError\"\x8a\x03\n\x10GameEndedRequest\x12\x17\n\x07game_id\x18\x01 \x01(\tR\x06gameId\x12\x15\n\x06\x62ot_id\x18\x02 \x01(\tR\x05\x62otId\x12*\n\x06winner\x18\x03 \x01(\x0e\x32\x12.codenames.v1.TeamR\x06winner\x12$\n\x0ered_cards_left\x18\x04 \x01(\x05R\x0credCardsLeft\x12&\n\x0f\x62lue_cards_left\x18\x05 \x01(\x05R\rblueCardsLeft\x12\x1f\n\x0btotal_moves\x18\x06 \x01(\x05R\ntotalMoves\x12?\n\x0fremaining_moves\x18\x07 \x03(\x0b\x32\x16.codenames.v1.GameMoveR\x0eremainingMoves\x12:\n\nend_reason\x18\x08 \x01(\x0e\x32\x1b.codenames.v1.GameEndReasonR\tendReason\x12.\n\x13\x64isqualified_bot_id\x18\t \x01(\tR\x11\x64isqualifiedBotId\"\x13\n\x11GameEndedResponse2\xc7\x02\n\nBotService\x12R\n\x0bGameStarted\x12 .codenames.v1.GameStartedRequest\x1a!.codenames.v1.GameStartedResponse\x12I\n\x08GiveClue\x12\x1d.codenames.v1.GiveClueRequest\x1a\x1e.codenames.v1.GiveClueResponse\x12L\n\tMakeGuess\x12\x1e.codenames.v1.MakeGuessRequest\x1a\x1f.codenames.v1.MakeGuessResponse\x12L\n\tGameEnded\x12\x1e.codenames.v1.GameEndedRequest\x1a\x1f.codenames.v1.GameEndedResponseB\x95\x01\n\x10\x63om.codenames.v1B\x08\x42otProtoP\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.bot_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\020com.codenames.v1B\010BotProtoP\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['_GAMESTARTEDREQUEST']._serialized_start=67 + _globals['_GAMESTARTEDREQUEST']._serialized_end=276 + _globals['_GAMESTARTEDRESPONSE']._serialized_start=278 + _globals['_GAMESTARTEDRESPONSE']._serialized_end=299 + _globals['_GIVECLUEREQUEST']._serialized_start=302 + _globals['_GIVECLUEREQUEST']._serialized_end=667 + _globals['_GIVECLUERESPONSE']._serialized_start=669 + _globals['_GIVECLUERESPONSE']._serialized_end=758 + _globals['_GIVECLUEACTION']._serialized_start=760 + _globals['_GIVECLUEACTION']._serialized_end=818 + _globals['_MAKEGUESSREQUEST']._serialized_start=821 + _globals['_MAKEGUESSREQUEST']._serialized_end=1229 + _globals['_MAKEGUESSRESPONSE']._serialized_start=1232 + _globals['_MAKEGUESSRESPONSE']._serialized_end=1383 + _globals['_GUESSWORDACTION']._serialized_start=1385 + _globals['_GUESSWORDACTION']._serialized_end=1422 + _globals['_ENDTURNACTION']._serialized_start=1424 + _globals['_ENDTURNACTION']._serialized_end=1439 + _globals['_BOTCONTEXT']._serialized_start=1441 + _globals['_BOTCONTEXT']._serialized_end=1525 + _globals['_GAMEENDEDREQUEST']._serialized_start=1528 + _globals['_GAMEENDEDREQUEST']._serialized_end=1922 + _globals['_GAMEENDEDRESPONSE']._serialized_start=1924 + _globals['_GAMEENDEDRESPONSE']._serialized_end=1943 + _globals['_BOTSERVICE']._serialized_start=1946 + _globals['_BOTSERVICE']._serialized_end=2273 +# @@protoc_insertion_point(module_scope) |