MCPcopy Create free account
hub / github.com/cloud-native-go/examples / ProtoReflect

Method ProtoReflect

ch08/grpc/keyvalue/keyvalue.pb.go:70–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68func (*GetRequest) ProtoMessage() {}
69
70func (x *GetRequest) ProtoReflect() protoreflect.Message {
71 mi := &file_keyvalue_proto_msgTypes[0]
72 if protoimpl.UnsafeEnabled && x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80}
81
82// Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
83func (*GetRequest) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected