func structPointer_Bool(p structPointer, f field) **bool {
	return structPointer_ifield(p, f).(**bool)
}
Bool returns the address of a *bool field in the struct.
package proto
import (
	"math"
	"reflect"
)
type structPointer struct {
	v reflect.Value
}
func toStructPointer(v reflect.Value) structPointer {
	return structPointer{v}
}
func structPointer_IsNil(p structPointer) bool {
	return p.v.IsNil()
}
func structPointer_Interface(p structPointer, _ reflect.Type) interface{} {
	return p.v.Interface()
}
type field []int
func toField(f *reflect.StructField) field {
	return f.Index
}
var invalidField = field(nil)
func (f field) IsValid() bool { return f != nil }
func structPointer_field(p structPointer, f field) reflect.Value {
	if f == nil {
		return p.v.Elem()
	}
	return p.v.Elem().FieldByIndex(f)
}
func structPointer_ifield(p structPointer, f field) interface{} {
	return structPointer_field(p, f).Addr().Interface()
}
func structPointer_Bytes(p structPointer, f field) *[]byte {
	return structPointer_ifield(p, f).(*[]byte)
}
func structPointer_BytesSlice(p structPointer, f field) *[][]byte {
	return structPointer_ifield(p, f).(*[][]byte)
}