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

Method ProtoReflect

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

Source from the content-addressed store, hash-verified

117func (*GetResponse) ProtoMessage() {}
118
119func (x *GetResponse) ProtoReflect() protoreflect.Message {
120 mi := &file_keyvalue_proto_msgTypes[1]
121 if protoimpl.UnsafeEnabled && x != nil {
122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123 if ms.LoadMessageInfo() == nil {
124 ms.StoreMessageInfo(mi)
125 }
126 return ms
127 }
128 return mi.MessageOf(x)
129}
130
131// Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
132func (*GetResponse) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected