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

Method Interface

reflect/protoreflect/value.go:55–55  ·  view source on GitHub ↗

Interface unwraps the message reflection interface and returns the underlying ProtoMessage interface.

()

Source from the content-addressed store, hash-verified

53 // Interface unwraps the message reflection interface and
54 // returns the underlying ProtoMessage interface.
55 Interface() ProtoMessage
56
57 // Range iterates over every populated field in an undefined order,
58 // calling f for each field descriptor and value encountered.

Callers 15

TestUnmarshalFunction · 0.65
roundTripAndCompareProtoFunction · 0.65
makeMessagesFunction · 0.65
marshalAnyMethod · 0.65
unmarshalExpandedAnyMethod · 0.65
marshalAnyMethod · 0.65
unmarshalAnyMethod · 0.65
roundTripAndCompareProtoFunction · 0.65
SetMethod · 0.65
GetMethod · 0.65
SetMethod · 0.65
ClearMethod · 0.65

Implementers 2

Messagetypes/dynamicpb/dynamic.go
aberrantMessageinternal/impl/legacy_message.go

Calls

no outgoing calls

Tested by 15

TestUnmarshalFunction · 0.52
roundTripAndCompareProtoFunction · 0.52
makeMessagesFunction · 0.52
roundTripAndCompareProtoFunction · 0.52
TestRoundtripFunction · 0.52
TestDecodeFunction · 0.52
TestLegacyMarshalMethodFunction · 0.52