Lines Matching refs:MapMessage
109 MapMessage = pool.lookup("MapMessage").msgclass constant
213 MapMessage.new(:map_string_int32 => "hello")
627 m = MapMessage.new
631 m = MapMessage.new(
662 m = MapMessage.new(:map_string_int32 => { 1 => "I am not a number" })
667 m = MapMessage.new(
671 m2 = MapMessage.decode(MapMessage.encode(m))
674 m3 = MapMessageWireEquiv.decode(MapMessage.encode(m))
1162 m = MapMessage.new(:map_string_int32 => {"a" => 1})
1165 assert MapMessage.encode_json(m) == expected
1167 json = MapMessage.encode_json(m, :preserve_proto_fieldnames => true)
1170 m2 = MapMessage.decode_json(MapMessage.encode_json(m))