Versions in this module Expand all Collapse all v0 v0.1.0 Feb 5, 2019 Changes in this version + var CheckedPrimitives = map[descpb.FieldDescriptorProto_Type]*exprpb.Type + var CheckedWellKnowns = map[string]*exprpb.Type + type EnumDescription struct + func DescribeEnum(enumName string) (*EnumDescription, error) + func (ed *EnumDescription) Name() string + func (ed *EnumDescription) Value() int32 + type FieldDescription struct + func (fd *FieldDescription) CheckedType() *exprpb.Type + func (fd *FieldDescription) GetterName() string + func (fd *FieldDescription) Index() int + func (fd *FieldDescription) IsEnum() bool + func (fd *FieldDescription) IsMap() bool + func (fd *FieldDescription) IsMessage() bool + func (fd *FieldDescription) IsOneof() bool + func (fd *FieldDescription) IsRepeated() bool + func (fd *FieldDescription) Name() string + func (fd *FieldDescription) OneofType() reflect.Type + func (fd *FieldDescription) OrigName() string + func (fd *FieldDescription) String() string + func (fd *FieldDescription) SupportsPresence() bool + func (fd *FieldDescription) TypeName() string + type FileDescription struct + func DescribeFile(message proto.Message) (*FileDescription, error) + func (fd *FileDescription) GetEnumDescription(enumName string) (*EnumDescription, error) + func (fd *FileDescription) GetEnumNames() []string + func (fd *FileDescription) GetTypeDescription(typeName string) (*TypeDescription, error) + func (fd *FileDescription) GetTypeNames() []string + func (fd *FileDescription) Package() string + type TypeDescription struct + func DescribeType(typeName string) (*TypeDescription, error) + func DescribeValue(value proto.Message) (*TypeDescription, error) + func (td *TypeDescription) FieldByName(name string) (*FieldDescription, bool) + func (td *TypeDescription) FieldCount() int + func (td *TypeDescription) FieldNameAtIndex(index int, refObj reflect.Value) (string, bool) + func (td *TypeDescription) Name() string + func (td *TypeDescription) ReflectType() reflect.Type