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

Method ProtoReflect

validator/validator.pb.go:3957–3967  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3955func (*ValidationError) ProtoMessage() {}
3956
3957func (x *ValidationError) ProtoReflect() protoreflect.Message {
3958 mi := &file_validator_proto_msgTypes[26]
3959 if protoimpl.UnsafeEnabled && x != nil {
3960 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3961 if ms.LoadMessageInfo() == nil {
3962 ms.StoreMessageInfo(mi)
3963 }
3964 return ms
3965 }
3966 return mi.MessageOf(x)
3967}
3968
3969// Deprecated: Use ValidationError.ProtoReflect.Descriptor instead.
3970func (*ValidationError) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected