summaryrefslogtreecommitdiff
path: root/codenames/v1/types_pb2.py
blob: f57b25deafd07d5f497b43ef57dedc0e8e87d20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: codenames/v1/types.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/types.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x63odenames/v1/types.proto\x12\x0c\x63odenames.v1\"b\n\x04\x43\x61rd\x12\x12\n\x04word\x18\x01 \x01(\tR\x04word\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x16.codenames.v1.CardTypeR\x04type\x12\x1a\n\x08revealed\x18\x03 \x01(\x08R\x08revealed\"1\n\x05\x42oard\x12(\n\x05\x63\x61rds\x18\x01 \x03(\x0b\x32\x12.codenames.v1.CardR\x05\x63\x61rds\"0\n\x04\x43lue\x12\x12\n\x04word\x18\x01 \x01(\tR\x04word\x12\x14\n\x05\x63ount\x18\x02 \x01(\x05R\x05\x63ount\"\xa6\x05\n\x04Game\x12\x17\n\x07game_id\x18\x01 \x01(\tR\x06gameId\x12)\n\x05\x62oard\x18\x02 \x01(\x0b\x32\x13.codenames.v1.BoardR\x05\x62oard\x12\x35\n\x0c\x63urrent_team\x18\x03 \x01(\x0e\x32\x12.codenames.v1.TeamR\x0b\x63urrentTeam\x12-\n\x05state\x18\x04 \x01(\x0e\x32\x17.codenames.v1.GameStateR\x05state\x12$\n\x0ered_cards_left\x18\x05 \x01(\x05R\x0credCardsLeft\x12&\n\x0f\x62lue_cards_left\x18\x06 \x01(\x05R\rblueCardsLeft\x12:\n\x0c\x63urrent_clue\x18\x07 \x01(\x0b\x32\x12.codenames.v1.ClueH\x00R\x0b\x63urrentClue\x88\x01\x01\x12!\n\x0cguesses_made\x18\x08 \x01(\x05R\x0bguessesMade\x12/\n\x06winner\x18\t \x01(\x0e\x32\x12.codenames.v1.TeamH\x01R\x06winner\x88\x01\x01\x12:\n\nend_reason\x18\n \x01(\x0e\x32\x1b.codenames.v1.GameEndReasonR\tendReason\x12.\n\x13\x64isqualified_bot_id\x18\x0b \x01(\tR\x11\x64isqualifiedBotId\x12#\n\rred_spymaster\x18\x0c \x01(\tR\x0credSpymaster\x12\x1f\n\x0bred_guesser\x18\r \x01(\tR\nredGuesser\x12%\n\x0e\x62lue_spymaster\x18\x0e \x01(\tR\rblueSpymaster\x12!\n\x0c\x62lue_guesser\x18\x0f \x01(\tR\x0b\x62lueGuesserB\x0f\n\r_current_clueB\t\n\x07_winner\"\xd0\x02\n\x08GameMove\x12\x1f\n\x0bmove_number\x18\x01 \x01(\x05R\nmoveNumber\x12\x1f\n\x0b\x63lue_number\x18\x02 \x01(\x05R\nclueNumber\x12&\n\x04team\x18\x03 \x01(\x0e\x32\x12.codenames.v1.TeamR\x04team\x12!\n\x0cperformed_at\x18\x04 \x01(\tR\x0bperformedAt\x12\x38\n\nclue_given\x18\x05 \x01(\x0b\x32\x17.codenames.v1.ClueGivenH\x00R\tclueGiven\x12;\n\x0b\x63\x61rd_reveal\x18\x06 \x01(\x0b\x32\x18.codenames.v1.CardRevealH\x00R\ncardReveal\x12\x38\n\nturn_ended\x18\x07 \x01(\x0b\x32\x17.codenames.v1.TurnEndedH\x00R\tturnEndedB\x06\n\x04move\"3\n\tClueGiven\x12&\n\x04\x63lue\x18\x01 \x01(\x0b\x32\x12.codenames.v1.ClueR\x04\x63lue\"T\n\nCardReveal\x12\x1a\n\x08position\x18\x01 \x01(\x05R\x08position\x12*\n\x04type\x18\x02 \x01(\x0e\x32\x16.codenames.v1.CardTypeR\x04type\"\x0b\n\tTurnEnded\"\xbc\x03\n\x03\x42ot\x12\x15\n\x06\x62ot_id\x18\x01 \x01(\tR\x05\x62otId\x12!\n\x0cidentity_key\x18\x02 \x01(\tR\x0bidentityKey\x12\x19\n\x08\x62\x61se_url\x18\x03 \x01(\tR\x07\x62\x61seUrl\x12#\n\rregistered_at\x18\x04 \x01(\tR\x0cregisteredAt\x12&\n\x0flast_updated_at\x18\x05 \x01(\tR\rlastUpdatedAt\x12!\n\x0c\x61\x63tive_games\x18\x06 \x03(\tR\x0b\x61\x63tiveGames\x12\x1d\n\nelo_rating\x18\x07 \x01(\x05R\teloRating\x12!\n\x0cgames_played\x18\x08 \x01(\x05R\x0bgamesPlayed\x12\x12\n\x04wins\x18\t \x01(\x05R\x04wins\x12\x16\n\x06losses\x18\n \x01(\x05R\x06losses\x12\x17\n\x07team_id\x18\x0b \x01(\tR\x06teamId\x12\x12\n\x04port\x18\x0c \x01(\x05R\x04port\x12,\n\x05state\x18\r \x01(\x0e\x32\x16.codenames.v1.BotStateR\x05state\x12\'\n\x0funregistered_at\x18\x0e \x01(\tR\x0eunregisteredAt*9\n\x04Team\x12\x14\n\x10TEAM_UNSPECIFIED\x10\x00\x12\x0c\n\x08TEAM_RED\x10\x01\x12\r\n\tTEAM_BLUE\x10\x02*{\n\x08\x43\x61rdType\x12\x19\n\x15\x43\x41RD_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rCARD_TYPE_RED\x10\x01\x12\x12\n\x0e\x43\x41RD_TYPE_BLUE\x10\x02\x12\x15\n\x11\x43\x41RD_TYPE_NEUTRAL\x10\x03\x12\x16\n\x12\x43\x41RD_TYPE_ASSASSIN\x10\x04*p\n\tGameState\x12\x1a\n\x16GAME_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14GAME_STATE_SPYMASTER\x10\x01\x12\x17\n\x13GAME_STATE_GUESSING\x10\x02\x12\x14\n\x10GAME_STATE_ENDED\x10\x03*\xe7\x01\n\rGameEndReason\x12\x1f\n\x1bGAME_END_REASON_UNSPECIFIED\x10\x00\x12\x1a\n\x16GAME_END_REASON_NORMAL\x10\x01\x12$\n GAME_END_REASON_RED_DISQUALIFIED\x10\x02\x12%\n!GAME_END_REASON_BLUE_DISQUALIFIED\x10\x03\x12/\n+GAME_END_REASON_FAILED_GAME_START_NOTIFYING\x10\x04\x12\x1b\n\x17GAME_END_REASON_ABORTED\x10\x05*\xad\x01\n\x0bGuessResult\x12\x1c\n\x18GUESS_RESULT_UNSPECIFIED\x10\x00\x12\x18\n\x14GUESS_RESULT_CORRECT\x10\x01\x12\x16\n\x12GUESS_RESULT_WRONG\x10\x02\x12\x18\n\x14GUESS_RESULT_NEUTRAL\x10\x03\x12\x19\n\x15GUESS_RESULT_ASSASSIN\x10\x04\x12\x19\n\x15GUESS_RESULT_END_TURN\x10\x05*B\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x12\n\x0eROLE_SPYMASTER\x10\x01\x12\x10\n\x0cROLE_GUESSER\x10\x02*x\n\x08\x42otState\x12\x19\n\x15\x42OT_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x42OT_STATE_REGISTERED\x10\x01\x12\x1b\n\x17\x42OT_STATE_UNREGISTERING\x10\x02\x12\x1a\n\x16\x42OT_STATE_UNREGISTERED\x10\x03\x42\x97\x01\n\x10\x63om.codenames.v1B\nTypesProtoP\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.types_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\020com.codenames.v1B\nTypesProtoP\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['_TEAM']._serialized_start=1862
  _globals['_TEAM']._serialized_end=1919
  _globals['_CARDTYPE']._serialized_start=1921
  _globals['_CARDTYPE']._serialized_end=2044
  _globals['_GAMESTATE']._serialized_start=2046
  _globals['_GAMESTATE']._serialized_end=2158
  _globals['_GAMEENDREASON']._serialized_start=2161
  _globals['_GAMEENDREASON']._serialized_end=2392
  _globals['_GUESSRESULT']._serialized_start=2395
  _globals['_GUESSRESULT']._serialized_end=2568
  _globals['_ROLE']._serialized_start=2570
  _globals['_ROLE']._serialized_end=2636
  _globals['_BOTSTATE']._serialized_start=2638
  _globals['_BOTSTATE']._serialized_end=2758
  _globals['_CARD']._serialized_start=42
  _globals['_CARD']._serialized_end=140
  _globals['_BOARD']._serialized_start=142
  _globals['_BOARD']._serialized_end=191
  _globals['_CLUE']._serialized_start=193
  _globals['_CLUE']._serialized_end=241
  _globals['_GAME']._serialized_start=244
  _globals['_GAME']._serialized_end=922
  _globals['_GAMEMOVE']._serialized_start=925
  _globals['_GAMEMOVE']._serialized_end=1261
  _globals['_CLUEGIVEN']._serialized_start=1263
  _globals['_CLUEGIVEN']._serialized_end=1314
  _globals['_CARDREVEAL']._serialized_start=1316
  _globals['_CARDREVEAL']._serialized_end=1400
  _globals['_TURNENDED']._serialized_start=1402
  _globals['_TURNENDED']._serialized_end=1413
  _globals['_BOT']._serialized_start=1416
  _globals['_BOT']._serialized_end=1860
# @@protoc_insertion_point(module_scope)