blob: 031c51ef15a6bcd834cab030a7668e8d46aab5da [file] [log] [blame]
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package prototype
import (
pref "github.com/golang/protobuf/v2/reflect/protoreflect"
)
// TODO: This cannot be implemented without proto.Unmarshal.
type descriptorFileMeta struct{}
func (p *descriptorFileMeta) lazyInit(t fileDesc) (pref.Message, bool) {
return nil, false
}
type descriptorSubMeta struct{}
func (p *descriptorSubMeta) lazyInit(t pref.Descriptor) (pref.Message, bool) {
return nil, false
}
type descriptorOptionsMeta struct{}
func (p *descriptorOptionsMeta) lazyInit(t pref.Descriptor) (pref.DescriptorOptions, bool) {
return nil, false
}