Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
types.proto
It has these top-level messages:
Fixture Address Type Empty Bool String Integer Floating Series Structure Field Union Variety Transform Operator Func Optional Alias Refer
Index ¶
- Variables
- func FileDescriptorBytes() []byte
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetName() string
- func (m *Address) GetPkg() string
- func (m *Address) Marshal() (dAtA []byte, err error)
- func (m *Address) MarshalTo(dAtA []byte) (int, error)
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) Size() (n int)
- func (m *Address) String() string
- func (m *Address) Unmarshal(dAtA []byte) error
- type Alias
- func (*Alias) Descriptor() ([]byte, []int)
- func (m *Alias) GetAddress() *Address
- func (m *Alias) GetElemType() *Type
- func (m *Alias) Marshal() (dAtA []byte, err error)
- func (m *Alias) MarshalTo(dAtA []byte) (int, error)
- func (*Alias) ProtoMessage()
- func (m *Alias) Reset()
- func (m *Alias) Size() (n int)
- func (m *Alias) String() string
- func (m *Alias) Unmarshal(dAtA []byte) error
- type Bool
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (m *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetName() string
- func (m *Field) GetType() *Type
- func (m *Field) Marshal() (dAtA []byte, err error)
- func (m *Field) MarshalTo(dAtA []byte) (int, error)
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) Size() (n int)
- func (m *Field) String() string
- func (m *Field) Unmarshal(dAtA []byte) error
- type Fixture
- func (*Fixture) Descriptor() ([]byte, []int)
- func (m *Fixture) GetType() *Type
- func (m *Fixture) Marshal() (dAtA []byte, err error)
- func (m *Fixture) MarshalTo(dAtA []byte) (int, error)
- func (*Fixture) ProtoMessage()
- func (m *Fixture) Reset()
- func (m *Fixture) Size() (n int)
- func (m *Fixture) String() string
- func (m *Fixture) Unmarshal(dAtA []byte) error
- type Floating
- func (*Floating) Descriptor() ([]byte, []int)
- func (m *Floating) Marshal() (dAtA []byte, err error)
- func (m *Floating) MarshalTo(dAtA []byte) (int, error)
- func (*Floating) ProtoMessage()
- func (m *Floating) Reset()
- func (m *Floating) Size() (n int)
- func (m *Floating) String() string
- func (m *Floating) Unmarshal(dAtA []byte) error
- type Func
- func (*Func) Descriptor() ([]byte, []int)
- func (m *Func) GetName() string
- func (m *Func) GetPkg() string
- func (m *Func) Marshal() (dAtA []byte, err error)
- func (m *Func) MarshalTo(dAtA []byte) (int, error)
- func (*Func) ProtoMessage()
- func (m *Func) Reset()
- func (m *Func) Size() (n int)
- func (m *Func) String() string
- func (m *Func) Unmarshal(dAtA []byte) error
- type Integer
- func (*Integer) Descriptor() ([]byte, []int)
- func (m *Integer) Marshal() (dAtA []byte, err error)
- func (m *Integer) MarshalTo(dAtA []byte) (int, error)
- func (*Integer) ProtoMessage()
- func (m *Integer) Reset()
- func (m *Integer) Size() (n int)
- func (m *Integer) String() string
- func (m *Integer) Unmarshal(dAtA []byte) error
- type Operator
- func (*Operator) Descriptor() ([]byte, []int)
- func (m *Operator) GetName() string
- func (m *Operator) GetPkg() string
- func (m *Operator) Marshal() (dAtA []byte, err error)
- func (m *Operator) MarshalTo(dAtA []byte) (int, error)
- func (*Operator) ProtoMessage()
- func (m *Operator) Reset()
- func (m *Operator) Size() (n int)
- func (m *Operator) String() string
- func (m *Operator) Unmarshal(dAtA []byte) error
- type Optional
- func (*Optional) Descriptor() ([]byte, []int)
- func (m *Optional) GetElemType() *Type
- func (m *Optional) Marshal() (dAtA []byte, err error)
- func (m *Optional) MarshalTo(dAtA []byte) (int, error)
- func (*Optional) ProtoMessage()
- func (m *Optional) Reset()
- func (m *Optional) Size() (n int)
- func (m *Optional) String() string
- func (m *Optional) Unmarshal(dAtA []byte) error
- type Refer
- func (*Refer) Descriptor() ([]byte, []int)
- func (m *Refer) GetAddress() *Address
- func (m *Refer) Marshal() (dAtA []byte, err error)
- func (m *Refer) MarshalTo(dAtA []byte) (int, error)
- func (*Refer) ProtoMessage()
- func (m *Refer) Reset()
- func (m *Refer) Size() (n int)
- func (m *Refer) String() string
- func (m *Refer) Unmarshal(dAtA []byte) error
- type Series
- func (*Series) Descriptor() ([]byte, []int)
- func (m *Series) GetElemType() []*Type
- func (m *Series) Marshal() (dAtA []byte, err error)
- func (m *Series) MarshalTo(dAtA []byte) (int, error)
- func (*Series) ProtoMessage()
- func (m *Series) Reset()
- func (m *Series) Size() (n int)
- func (m *Series) String() string
- func (m *Series) Unmarshal(dAtA []byte) error
- type String
- func (*String) Descriptor() ([]byte, []int)
- func (m *String) Marshal() (dAtA []byte, err error)
- func (m *String) MarshalTo(dAtA []byte) (int, error)
- func (*String) ProtoMessage()
- func (m *String) Reset()
- func (m *String) Size() (n int)
- func (m *String) String() string
- func (m *String) Unmarshal(dAtA []byte) error
- type Structure
- func (*Structure) Descriptor() ([]byte, []int)
- func (m *Structure) GetFields() []*Field
- func (m *Structure) Marshal() (dAtA []byte, err error)
- func (m *Structure) MarshalTo(dAtA []byte) (int, error)
- func (*Structure) ProtoMessage()
- func (m *Structure) Reset()
- func (m *Structure) Size() (n int)
- func (m *Structure) String() string
- func (m *Structure) Unmarshal(dAtA []byte) error
- type Transform
- func (*Transform) Descriptor() ([]byte, []int)
- func (m *Transform) GetFunc() *Func
- func (m *Transform) GetOperator() *Operator
- func (m *Transform) Marshal() (dAtA []byte, err error)
- func (m *Transform) MarshalTo(dAtA []byte) (int, error)
- func (*Transform) ProtoMessage()
- func (m *Transform) Reset()
- func (m *Transform) Size() (n int)
- func (m *Transform) String() string
- func (m *Transform) Unmarshal(dAtA []byte) error
- type Type
- func (*Type) Descriptor() ([]byte, []int)
- func (m *Type) GetAlias() *Alias
- func (m *Type) GetBool() *Bool
- func (m *Type) GetEmpty() *Empty
- func (m *Type) GetFloating() *Floating
- func (m *Type) GetInteger() *Integer
- func (m *Type) GetOptional() *Optional
- func (m *Type) GetRefer() *Refer
- func (m *Type) GetSeries() *Series
- func (m *Type) GetString_() *String
- func (m *Type) GetStructure() *Structure
- func (m *Type) GetUnion() *Union
- func (m *Type) GetVariety() *Variety
- func (m *Type) Marshal() (dAtA []byte, err error)
- func (m *Type) MarshalTo(dAtA []byte) (int, error)
- func (*Type) ProtoMessage()
- func (m *Type) Reset()
- func (m *Type) Size() (n int)
- func (m *Type) String() string
- func (m *Type) Unmarshal(dAtA []byte) error
- type Union
- func (*Union) Descriptor() ([]byte, []int)
- func (m *Union) GetVarieties() []*Type
- func (m *Union) Marshal() (dAtA []byte, err error)
- func (m *Union) MarshalTo(dAtA []byte) (int, error)
- func (*Union) ProtoMessage()
- func (m *Union) Reset()
- func (m *Union) Size() (n int)
- func (m *Union) String() string
- func (m *Union) Unmarshal(dAtA []byte) error
- type Variety
- func (*Variety) Descriptor() ([]byte, []int)
- func (m *Variety) GetFields() []*Field
- func (m *Variety) GetTransform() *Transform
- func (m *Variety) Marshal() (dAtA []byte, err error)
- func (m *Variety) MarshalTo(dAtA []byte) (int, error)
- func (*Variety) ProtoMessage()
- func (m *Variety) Reset()
- func (m *Variety) Size() (n int)
- func (m *Variety) String() string
- func (m *Variety) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
Functions ¶
func FileDescriptorBytes ¶
func FileDescriptorBytes() []byte
Types ¶
type Address ¶
type Address struct { Pkg *string `protobuf:"bytes,1,req,name=pkg" json:"pkg,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Address) Descriptor ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
type Alias ¶
type Alias struct { Address *Address `protobuf:"bytes,1,req,name=address" json:"address,omitempty"` ElemType *Type `protobuf:"bytes,2,req,name=elemType" json:"elemType,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Alias) Descriptor ¶
func (*Alias) GetAddress ¶
func (*Alias) GetElemType ¶
func (*Alias) ProtoMessage ¶
func (*Alias) ProtoMessage()
type Bool ¶
type Bool struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Bool) Descriptor ¶
func (*Bool) ProtoMessage ¶
func (*Bool) ProtoMessage()
type Empty ¶
type Empty struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type Field ¶
type Field struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Type *Type `protobuf:"bytes,2,req,name=type" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Field) Descriptor ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
type Fixture ¶
type Fixture struct { Type *Type `protobuf:"bytes,1,req,name=type" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Fixture) Descriptor ¶
func (*Fixture) ProtoMessage ¶
func (*Fixture) ProtoMessage()
type Floating ¶
type Floating struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Floating) Descriptor ¶
func (*Floating) ProtoMessage ¶
func (*Floating) ProtoMessage()
type Func ¶
type Func struct { Pkg *string `protobuf:"bytes,1,req,name=pkg" json:"pkg,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Func) Descriptor ¶
func (*Func) ProtoMessage ¶
func (*Func) ProtoMessage()
type Integer ¶
type Integer struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Integer) Descriptor ¶
func (*Integer) ProtoMessage ¶
func (*Integer) ProtoMessage()
type Operator ¶
type Operator struct { Pkg *string `protobuf:"bytes,1,req,name=pkg" json:"pkg,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Operator) Descriptor ¶
func (*Operator) ProtoMessage ¶
func (*Operator) ProtoMessage()
type Optional ¶
type Optional struct { ElemType *Type `protobuf:"bytes,1,req,name=elemType" json:"elemType,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Optional) Descriptor ¶
func (*Optional) GetElemType ¶
func (*Optional) ProtoMessage ¶
func (*Optional) ProtoMessage()
type Refer ¶
type Refer struct { Address *Address `protobuf:"bytes,1,req,name=address" json:"address,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Refer) Descriptor ¶
func (*Refer) GetAddress ¶
func (*Refer) ProtoMessage ¶
func (*Refer) ProtoMessage()
type Series ¶
type Series struct { ElemType []*Type `protobuf:"bytes,1,rep,name=elemType" json:"elemType,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Series) Descriptor ¶
func (*Series) GetElemType ¶
func (*Series) ProtoMessage ¶
func (*Series) ProtoMessage()
type String ¶
type String struct {
XXX_unrecognized []byte `json:"-"`
}
func (*String) Descriptor ¶
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
type Structure ¶
type Structure struct { Fields []*Field `protobuf:"bytes,1,rep,name=fields" json:"fields,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Structure) Descriptor ¶
func (*Structure) ProtoMessage ¶
func (*Structure) ProtoMessage()
type Transform ¶
type Transform struct { Operator *Operator `protobuf:"bytes,1,opt,name=operator" json:"operator,omitempty"` Func *Func `protobuf:"bytes,2,opt,name=func" json:"func,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Transform) Descriptor ¶
func (*Transform) GetOperator ¶
func (*Transform) ProtoMessage ¶
func (*Transform) ProtoMessage()
type Type ¶
type Type struct { Empty *Empty `protobuf:"bytes,1,opt,name=empty" json:"empty,omitempty"` Bool *Bool `protobuf:"bytes,11,opt,name=bool" json:"bool,omitempty"` String_ *String `protobuf:"bytes,12,opt,name=string" json:"string,omitempty"` Integer *Integer `protobuf:"bytes,13,opt,name=integer" json:"integer,omitempty"` Floating *Floating `protobuf:"bytes,14,opt,name=floating" json:"floating,omitempty"` // Series *Series `protobuf:"bytes,21,opt,name=series" json:"series,omitempty"` Structure *Structure `protobuf:"bytes,22,opt,name=structure" json:"structure,omitempty"` // Union *Union `protobuf:"bytes,31,opt,name=union" json:"union,omitempty"` Variety *Variety `protobuf:"bytes,32,opt,name=variety" json:"variety,omitempty"` // Optional *Optional `protobuf:"bytes,41,opt,name=optional" json:"optional,omitempty"` // Alias *Alias `protobuf:"bytes,51,opt,name=alias" json:"alias,omitempty"` Refer *Refer `protobuf:"bytes,52,opt,name=refer" json:"refer,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Type) Descriptor ¶
func (*Type) GetFloating ¶
func (*Type) GetInteger ¶
func (*Type) GetOptional ¶
func (*Type) GetString_ ¶
func (*Type) GetStructure ¶
func (*Type) GetVariety ¶
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
type Union ¶
type Union struct { Varieties []*Type `protobuf:"bytes,1,rep,name=varieties" json:"varieties,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Union) Descriptor ¶
func (*Union) GetVarieties ¶
func (*Union) ProtoMessage ¶
func (*Union) ProtoMessage()
type Variety ¶
type Variety struct { Transform *Transform `protobuf:"bytes,1,req,name=transform" json:"transform,omitempty"` Fields []*Field `protobuf:"bytes,2,rep,name=fields" json:"fields,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Variety) Descriptor ¶
func (*Variety) GetTransform ¶
func (*Variety) ProtoMessage ¶
func (*Variety) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.