Lines Matching defs:File
382 type File struct { struct
383 Desc protoreflect.FileDescriptor
384 Proto *descriptorpb.FileDescriptorProto
386 GoDescriptorIdent GoIdent // name of Go variable for the file descriptor
387 GoPackageName GoPackageName // name of this file's Go package
388 GoImportPath GoImportPath // import path of this file's Go package
390 Enums []*Enum // top-level enum declarations
391 Messages []*Message // top-level message declarations
392 Extensions []*Extension // top-level extension declarations
393 Services []*Service // top-level service declarations
395 Generate bool // true if we should generate code for this file
402 GeneratedFilenamePrefix string
404 location Location
495 func newEnum(gen *Plugin, f *File, parent *Message, desc protoreflect.EnumDescriptor) *Enum {
527 func newEnumValue(gen *Plugin, f *File, message *Message, enum *Enum, desc protoreflect.EnumValueDe…
564 func newMessage(gen *Plugin, f *File, parent *Message, desc protoreflect.MessageDescriptor) *Messag…
721 func newField(gen *Plugin, f *File, message *Message, desc protoreflect.FieldDescriptor) *Field {
799 func newOneof(gen *Plugin, f *File, message *Message, desc protoreflect.OneofDescriptor) *Oneof {
831 func newService(gen *Plugin, f *File, desc protoreflect.ServiceDescriptor) *Service {
860 func newMethod(gen *Plugin, f *File, service *Service, desc protoreflect.MethodDescriptor) *Method {
1174 func newGoIdent(f *File, d protoreflect.Descriptor) GoIdent {