type google.golang.org/protobuf/internal/filedesc.File
55 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L53: File struct {
desc.go#L125: func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd }
desc.go#L126: func (fd *File) Parent() protoreflect.Descriptor { return nil }
desc.go#L127: func (fd *File) Index() int { return 0 }
desc.go#L128: func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax }
desc.go#L131: func (fd *File) Edition() int32 { return int32(fd.L1.Edition) }
desc.go#L132: func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() }
desc.go#L133: func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package }
desc.go#L134: func (fd *File) IsPlaceholder() bool { return false }
desc.go#L135: func (fd *File) Options() protoreflect.ProtoMessage {
desc.go#L141: func (fd *File) Path() string { return fd.L1.Path }
desc.go#L142: func (fd *File) Package() protoreflect.FullName { return fd.L1.Package }
desc.go#L143: func (fd *File) Imports() protoreflect.FileImports { return &fd.lazyInit().Imports }
desc.go#L144: func (fd *File) Enums() protoreflect.EnumDescriptors { return &fd.L1.Enums }
desc.go#L145: func (fd *File) Messages() protoreflect.MessageDescriptors { return &fd.L1.Messages }
desc.go#L146: func (fd *File) Extensions() protoreflect.ExtensionDescriptors { return &fd.L1.Extensions }
desc.go#L147: func (fd *File) Services() protoreflect.ServiceDescriptors { return &fd.L1.Services }
desc.go#L148: func (fd *File) SourceLocations() protoreflect.SourceLocations { return &fd.lazyInit().Locations }
desc.go#L149: func (fd *File) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, fd) }
desc.go#L150: func (fd *File) ProtoType(protoreflect.FileDescriptor) {}
desc.go#L151: func (fd *File) ProtoInternal(pragma.DoNotImplement) {}
desc.go#L153: func (fd *File) lazyInit() *FileL2 {
desc.go#L160: func (fd *File) lazyInitOnce() {
desc.go#L174: func (fd *File) GoPackagePath() string {
desc.go#L561: SurrogateProto2 = &File{L1: FileL1{Syntax: protoreflect.Proto2}, L2: &FileL2{}}
desc.go#L562: SurrogateProto3 = &File{L1: FileL1{Syntax: protoreflect.Proto3}, L2: &FileL2{}}
desc.go#L563: SurrogateEdition2023 = &File{L1: FileL1{Syntax: protoreflect.Editions, Edition: Edition2023}, L2: &FileL2{}}
desc.go#L572: ParentFile *File // must be populated
desc.go#L674: func unmarshalDefault(b []byte, k protoreflect.Kind, pf *File, ed protoreflect.EnumDescriptor) defaultValue {
desc_init.go#L27: func newRawFile(db Builder) *File {
desc_init.go#L28: fd := &File{fileRaw: fileRaw{builder: db}}
desc_init.go#L49: func (fd *File) initDecls(numEnums, numMessages, numExtensions, numServices int32) {
desc_init.go#L56: func (fd *File) allocEnums(n int) []Enum {
desc_init.go#L62: func (fd *File) allocMessages(n int) []Message {
desc_init.go#L68: func (fd *File) allocExtensions(n int) []Extension {
desc_init.go#L74: func (fd *File) allocServices(n int) []Service {
desc_init.go#L83: func (fd *File) checkDecls() {
desc_init.go#L95: func (fd *File) unmarshalSeed(b []byte) {
desc_init.go#L245: func (fd *File) unmarshalSeedOptions(b []byte) {
desc_init.go#L267: func (ed *Enum) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L320: func (md *Message) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L444: func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_init.go#L515: 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#L242: func (vd *EnumValue) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L411: func (fd *Field) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L517: func (od *Oneof) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
desc_lazy.go#L620: func (md *Method) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoreflect.Descriptor, i int) {
editions.go#L94: case *File: