type unmarshal … func NewUnmarshal() *unmarshal { … } func (p *unmarshal) Name() string { … } func (p *unmarshal) Init(g *generator.Generator) { … } func (p *unmarshal) decodeVarint(varName string, typName string) { … } func (p *unmarshal) decodeFixed32(varName string, typeName string) { … } func (p *unmarshal) decodeFixed64(varName string, typeName string) { … } func (p *unmarshal) declareMapField(varName string, nullable bool, customType bool, field *descriptor.FieldDescriptorProto) { … } func (p *unmarshal) mapField(varName string, customType bool, field *descriptor.FieldDescriptorProto) { … } func (p *unmarshal) noStarOrSliceType(msg *generator.Descriptor, field *descriptor.FieldDescriptorProto) string { … } func (p *unmarshal) field(file *generator.FileDescriptor, msg *generator.Descriptor, field *descriptor.FieldDescriptorProto, fieldname string, proto3 bool) { … } func (p *unmarshal) Generate(file *generator.FileDescriptor) { … } func init() { … }