Lines Matching defs:MessageInfo
26 type MessageInfo struct { struct
28 GoReflectType reflect.Type // pointer to struct
31 Desc protoreflect.MessageDescriptor
35 Exporter exporter
38 OneofWrappers []interface{}
40 initMu sync.Mutex // protects all unexported fields
41 initDone uint32
43 reflectMessageInfo // for reflection implementation
44 coderMessageInfo // for fast-path method implementations
67 func (mi *MessageInfo) init() {
76 func (mi *MessageInfo) initOnce() {
99 func (mi *MessageInfo) getPointer(m protoreflect.Message) (p pointer, ok bool) {
142 func (mi *MessageInfo) makeStructInfo(t reflect.Type) structInfo {
220 func (mi *MessageInfo) New() protoreflect.Message {
227 func (mi *MessageInfo) Zero() protoreflect.Message {
230 func (mi *MessageInfo) Descriptor() protoreflect.MessageDescriptor {
233 func (mi *MessageInfo) Enum(i int) protoreflect.EnumType {
238 func (mi *MessageInfo) Message(i int) protoreflect.MessageType {