proto

package
v0.0.0-...-dc6f9f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

symbol.proto

It has these top-level messages:

Symbol
SymbolBasic
SymbolSeries
SymbolStruct
SymbolField
SymbolMap
SymbolKeyValue
SymbolBlob
SymbolVariety

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSymbol = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSymbol   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Symbol

type Symbol struct {
	// Types that are valid to be assigned to Symbol:
	//	*Symbol_Basic
	//	*Symbol_Series
	//	*Symbol_Struct
	//	*Symbol_Map
	//	*Symbol_Blob
	//	*Symbol_Variety
	Symbol           isSymbol_Symbol `protobuf_oneof:"symbol"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*Symbol) Descriptor

func (*Symbol) Descriptor() ([]byte, []int)

func (*Symbol) GetBasic

func (m *Symbol) GetBasic() *SymbolBasic

func (*Symbol) GetBlob

func (m *Symbol) GetBlob() *SymbolBlob

func (*Symbol) GetMap

func (m *Symbol) GetMap() *SymbolMap

func (*Symbol) GetSeries

func (m *Symbol) GetSeries() *SymbolSeries

func (*Symbol) GetStruct

func (m *Symbol) GetStruct() *SymbolStruct

func (*Symbol) GetSymbol

func (m *Symbol) GetSymbol() isSymbol_Symbol

func (*Symbol) GetVariety

func (m *Symbol) GetVariety() *SymbolVariety

func (*Symbol) Marshal

func (m *Symbol) Marshal() (dAtA []byte, err error)

func (*Symbol) MarshalTo

func (m *Symbol) MarshalTo(dAtA []byte) (int, error)

func (*Symbol) ProtoMessage

func (*Symbol) ProtoMessage()

func (*Symbol) Reset

func (m *Symbol) Reset()

func (*Symbol) Size

func (m *Symbol) Size() (n int)

func (*Symbol) String

func (m *Symbol) String() string

func (*Symbol) Unmarshal

func (m *Symbol) Unmarshal(dAtA []byte) error

func (*Symbol) XXX_OneofFuncs

func (*Symbol) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SymbolBasic

type SymbolBasic struct {
	// Types that are valid to be assigned to Basic:
	//	*SymbolBasic_Bool
	//	*SymbolBasic_String_
	//	*SymbolBasic_Int8
	//	*SymbolBasic_Int16
	//	*SymbolBasic_Int32
	//	*SymbolBasic_Int64
	//	*SymbolBasic_Uint8
	//	*SymbolBasic_Uint16
	//	*SymbolBasic_Uint32
	//	*SymbolBasic_Uint64
	//	*SymbolBasic_Float32
	//	*SymbolBasic_Float64
	Basic            isSymbolBasic_Basic `protobuf_oneof:"basic"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*SymbolBasic) Descriptor

func (*SymbolBasic) Descriptor() ([]byte, []int)

func (*SymbolBasic) GetBasic

func (m *SymbolBasic) GetBasic() isSymbolBasic_Basic

func (*SymbolBasic) GetBool

func (m *SymbolBasic) GetBool() bool

func (*SymbolBasic) GetFloat32

func (m *SymbolBasic) GetFloat32() float32

func (*SymbolBasic) GetFloat64

func (m *SymbolBasic) GetFloat64() float64

func (*SymbolBasic) GetInt16

func (m *SymbolBasic) GetInt16() int32

func (*SymbolBasic) GetInt32

func (m *SymbolBasic) GetInt32() int32

func (*SymbolBasic) GetInt64

func (m *SymbolBasic) GetInt64() int64

func (*SymbolBasic) GetInt8

func (m *SymbolBasic) GetInt8() int32

func (*SymbolBasic) GetString_

func (m *SymbolBasic) GetString_() string

func (*SymbolBasic) GetUint16

func (m *SymbolBasic) GetUint16() uint32

func (*SymbolBasic) GetUint32

func (m *SymbolBasic) GetUint32() uint32

func (*SymbolBasic) GetUint64

func (m *SymbolBasic) GetUint64() uint64

func (*SymbolBasic) GetUint8

func (m *SymbolBasic) GetUint8() uint32

func (*SymbolBasic) Marshal

func (m *SymbolBasic) Marshal() (dAtA []byte, err error)

func (*SymbolBasic) MarshalTo

func (m *SymbolBasic) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic) ProtoMessage

func (*SymbolBasic) ProtoMessage()

func (*SymbolBasic) Reset

func (m *SymbolBasic) Reset()

func (*SymbolBasic) Size

func (m *SymbolBasic) Size() (n int)

func (*SymbolBasic) String

func (m *SymbolBasic) String() string

func (*SymbolBasic) Unmarshal

func (m *SymbolBasic) Unmarshal(dAtA []byte) error

func (*SymbolBasic) XXX_OneofFuncs

func (*SymbolBasic) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SymbolBasic_Bool

type SymbolBasic_Bool struct {
	Bool bool `protobuf:"varint,1,opt,name=bool,oneof"`
}

func (*SymbolBasic_Bool) MarshalTo

func (m *SymbolBasic_Bool) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Bool) Size

func (m *SymbolBasic_Bool) Size() (n int)

type SymbolBasic_Float32

type SymbolBasic_Float32 struct {
	Float32 float32 `protobuf:"fixed32,30,opt,name=float32,oneof"`
}

func (*SymbolBasic_Float32) MarshalTo

func (m *SymbolBasic_Float32) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Float32) Size

func (m *SymbolBasic_Float32) Size() (n int)

type SymbolBasic_Float64

type SymbolBasic_Float64 struct {
	Float64 float64 `protobuf:"fixed64,31,opt,name=float64,oneof"`
}

func (*SymbolBasic_Float64) MarshalTo

func (m *SymbolBasic_Float64) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Float64) Size

func (m *SymbolBasic_Float64) Size() (n int)

type SymbolBasic_Int16

type SymbolBasic_Int16 struct {
	Int16 int32 `protobuf:"varint,11,opt,name=int16,oneof"`
}

func (*SymbolBasic_Int16) MarshalTo

func (m *SymbolBasic_Int16) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Int16) Size

func (m *SymbolBasic_Int16) Size() (n int)

type SymbolBasic_Int32

type SymbolBasic_Int32 struct {
	Int32 int32 `protobuf:"varint,12,opt,name=int32,oneof"`
}

func (*SymbolBasic_Int32) MarshalTo

func (m *SymbolBasic_Int32) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Int32) Size

func (m *SymbolBasic_Int32) Size() (n int)

type SymbolBasic_Int64

type SymbolBasic_Int64 struct {
	Int64 int64 `protobuf:"varint,13,opt,name=int64,oneof"`
}

func (*SymbolBasic_Int64) MarshalTo

func (m *SymbolBasic_Int64) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Int64) Size

func (m *SymbolBasic_Int64) Size() (n int)

type SymbolBasic_Int8

type SymbolBasic_Int8 struct {
	Int8 int32 `protobuf:"varint,10,opt,name=int8,oneof"`
}

func (*SymbolBasic_Int8) MarshalTo

func (m *SymbolBasic_Int8) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Int8) Size

func (m *SymbolBasic_Int8) Size() (n int)

type SymbolBasic_String_

type SymbolBasic_String_ struct {
	String_ string `protobuf:"bytes,2,opt,name=string,oneof"`
}

func (*SymbolBasic_String_) MarshalTo

func (m *SymbolBasic_String_) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_String_) Size

func (m *SymbolBasic_String_) Size() (n int)

type SymbolBasic_Uint16

type SymbolBasic_Uint16 struct {
	Uint16 uint32 `protobuf:"varint,21,opt,name=uint16,oneof"`
}

func (*SymbolBasic_Uint16) MarshalTo

func (m *SymbolBasic_Uint16) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Uint16) Size

func (m *SymbolBasic_Uint16) Size() (n int)

type SymbolBasic_Uint32

type SymbolBasic_Uint32 struct {
	Uint32 uint32 `protobuf:"varint,22,opt,name=uint32,oneof"`
}

func (*SymbolBasic_Uint32) MarshalTo

func (m *SymbolBasic_Uint32) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Uint32) Size

func (m *SymbolBasic_Uint32) Size() (n int)

type SymbolBasic_Uint64

type SymbolBasic_Uint64 struct {
	Uint64 uint64 `protobuf:"varint,23,opt,name=uint64,oneof"`
}

func (*SymbolBasic_Uint64) MarshalTo

func (m *SymbolBasic_Uint64) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Uint64) Size

func (m *SymbolBasic_Uint64) Size() (n int)

type SymbolBasic_Uint8

type SymbolBasic_Uint8 struct {
	Uint8 uint32 `protobuf:"varint,20,opt,name=uint8,oneof"`
}

func (*SymbolBasic_Uint8) MarshalTo

func (m *SymbolBasic_Uint8) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBasic_Uint8) Size

func (m *SymbolBasic_Uint8) Size() (n int)

type SymbolBlob

type SymbolBlob struct {
	Bytes            []byte `protobuf:"bytes,1,req,name=bytes" json:"bytes,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*SymbolBlob) Descriptor

func (*SymbolBlob) Descriptor() ([]byte, []int)

func (*SymbolBlob) GetBytes

func (m *SymbolBlob) GetBytes() []byte

func (*SymbolBlob) Marshal

func (m *SymbolBlob) Marshal() (dAtA []byte, err error)

func (*SymbolBlob) MarshalTo

func (m *SymbolBlob) MarshalTo(dAtA []byte) (int, error)

func (*SymbolBlob) ProtoMessage

func (*SymbolBlob) ProtoMessage()

func (*SymbolBlob) Reset

func (m *SymbolBlob) Reset()

func (*SymbolBlob) Size

func (m *SymbolBlob) Size() (n int)

func (*SymbolBlob) String

func (m *SymbolBlob) String() string

func (*SymbolBlob) Unmarshal

func (m *SymbolBlob) Unmarshal(dAtA []byte) error

type SymbolField

type SymbolField struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Monadic          *bool   `protobuf:"varint,2,req,name=monadic" json:"monadic,omitempty"`
	Value            *Symbol `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SymbolField) Descriptor

func (*SymbolField) Descriptor() ([]byte, []int)

func (*SymbolField) GetMonadic

func (m *SymbolField) GetMonadic() bool

func (*SymbolField) GetName

func (m *SymbolField) GetName() string

func (*SymbolField) GetValue

func (m *SymbolField) GetValue() *Symbol

func (*SymbolField) Marshal

func (m *SymbolField) Marshal() (dAtA []byte, err error)

func (*SymbolField) MarshalTo

func (m *SymbolField) MarshalTo(dAtA []byte) (int, error)

func (*SymbolField) ProtoMessage

func (*SymbolField) ProtoMessage()

func (*SymbolField) Reset

func (m *SymbolField) Reset()

func (*SymbolField) Size

func (m *SymbolField) Size() (n int)

func (*SymbolField) String

func (m *SymbolField) String() string

func (*SymbolField) Unmarshal

func (m *SymbolField) Unmarshal(dAtA []byte) error

type SymbolKeyValue

type SymbolKeyValue struct {
	Key              *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
	Value            *Symbol `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SymbolKeyValue) Descriptor

func (*SymbolKeyValue) Descriptor() ([]byte, []int)

func (*SymbolKeyValue) GetKey

func (m *SymbolKeyValue) GetKey() string

func (*SymbolKeyValue) GetValue

func (m *SymbolKeyValue) GetValue() *Symbol

func (*SymbolKeyValue) Marshal

func (m *SymbolKeyValue) Marshal() (dAtA []byte, err error)

func (*SymbolKeyValue) MarshalTo

func (m *SymbolKeyValue) MarshalTo(dAtA []byte) (int, error)

func (*SymbolKeyValue) ProtoMessage

func (*SymbolKeyValue) ProtoMessage()

func (*SymbolKeyValue) Reset

func (m *SymbolKeyValue) Reset()

func (*SymbolKeyValue) Size

func (m *SymbolKeyValue) Size() (n int)

func (*SymbolKeyValue) String

func (m *SymbolKeyValue) String() string

func (*SymbolKeyValue) Unmarshal

func (m *SymbolKeyValue) Unmarshal(dAtA []byte) error

type SymbolMap

type SymbolMap struct {
	KeyValue         []*SymbolKeyValue `protobuf:"bytes,1,rep,name=key_value,json=keyValue" json:"key_value,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*SymbolMap) Descriptor

func (*SymbolMap) Descriptor() ([]byte, []int)

func (*SymbolMap) GetKeyValue

func (m *SymbolMap) GetKeyValue() []*SymbolKeyValue

func (*SymbolMap) Marshal

func (m *SymbolMap) Marshal() (dAtA []byte, err error)

func (*SymbolMap) MarshalTo

func (m *SymbolMap) MarshalTo(dAtA []byte) (int, error)

func (*SymbolMap) ProtoMessage

func (*SymbolMap) ProtoMessage()

func (*SymbolMap) Reset

func (m *SymbolMap) Reset()

func (*SymbolMap) Size

func (m *SymbolMap) Size() (n int)

func (*SymbolMap) String

func (m *SymbolMap) String() string

func (*SymbolMap) Unmarshal

func (m *SymbolMap) Unmarshal(dAtA []byte) error

type SymbolSeries

type SymbolSeries struct {
	Element          []*Symbol `protobuf:"bytes,1,rep,name=element" json:"element,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*SymbolSeries) Descriptor

func (*SymbolSeries) Descriptor() ([]byte, []int)

func (*SymbolSeries) GetElement

func (m *SymbolSeries) GetElement() []*Symbol

func (*SymbolSeries) Marshal

func (m *SymbolSeries) Marshal() (dAtA []byte, err error)

func (*SymbolSeries) MarshalTo

func (m *SymbolSeries) MarshalTo(dAtA []byte) (int, error)

func (*SymbolSeries) ProtoMessage

func (*SymbolSeries) ProtoMessage()

func (*SymbolSeries) Reset

func (m *SymbolSeries) Reset()

func (*SymbolSeries) Size

func (m *SymbolSeries) Size() (n int)

func (*SymbolSeries) String

func (m *SymbolSeries) String() string

func (*SymbolSeries) Unmarshal

func (m *SymbolSeries) Unmarshal(dAtA []byte) error

type SymbolStruct

type SymbolStruct struct {
	Field            []*SymbolField `protobuf:"bytes,1,rep,name=field" json:"field,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*SymbolStruct) Descriptor

func (*SymbolStruct) Descriptor() ([]byte, []int)

func (*SymbolStruct) GetField

func (m *SymbolStruct) GetField() []*SymbolField

func (*SymbolStruct) Marshal

func (m *SymbolStruct) Marshal() (dAtA []byte, err error)

func (*SymbolStruct) MarshalTo

func (m *SymbolStruct) MarshalTo(dAtA []byte) (int, error)

func (*SymbolStruct) ProtoMessage

func (*SymbolStruct) ProtoMessage()

func (*SymbolStruct) Reset

func (m *SymbolStruct) Reset()

func (*SymbolStruct) Size

func (m *SymbolStruct) Size() (n int)

func (*SymbolStruct) String

func (m *SymbolStruct) String() string

func (*SymbolStruct) Unmarshal

func (m *SymbolStruct) Unmarshal(dAtA []byte) error

type SymbolVariety

type SymbolVariety struct {
	PkgPath          *string        `protobuf:"bytes,1,req,name=pkg_path,json=pkgPath" json:"pkg_path,omitempty"`
	FuncName         *string        `protobuf:"bytes,2,req,name=func_name,json=funcName" json:"func_name,omitempty"`
	Arg              []*SymbolField `protobuf:"bytes,3,rep,name=arg" json:"arg,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*SymbolVariety) Descriptor

func (*SymbolVariety) Descriptor() ([]byte, []int)

func (*SymbolVariety) GetArg

func (m *SymbolVariety) GetArg() []*SymbolField

func (*SymbolVariety) GetFuncName

func (m *SymbolVariety) GetFuncName() string

func (*SymbolVariety) GetPkgPath

func (m *SymbolVariety) GetPkgPath() string

func (*SymbolVariety) Marshal

func (m *SymbolVariety) Marshal() (dAtA []byte, err error)

func (*SymbolVariety) MarshalTo

func (m *SymbolVariety) MarshalTo(dAtA []byte) (int, error)

func (*SymbolVariety) ProtoMessage

func (*SymbolVariety) ProtoMessage()

func (*SymbolVariety) Reset

func (m *SymbolVariety) Reset()

func (*SymbolVariety) Size

func (m *SymbolVariety) Size() (n int)

func (*SymbolVariety) String

func (m *SymbolVariety) String() string

func (*SymbolVariety) Unmarshal

func (m *SymbolVariety) Unmarshal(dAtA []byte) error

type Symbol_Basic

type Symbol_Basic struct {
	Basic *SymbolBasic `protobuf:"bytes,2,opt,name=basic,oneof"`
}

func (*Symbol_Basic) MarshalTo

func (m *Symbol_Basic) MarshalTo(dAtA []byte) (int, error)

func (*Symbol_Basic) Size

func (m *Symbol_Basic) Size() (n int)

type Symbol_Blob

type Symbol_Blob struct {
	Blob *SymbolBlob `protobuf:"bytes,6,opt,name=blob,oneof"`
}

func (*Symbol_Blob) MarshalTo

func (m *Symbol_Blob) MarshalTo(dAtA []byte) (int, error)

func (*Symbol_Blob) Size

func (m *Symbol_Blob) Size() (n int)

type Symbol_Map

type Symbol_Map struct {
	Map *SymbolMap `protobuf:"bytes,5,opt,name=map,oneof"`
}

func (*Symbol_Map) MarshalTo

func (m *Symbol_Map) MarshalTo(dAtA []byte) (int, error)

func (*Symbol_Map) Size

func (m *Symbol_Map) Size() (n int)

type Symbol_Series

type Symbol_Series struct {
	Series *SymbolSeries `protobuf:"bytes,3,opt,name=series,oneof"`
}

func (*Symbol_Series) MarshalTo

func (m *Symbol_Series) MarshalTo(dAtA []byte) (int, error)

func (*Symbol_Series) Size

func (m *Symbol_Series) Size() (n int)

type Symbol_Struct

type Symbol_Struct struct {
	Struct *SymbolStruct `protobuf:"bytes,4,opt,name=struct,oneof"`
}

func (*Symbol_Struct) MarshalTo

func (m *Symbol_Struct) MarshalTo(dAtA []byte) (int, error)

func (*Symbol_Struct) Size

func (m *Symbol_Struct) Size() (n int)

type Symbol_Variety

type Symbol_Variety struct {
	Variety *SymbolVariety `protobuf:"bytes,7,opt,name=variety,oneof"`
}

func (*Symbol_Variety) MarshalTo

func (m *Symbol_Variety) MarshalTo(dAtA []byte) (int, error)

func (*Symbol_Variety) Size

func (m *Symbol_Variety) Size() (n int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL