kubernetes/vendor/github.com/gogo/protobuf/protoc-gen-gogo/generator/helper.go

func (d *FileDescriptor) Messages() []*Descriptor {}

func (d *FileDescriptor) Enums() []*EnumDescriptor {}

func (d *Descriptor) IsGroup() bool {}

func (g *Generator) IsGroup(field *descriptor.FieldDescriptorProto) bool {}

func (g *Generator) TypeNameByObject(typeName string) Object {}

func (g *Generator) OneOfTypeName(message *Descriptor, field *descriptor.FieldDescriptorProto) string {}

type PluginImports

type pluginImports

func NewPluginImports(generator *Generator) *pluginImports {}

func (this *pluginImports) NewImport(pkg string) Single {}

func (this *pluginImports) GenerateImports(file *FileDescriptor) {}

type Single

type importedPackage

func newImportedPackage(importPrefix string, pkg string) *importedPackage {}

func (this *importedPackage) Use() string {}

func (this *importedPackage) IsUsed() bool {}

func (this *importedPackage) Name() string {}

func (this *importedPackage) Location() string {}

func (g *Generator) GetFieldName(message *Descriptor, field *descriptor.FieldDescriptorProto) string {}

func (g *Generator) GetOneOfFieldName(message *Descriptor, field *descriptor.FieldDescriptorProto) string {}

func (g *Generator) IsMap(field *descriptor.FieldDescriptorProto) bool {}

func (g *Generator) GetMapKeyField(field, keyField *descriptor.FieldDescriptorProto) *descriptor.FieldDescriptorProto {}

func (g *Generator) GetMapValueField(field, valField *descriptor.FieldDescriptorProto) *descriptor.FieldDescriptorProto {}

// GoMapValueTypes returns the map value Go type and the alias map value Go type (for casting), taking into
// account whether the map is nullable or the value is a message.
func GoMapValueTypes(mapField, valueField *descriptor.FieldDescriptorProto, goValueType, goValueAliasType string) (nullable bool, outGoType string, outGoAliasType string) {}

func GoTypeToName(goTyp string) string {}

func EmbedFieldName(goTyp string) string {}

func (g *Generator) GeneratePlugin(p Plugin) {}

func (g *Generator) SetFile(filename string) {}

func (g *Generator) generatePlugin(file *FileDescriptor, p Plugin) {}

func GetCustomType(field *descriptor.FieldDescriptorProto) (packageName string, typ string, err error) {}

func getCustomType(field *descriptor.FieldDescriptorProto) (packageName string, typ string, err error) {}

func splitCPackageType(ctype string) (packageName string, typ string) {}

func getCastType(field *descriptor.FieldDescriptorProto) (packageName string, typ string, err error) {}

func FileName(file *FileDescriptor) string {}

func (g *Generator) AllFiles() *descriptor.FileDescriptorSet {}

func (d *Descriptor) Path() string {}

func (g *Generator) useTypes() string {}

func (d *FileDescriptor) GoPackageName() string {}