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

Interface Message

descriptor/descriptor.go:32–35  ·  descriptor/descriptor.go::Message

Message is proto.Message with a method to return its descriptor. Deprecated: The Descriptor method may not be generated by future versions of protoc-gen-go, meaning that this interface may not be implemented by many concrete message types.

Source from the content-addressed store, hash-verified

30// versions of protoc-gen-go, meaning that this interface may not
31// be implemented by many concrete message types.
32type Message interface {
33 proto.Message
34 Descriptor() ([]byte, []int)
35}
36
37// ForMessage returns the file descriptor proto containing
38// the message and the message descriptor proto for the message itself.

Callers 17

marshalAnyMethod · 0.95
unmarshalMessageMethod · 0.95
unmarshalMessageMethod · 0.65
setDefaultsFunction · 0.65
HasExtensionFunction · 0.65
ClearExtensionFunction · 0.65
ClearAllExtensionsFunction · 0.65
TestEnumDescriptorFunction · 0.45
TestMessageDescriptorFunction · 0.45
mainFunction · 0.45
TypeNameMethod · 0.45

Implementers 15

Simple3internal/testprotos/jsonpb_proto/test3
SimpleSlice3internal/testprotos/jsonpb_proto/test3
SimpleMap3internal/testprotos/jsonpb_proto/test3
SimpleNull3internal/testprotos/jsonpb_proto/test3
Mappyinternal/testprotos/jsonpb_proto/test3
Simpleinternal/testprotos/jsonpb_proto/test2
NonFinitesinternal/testprotos/jsonpb_proto/test2
Repeatsinternal/testprotos/jsonpb_proto/test2
Widgetinternal/testprotos/jsonpb_proto/test2
Mapsinternal/testprotos/jsonpb_proto/test2
MsgWithOneofinternal/testprotos/jsonpb_proto/test2
Realinternal/testprotos/jsonpb_proto/test2

Calls

no outgoing calls

Tested by

no test coverage detected