Lines Matching defs:File

37 	File struct {  struct
38 fileRaw
39 L1 FileL1
41 once uint32 // atomically set if L2 is valid
42 mu sync.Mutex // protects L2
43 L2 *FileL2
62 func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd }
63 func (fd *File) Parent() protoreflect.Descriptor { return nil }
64 func (fd *File) Index() int { return 0 }
65 func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax }
66 func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() }
67 func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package }
68 func (fd *File) IsPlaceholder() bool { return false }
69 func (fd *File) Options() protoreflect.ProtoMessage {
75 func (fd *File) Path() string { return fd.L1.Path }
76 func (fd *File) Package() protoreflect.FullName { return fd.L1.Package }
77 func (fd *File) Imports() protoreflect.FileImports { return &fd.lazyInit().Imports }
78 func (fd *File) Enums() protoreflect.EnumDescriptors { return &fd.L1.Enums }
79 func (fd *File) Messages() protoreflect.MessageDescriptors { return &fd.L1.Messages }
80 func (fd *File) Extensions() protoreflect.ExtensionDescriptors { return &fd.L1.Extensions }
81 func (fd *File) Services() protoreflect.ServiceDescriptors { return &fd.L1.Services }
82 func (fd *File) SourceLocations() protoreflect.SourceLocations { return &fd.lazyInit().Locations }
83 func (fd *File) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, fd) }
84 func (fd *File) ProtoType(protoreflect.FileDescriptor) {}
85 func (fd *File) ProtoInternal(pragma.DoNotImplement) {}
87 func (fd *File) lazyInit() *FileL2 {
94 func (fd *File) lazyInitOnce() {
108 func (fd *File) GoPackagePath() string {
559 func unmarshalDefault(b []byte, k protoreflect.Kind, pf *File, ed protoreflect.EnumDescriptor) defa…