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

Method Type

ptypes/any.go:163–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161type dynamicAny struct{ protoreflect.Message }
162
163func (m dynamicAny) Type() protoreflect.MessageType {
164 return dynamicAnyType{m.Message.Type()}
165}
166func (m dynamicAny) New() protoreflect.Message {
167 return dynamicAnyType{m.Message.Type()}.New()
168}

Callers 6

TestGetExtensionDefaultsFunction · 0.80
newPropertiesFunction · 0.80
GetExtensionFunction · 0.80
ExtensionDescsFunction · 0.80
NewMethod · 0.80
TestAnyReflectFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestGetExtensionDefaultsFunction · 0.64
TestAnyReflectFunction · 0.64