Searched refs:OneofMessage (Results 1 – 5 of 5) sorted by relevance
73 m = OneofMessage.new79 assert OneofMessage.descriptor.lookup('a').has?(m)82 assert !OneofMessage.descriptor.lookup('b').has?(m)84 assert !OneofMessage.descriptor.lookup('c').has?(m)86 assert !OneofMessage.descriptor.lookup('d').has?(m)88 m = OneofMessage.new97 m = OneofMessage.new106 m = OneofMessage.new180 m = OneofMessage.new187 m = OneofMessage.new[all …]
41 m = OneofMessage.new48 assert_true OneofMessage.descriptor.lookup('a').has?(m)145 m = OneofMessage.new161 OneofMessage.descriptor.lookup('a').clear(m)
115 message OneofMessage { message
114 OneofMessage = pool.lookup("OneofMessage").msgclass constant777 d = OneofMessage.descriptor794 d = OneofMessage.new829 d2 = OneofMessage.decode(OneofMessage.encode(d))832 encoded_field_a = OneofMessage.encode(OneofMessage.new(:a => "string"))833 encoded_field_b = OneofMessage.encode(OneofMessage.new(:b => 1000))834 encoded_field_c = OneofMessage.encode(835 OneofMessage.new(:c => TestMessage2.new(:foo => 1)))836 encoded_field_d = OneofMessage.encode(OneofMessage.new(:d => :B))838 d3 = OneofMessage.decode([all …]