Lines Matching defs:File
403 type File struct { struct
404 Desc protoreflect.FileDescriptor
405 Proto *descriptorpb.FileDescriptorProto
407 GoDescriptorIdent GoIdent // name of Go variable for the file descriptor
408 GoPackageName GoPackageName // name of this file's Go package
409 GoImportPath GoImportPath // import path of this file's Go package
411 Enums []*Enum // top-level enum declarations
412 Messages []*Message // top-level message declarations
413 Extensions []*Extension // top-level extension declarations
414 Services []*Service // top-level service declarations
416 Generate bool // true if we should generate code for this file
423 GeneratedFilenamePrefix string
425 location Location
516 func newEnum(gen *Plugin, f *File, parent *Message, desc protoreflect.EnumDescriptor) *Enum {
548 func newEnumValue(gen *Plugin, f *File, message *Message, enum *Enum, desc protoreflect.EnumValueDe…
585 func newMessage(gen *Plugin, f *File, parent *Message, desc protoreflect.MessageDescriptor) *Messag…
742 func newField(gen *Plugin, f *File, message *Message, desc protoreflect.FieldDescriptor) *Field {
820 func newOneof(gen *Plugin, f *File, message *Message, desc protoreflect.OneofDescriptor) *Oneof {
852 func newService(gen *Plugin, f *File, desc protoreflect.ServiceDescriptor) *Service {
881 func newMethod(gen *Plugin, f *File, service *Service, desc protoreflect.MethodDescriptor) *Method {
1195 func newGoIdent(f *File, d protoreflect.Descriptor) GoIdent {