MCPcopy
hub / github.com/hyperledger/fabric / ProtoReflect

Method ProtoReflect

internal/pkg/comm/testpb/test.pb.go:90–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88func (*Echo) ProtoMessage() {}
89
90func (x *Echo) ProtoReflect() protoreflect.Message {
91 mi := &file_test_proto_msgTypes[1]
92 if protoimpl.UnsafeEnabled && x != nil {
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 if ms.LoadMessageInfo() == nil {
95 ms.StoreMessageInfo(mi)
96 }
97 return ms
98 }
99 return mi.MessageOf(x)
100}
101
102// Deprecated: Use Echo.ProtoReflect.Descriptor instead.
103func (*Echo) Descriptor() ([]byte, []int) {

Callers 9

createProposalFromCDSFunction · 0.45
MarshalOrPanicFunction · 0.45
MarshalFunction · 0.45
TestProtolatorDecodeFunction · 0.45
TestProtolatorEncodeFunction · 0.45
messageTypeFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestProtolatorDecodeFunction · 0.36
TestProtolatorEncodeFunction · 0.36