Lines Matching defs:Plugin
96 type Plugin struct { struct
98 Request *pluginpb.CodeGeneratorRequest
103 Files []*File
104 FilesByPath map[string]*File
109 SupportedFeatures uint64
111 fileReg *protoregistry.Files
112 enumsByName map[protoreflect.FullName]*Enum
113 messagesByName map[protoreflect.FullName]*Message
114 annotateCode bool
115 pathType pathType
116 module string
117 genFiles []*GeneratedFile
118 opts Options
119 err error
346 func (gen *Plugin) Error(err error) {
353 func (gen *Plugin) Response() *pluginpb.CodeGeneratorResponse {
428 func newFile(gen *Plugin, p *descriptorpb.FileDescriptorProto, packageName GoPackageName, importPat…
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 {
928 func (gen *Plugin) NewGeneratedFile(filename string, goImportPath GoImportPath) *GeneratedFile {