Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
func (*Descriptor) Alias ¶
func (d *Descriptor) Alias() *Field
func (*Descriptor) Lookup ¶
func (d *Descriptor) Lookup(name string) *Field
type DescriptorPool ¶
type DescriptorPool struct {
// contains filtered or unexported fields
}
func (*DescriptorPool) Find ¶
func (p *DescriptorPool) Find(fullname string) *Descriptor
func (*DescriptorPool) Register ¶
func (p *DescriptorPool) Register(proto *pb.FileDescriptorProto) bool
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func (*Field) IsRepeated ¶
func (*Field) ValueDescriptor ¶
func (f *Field) ValueDescriptor() *Descriptor
type FieldType ¶
type FieldType uint8
const ( TYPE_NONE FieldType = 0 TYPE_MESSAGE FieldType = 1 TYPE_BYTES FieldType = 2 TYPE_STRING FieldType = 3 TYPE_FLOAT64 FieldType = 4 TYPE_FLOAT32 FieldType = 5 TYPE_UINT64 FieldType = 6 TYPE_UINT32 FieldType = 7 TYPE_INT64 FieldType = 8 TYPE_INT32 FieldType = 9 TYPE_BOOL FieldType = 10 TYPE_ENUM FieldType = 11 TYPE_UNKNOWN FieldType = 255 )
Click to show internal directories.
Click to hide internal directories.