type google.golang.org/protobuf/internal/filedesc.File
52 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc.go#L36: File struct {
desc.go#L61: func (fd *File) ParentFile() pref.FileDescriptor { return fd }
desc.go#L62: func (fd *File) Parent() pref.Descriptor { return nil }
desc.go#L63: func (fd *File) Index() int { return 0 }
desc.go#L64: func (fd *File) Syntax() pref.Syntax { return fd.L1.Syntax }
desc.go#L65: func (fd *File) Name() pref.Name { return fd.L1.Package.Name() }
desc.go#L66: func (fd *File) FullName() pref.FullName { return fd.L1.Package }
desc.go#L67: func (fd *File) IsPlaceholder() bool { return false }
desc.go#L68: func (fd *File) Options() pref.ProtoMessage {
desc.go#L74: func (fd *File) Path() string { return fd.L1.Path }
desc.go#L75: func (fd *File) Package() pref.FullName { return fd.L1.Package }
desc.go#L76: func (fd *File) Imports() pref.FileImports { return &fd.lazyInit().Imports }
desc.go#L77: func (fd *File) Enums() pref.EnumDescriptors { return &fd.L1.Enums }
desc.go#L78: func (fd *File) Messages() pref.MessageDescriptors { return &fd.L1.Messages }
desc.go#L79: func (fd *File) Extensions() pref.ExtensionDescriptors { return &fd.L1.Extensions }
desc.go#L80: func (fd *File) Services() pref.ServiceDescriptors { return &fd.L1.Services }
desc.go#L81: func (fd *File) SourceLocations() pref.SourceLocations { return &fd.lazyInit().Locations }
desc.go#L82: func (fd *File) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, fd) }
desc.go#L83: func (fd *File) ProtoType(pref.FileDescriptor) {}
desc.go#L84: func (fd *File) ProtoInternal(pragma.DoNotImplement) {}
desc.go#L86: func (fd *File) lazyInit() *FileL2 {
desc.go#L93: func (fd *File) lazyInitOnce() {
desc.go#L107: func (fd *File) ProtoLegacyRawDesc() []byte {
desc.go#L116: func (fd *File) GoPackagePath() string {
desc.go#L479: SurrogateProto2 = &File{L1: FileL1{Syntax: pref.Proto2}, L2: &FileL2{}}
desc.go#L480: SurrogateProto3 = &File{L1: FileL1{Syntax: pref.Proto3}, L2: &FileL2{}}
desc.go#L489: ParentFile *File // must be populated
desc.go#L540: func unmarshalDefault(b []byte, k pref.Kind, pf *File, ed pref.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 pref.Descriptor, i int) {
desc_init.go#L274: func (md *Message) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd pref.Descriptor, i int) {
desc_init.go#L390: func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd pref.Descriptor, i int) {
desc_init.go#L426: func (sd *Service) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd pref.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 pref.EnumDescriptor, i, j int32) pref.EnumDescriptor {
desc_lazy.go#L113: func (file *File) resolveMessageDependency(md pref.MessageDescriptor, i, j int32) pref.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 pref.Descriptor, i int) {
desc_lazy.go#L413: func (fd *Field) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd pref.Descriptor, i int) {
desc_lazy.go#L507: func (od *Oneof) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd pref.Descriptor, i int) {
desc_lazy.go#L630: func (md *Method) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd pref.Descriptor, i int) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |