type AnyResolver … type anyResolver … func (r anyResolver) FindMessageByName(message protoreflect.FullName) (protoreflect.MessageType, error) { … } func (r anyResolver) FindMessageByURL(url string) (protoreflect.MessageType, error) { … } func (r anyResolver) FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) { … } func (r anyResolver) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) { … } func wellKnownType(s protoreflect.FullName) string { … } func isMessageSet(md protoreflect.MessageDescriptor) bool { … }