MCPcopy Create free account
hub / github.com/ampproject/amphtml / ProtoReflect

Method ProtoReflect

validator/validator.pb.go:3414–3424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3412func (*DocSpec) ProtoMessage() {}
3413
3414func (x *DocSpec) ProtoReflect() protoreflect.Message {
3415 mi := &file_validator_proto_msgTypes[22]
3416 if protoimpl.UnsafeEnabled && x != nil {
3417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3418 if ms.LoadMessageInfo() == nil {
3419 ms.StoreMessageInfo(mi)
3420 }
3421 return ms
3422 }
3423 return mi.MessageOf(x)
3424}
3425
3426// Deprecated: Use DocSpec.ProtoReflect.Descriptor instead.
3427func (*DocSpec) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected