Lines Matching refs:OneofMessage
115 OneofMessage = pool.lookup("OneofMessage").msgclass constant
688 d = OneofMessage.descriptor
705 d = OneofMessage.new
740 d2 = OneofMessage.decode(OneofMessage.encode(d))
743 encoded_field_a = OneofMessage.encode(OneofMessage.new(:a => "string"))
744 encoded_field_b = OneofMessage.encode(OneofMessage.new(:b => 1000))
745 encoded_field_c = OneofMessage.encode(
746 OneofMessage.new(:c => TestMessage2.new(:foo => 1)))
747 encoded_field_d = OneofMessage.encode(OneofMessage.new(:d => :B))
749 d3 = OneofMessage.decode(
756 d4 = OneofMessage.decode(
764 d5 = OneofMessage.new(:a => "hello")
768 assert OneofMessage.encode(d5) == ''