MCPcopy
hub / github.com/protocolbuffers/protobuf-go / Message

Struct Message

types/dynamicpb/dynamic.go:66–71  ·  view source on GitHub ↗

A Message is a dynamically constructed protocol buffer message. Message implements the [google.golang.org/protobuf/proto.Message] interface, and may be used with all standard proto package functions such as Marshal, Unmarshal, and so forth. Message also implements the [protoreflect.Message] inter

Source from the content-addressed store, hash-verified

64//
65// Operations which modify a Message are not safe for concurrent use.
66type Message struct {
67 typ messageType
68 known map[protoreflect.FieldNumber]protoreflect.Value
69 ext map[protoreflect.FieldNumber]protoreflect.FieldDescriptor
70 unknown protoreflect.RawFields
71}
72
73var (
74 _ protoreflect.Message = (*Message)(nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected