package li.catal.communication.protocol; option optimize_for = SPEED; message InfoCommandProtocol { oneof Command{ GetBackendInfo get_backend_info = 11; } message GetBackendInfo { required string token = 1; } } message InfoMessageProtocol { oneof message{ BackendInfo info = 11; Error error = 90; } message BackendInfo { required string id = 1; repeated RoomInfo room_info = 11; message RoomInfo{ required uint32 id = 1; required uint32 capacity = 11; required uint32 free_slots = 12; required uint32 human_client_count = 13; } } message Error{ required string text = 1; } } 