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

Method ProtoReflect

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

Source from the content-addressed store, hash-verified

263func (*DeleteRequest) ProtoMessage() {}
264
265func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
266 mi := &file_keyvalue_proto_msgTypes[4]
267 if protoimpl.UnsafeEnabled && x != nil {
268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
269 if ms.LoadMessageInfo() == nil {
270 ms.StoreMessageInfo(mi)
271 }
272 return ms
273 }
274 return mi.MessageOf(x)
275}
276
277// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
278func (*DeleteRequest) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected