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: 4 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Address) GetName

func (m *Address) GetName() string

func (*Address) GetPkg

func (m *Address) GetPkg() string

func (*Address) Marshal

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

func (*Address) MarshalTo

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

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) Size

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

func (*Address) String

func (m *Address) String() string

func (*Address) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Alias) GetAddress

func (m *Alias) GetAddress() *Address

func (*Alias) GetElemType

func (m *Alias) GetElemType() *Type

func (*Alias) Marshal

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

func (*Alias) MarshalTo

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

func (*Alias) ProtoMessage

func (*Alias) ProtoMessage()

func (*Alias) Reset

func (m *Alias) Reset()

func (*Alias) Size

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

func (*Alias) String

func (m *Alias) String() string

func (*Alias) Unmarshal

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

type Bool

type Bool struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*Bool) Descriptor

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

func (*Bool) Marshal

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

func (*Bool) MarshalTo

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

func (*Bool) ProtoMessage

func (*Bool) ProtoMessage()

func (*Bool) Reset

func (m *Bool) Reset()

func (*Bool) Size

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

func (*Bool) String

func (m *Bool) String() string

func (*Bool) Unmarshal

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

type Empty

type Empty struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) Marshal

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

func (*Empty) MarshalTo

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) Size

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

func (*Empty) String

func (m *Empty) String() string

func (*Empty) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Field) GetName

func (m *Field) GetName() string

func (*Field) GetType

func (m *Field) GetType() *Type

func (*Field) Marshal

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

func (*Field) MarshalTo

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

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) Reset

func (m *Field) Reset()

func (*Field) Size

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

func (*Field) String

func (m *Field) String() string

func (*Field) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Fixture) GetType

func (m *Fixture) GetType() *Type

func (*Fixture) Marshal

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

func (*Fixture) MarshalTo

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

func (*Fixture) ProtoMessage

func (*Fixture) ProtoMessage()

func (*Fixture) Reset

func (m *Fixture) Reset()

func (*Fixture) Size

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

func (*Fixture) String

func (m *Fixture) String() string

func (*Fixture) Unmarshal

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

type Floating

type Floating struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*Floating) Descriptor

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

func (*Floating) Marshal

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

func (*Floating) MarshalTo

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

func (*Floating) ProtoMessage

func (*Floating) ProtoMessage()

func (*Floating) Reset

func (m *Floating) Reset()

func (*Floating) Size

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

func (*Floating) String

func (m *Floating) String() string

func (*Floating) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Func) GetName

func (m *Func) GetName() string

func (*Func) GetPkg

func (m *Func) GetPkg() string

func (*Func) Marshal

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

func (*Func) MarshalTo

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

func (*Func) ProtoMessage

func (*Func) ProtoMessage()

func (*Func) Reset

func (m *Func) Reset()

func (*Func) Size

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

func (*Func) String

func (m *Func) String() string

func (*Func) Unmarshal

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

type Integer

type Integer struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*Integer) Descriptor

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

func (*Integer) Marshal

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

func (*Integer) MarshalTo

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

func (*Integer) ProtoMessage

func (*Integer) ProtoMessage()

func (*Integer) Reset

func (m *Integer) Reset()

func (*Integer) Size

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

func (*Integer) String

func (m *Integer) String() string

func (*Integer) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Operator) GetName

func (m *Operator) GetName() string

func (*Operator) GetPkg

func (m *Operator) GetPkg() string

func (*Operator) Marshal

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

func (*Operator) MarshalTo

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

func (*Operator) ProtoMessage

func (*Operator) ProtoMessage()

func (*Operator) Reset

func (m *Operator) Reset()

func (*Operator) Size

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

func (*Operator) String

func (m *Operator) String() string

func (*Operator) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Optional) GetElemType

func (m *Optional) GetElemType() *Type

func (*Optional) Marshal

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

func (*Optional) MarshalTo

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

func (*Optional) ProtoMessage

func (*Optional) ProtoMessage()

func (*Optional) Reset

func (m *Optional) Reset()

func (*Optional) Size

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

func (*Optional) String

func (m *Optional) String() string

func (*Optional) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Refer) GetAddress

func (m *Refer) GetAddress() *Address

func (*Refer) Marshal

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

func (*Refer) MarshalTo

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

func (*Refer) ProtoMessage

func (*Refer) ProtoMessage()

func (*Refer) Reset

func (m *Refer) Reset()

func (*Refer) Size

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

func (*Refer) String

func (m *Refer) String() string

func (*Refer) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Series) GetElemType

func (m *Series) GetElemType() []*Type

func (*Series) Marshal

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

func (*Series) MarshalTo

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

func (*Series) ProtoMessage

func (*Series) ProtoMessage()

func (*Series) Reset

func (m *Series) Reset()

func (*Series) Size

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

func (*Series) String

func (m *Series) String() string

func (*Series) Unmarshal

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

type String

type String struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*String) Descriptor

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

func (*String) Marshal

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

func (*String) MarshalTo

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

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) Reset

func (m *String) Reset()

func (*String) Size

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

func (*String) String

func (m *String) String() string

func (*String) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Structure) GetFields

func (m *Structure) GetFields() []*Field

func (*Structure) Marshal

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

func (*Structure) MarshalTo

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

func (*Structure) ProtoMessage

func (*Structure) ProtoMessage()

func (*Structure) Reset

func (m *Structure) Reset()

func (*Structure) Size

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

func (*Structure) String

func (m *Structure) String() string

func (*Structure) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Transform) GetFunc

func (m *Transform) GetFunc() *Func

func (*Transform) GetOperator

func (m *Transform) GetOperator() *Operator

func (*Transform) Marshal

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

func (*Transform) MarshalTo

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

func (*Transform) ProtoMessage

func (*Transform) ProtoMessage()

func (*Transform) Reset

func (m *Transform) Reset()

func (*Transform) Size

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

func (*Transform) String

func (m *Transform) String() string

func (*Transform) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Type) GetAlias

func (m *Type) GetAlias() *Alias

func (*Type) GetBool

func (m *Type) GetBool() *Bool

func (*Type) GetEmpty

func (m *Type) GetEmpty() *Empty

func (*Type) GetFloating

func (m *Type) GetFloating() *Floating

func (*Type) GetInteger

func (m *Type) GetInteger() *Integer

func (*Type) GetOptional

func (m *Type) GetOptional() *Optional

func (*Type) GetRefer

func (m *Type) GetRefer() *Refer

func (*Type) GetSeries

func (m *Type) GetSeries() *Series

func (*Type) GetString_

func (m *Type) GetString_() *String

func (*Type) GetStructure

func (m *Type) GetStructure() *Structure

func (*Type) GetUnion

func (m *Type) GetUnion() *Union

func (*Type) GetVariety

func (m *Type) GetVariety() *Variety

func (*Type) Marshal

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

func (*Type) MarshalTo

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

func (*Type) ProtoMessage

func (*Type) ProtoMessage()

func (*Type) Reset

func (m *Type) Reset()

func (*Type) Size

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

func (*Type) String

func (m *Type) String() string

func (*Type) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Union) GetVarieties

func (m *Union) GetVarieties() []*Type

func (*Union) Marshal

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

func (*Union) MarshalTo

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

func (*Union) ProtoMessage

func (*Union) ProtoMessage()

func (*Union) Reset

func (m *Union) Reset()

func (*Union) Size

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

func (*Union) String

func (m *Union) String() string

func (*Union) Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Variety) GetFields

func (m *Variety) GetFields() []*Field

func (*Variety) GetTransform

func (m *Variety) GetTransform() *Transform

func (*Variety) Marshal

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

func (*Variety) MarshalTo

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

func (*Variety) ProtoMessage

func (*Variety) ProtoMessage()

func (*Variety) Reset

func (m *Variety) Reset()

func (*Variety) Size

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

func (*Variety) String

func (m *Variety) String() string

func (*Variety) Unmarshal

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

Jump to

Keyboard shortcuts

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