syntax = "proto3"; package bet.protobuf.rpc; option csharp_namespace = "Bet.Protobuf.Rpc"; option cc_enable_arenas = true; option java_package = "com.bet.protobuf.rpc"; option java_outer_classname = "RpcProto"; option java_multiple_files = true; option objc_class_prefix = "BetRpc"; option go_package = "bet.com/protobuf/rpc"; message Error { int32 code = 1; string message = 2; optional bytes data = 3; } enum InvalidParamsType { DATE_TIME = 0; DECIMAL = 1; EQUALS_TO = 2; FLOAT = 3; INTEGER = 4; RANGE = 5; REG_EX = 6; REQUIRED = 7; STRING_LENGTH = 8; URL = 9; } message InvalidParamsDetail { string location = 1; string param = 2; string value = 3; InvalidParamsType error_type = 4; string message = 5; }