Searched refs:MsgWithOneof (Results 1 – 3 of 3) sorted by relevance
/external/golang-protobuf/jsonpb/jsonpb_test_proto/ |
D | test_objects.pb.go | 582 type MsgWithOneof struct { struct 595 func (m *MsgWithOneof) Reset() { *m = MsgWithOneof{} } argument 596 func (m *MsgWithOneof) String() string { return proto.CompactTextString(m) } argument 597 func (*MsgWithOneof) ProtoMessage() {} argument 598 func (*MsgWithOneof) Descriptor() ([]byte, []int) { argument 602 func (m *MsgWithOneof) XXX_Unmarshal(b []byte) error { argument 605 func (m *MsgWithOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument 608 func (m *MsgWithOneof) XXX_Merge(src proto.Message) { argument 611 func (m *MsgWithOneof) XXX_Size() int { argument 614 func (m *MsgWithOneof) XXX_DiscardUnknown() { argument [all …]
|
D | test_objects.proto | 112 message MsgWithOneof { message
|
/external/golang-protobuf/jsonpb/ |
D | jsonpb_test.go | 467 {"oneof, not set", marshaler, &pb.MsgWithOneof{}, `{}`}, 468 …{"oneof, set", marshaler, &pb.MsgWithOneof{Union: &pb.MsgWithOneof_Title{"Grand Poobah"}}, `{"titl… 683 pb: &pb.MsgWithOneof{ 752 …{"oneof", Unmarshaler{}, `{"salary":31000}`, &pb.MsgWithOneof{Union: &pb.MsgWithOneof_Salary{31000… 753 …{"oneof spec name", Unmarshaler{}, `{"Country":"Australia"}`, &pb.MsgWithOneof{Union: &pb.MsgWithO… 754 …{"oneof orig_name", Unmarshaler{}, `{"Country":"Australia"}`, &pb.MsgWithOneof{Union: &pb.MsgWithO… 755 …{"oneof spec name2", Unmarshaler{}, `{"homeAddress":"Australia"}`, &pb.MsgWithOneof{Union: &pb.Msg… 756 …{"oneof orig_name2", Unmarshaler{}, `{"home_address":"Australia"}`, &pb.MsgWithOneof{Union: &pb.Ms… 1206 pb: &pb.MsgWithOneof{}, 1211 pb: &pb.MsgWithOneof{},
|