MCPcopy
hub / github.com/golang/protobuf / MsgWithOneof

Struct MsgWithOneof

internal/testprotos/jsonpb_proto/test2.pb.go:582–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582type 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
596func (m *MsgWithOneof) Reset() { *m = MsgWithOneof{} }
597func (m *MsgWithOneof) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected