type google.golang.org/protobuf/internal/filedesc.File
53 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L37: File struct {
desc.go#L62: func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd }
desc.go#L63: func (fd *File) Parent() protoreflect.Descriptor { return nil }
desc.go#L64: func (fd *File) Index() int { return 0 }
desc.go#L65: func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax }
desc.go#L66: func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() }
desc.go#L67: func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package }
desc.go#L68: func (fd *File) IsPlaceholder() bool { return false }
desc.go#L69: func (fd *File) Options() protoreflect.ProtoMessage {
desc.go#L75: func (fd *File) Path() string { return fd.L1.Path }
desc.go#L76: func (fd *File) Package() protoreflect.FullName { return fd.L1.Package }
desc.go#L77: func (fd *File) Imports() protoreflect.FileImports { return &fd.lazyInit().Imports }
desc.go#L78: func (fd *File) Enums() protoreflect.EnumDescriptors { return &fd.L1.Enums }
desc.go#L79: func (fd *File) Messages() protoreflect.MessageDescriptors { return &fd.L1.Messages }
desc.go#L80: func (fd *File) Extensions() protoreflect.ExtensionDescriptors { return &fd.L1.Extensions }
desc.go#L81: func (fd *File) Services() protoreflect.ServiceDescriptors { return &fd.L1.Services }
desc.go#L82: func (fd *File) SourceLocations() protoreflect.SourceLocations { return &fd.lazyInit().Locations }
desc.go#L83: func (fd *File) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, fd) }
desc.go#L84: func (fd *File) ProtoType(protoreflect.FileDescriptor) {}
desc.go#L85: func (fd *File) ProtoInternal(pragma.DoNotImplement) {}
desc.go#L87: func (fd *File) lazyInit() *FileL2 {
desc.go#L94: func (fd *File) lazyInitOnce() {
desc.go#L108: func (fd *File) GoPackagePath() string {
desc.go#L475: SurrogateProto2 = &File{L1: FileL1{Syntax: protoreflect.Proto2}, L2: &FileL2{}}
desc.go#L476: SurrogateProto3 = &File{L1: FileL1{Syntax: protoreflect.Proto3}, L2: &FileL2{}}
desc.go#L485: ParentFile *File // must be populated
desc.go#L559: func unmarshalDefault(b []byte, k protoreflect.Kind, pf *File, ed protoreflect.EnumDescriptor) defaultValue {
desc_init.go#L26: func newRawFile(db Builder) *File {
desc_init.go#L27: fd := &File{fileRaw: fileRaw{builder: db}}
desc_init.go#L48: func (fd *File) initDecls(numEnums, numMessages, numExtensions, numServices int32) {
desc_init.go#L55: func (fd *File) allocEnums(n int) []Enum {
desc_init.go#L61: func (fd *File) allocMessages(n int) []Message {
desc_init.go#L67: func (fd *File) allocExtensions(n int) []Extension {
desc_init.go#L73: func (fd *File) allocServices(n int) []Service {
desc_init.go#L82: func (fd *File) checkDecls() {
desc_init.go#L94: func (fd *File) unmarshalSeed(b []byte) {
desc_init.go#L222: func (ed *Enum) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L274: func (md *Message) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L390: func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L426: func (sd *Service) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L19: func (fd *File) lazyRawInit() {
desc_lazy.go#L26: func (file *File) resolveMessages() {
desc_lazy.go#L58: func (file *File) resolveExtensions() {
desc_lazy.go#L80: func (file *File) resolveServices() {
desc_lazy.go#L95: func (file *File) resolveEnumDependency(ed protoreflect.EnumDescriptor, i, j int32) protoreflect.EnumDescriptor {
desc_lazy.go#L113: func (file *File) resolveMessageDependency(md protoreflect.MessageDescriptor, i, j int32) protoreflect.MessageDescriptor {
desc_lazy.go#L131: func (fd *File) unmarshalFull(b []byte) {
desc_lazy.go#L244: func (vd *EnumValue) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L413: func (fd *Field) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L507: func (od *Oneof) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L630: func (md *Method) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
google.golang.org/protobuf/reflect/protodesc
desc.go#L90: f := &filedesc.File{L2: &filedesc.FileL2{}}
desc_init.go#L244: ParentFile: parent.ParentFile().(*filedesc.File),