| 580 | } |
| 581 | |
| 582 | type MsgWithOneof struct { |
| 583 | // Types that are valid to be assigned to Union: |
| 584 | // *MsgWithOneof_Title |
| 585 | // *MsgWithOneof_Salary |
| 586 | // *MsgWithOneof_Country |
| 587 | // *MsgWithOneof_HomeAddress |
| 588 | // *MsgWithOneof_MsgWithRequired |
| 589 | // *MsgWithOneof_NullValue |
| 590 | Union isMsgWithOneof_Union `protobuf_oneof:"union"` |
| 591 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 592 | XXX_unrecognized []byte `json:"-"` |
| 593 | XXX_sizecache int32 `json:"-"` |
| 594 | } |
| 595 | |
| 596 | func (m *MsgWithOneof) Reset() { *m = MsgWithOneof{} } |
| 597 | func (m *MsgWithOneof) String() string { return proto.CompactTextString(m) } |
nothing calls this directly
no outgoing calls
no test coverage detected