gogopb

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPoint        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPoint          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPoint = fmt.Errorf("proto: unexpected end of group")
)
View Source
var KeyType_name = map[int32]string{
	0: "X",
	1: "I",
	2: "U",
	3: "F",
	4: "B",
	5: "D",
	6: "NIL",
	7: "S",
	8: "A",
}
View Source
var KeyType_value = map[string]int32{
	"X":   0,
	"I":   1,
	"U":   2,
	"F":   3,
	"B":   4,
	"D":   5,
	"NIL": 6,
	"S":   7,
	"A":   8,
}
View Source
var MetricType_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "COUNT",
	2: "RATE",
	3: "GAUGE",
}
View Source
var MetricType_value = map[string]int32{
	"UNSPECIFIED": 0,
	"COUNT":       1,
	"RATE":        2,
	"GAUGE":       3,
}

Functions

This section is empty.

Types

type AnyDemo

type AnyDemo struct {
	Demo string `protobuf:"bytes,1,opt,name=demo,proto3" json:"demo,omitempty"`
}

example of pb.Any

func (*AnyDemo) Descriptor

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

func (*AnyDemo) Equal

func (this *AnyDemo) Equal(that interface{}) bool

func (*AnyDemo) GetDemo

func (m *AnyDemo) GetDemo() string

func (*AnyDemo) GoString

func (this *AnyDemo) GoString() string

func (*AnyDemo) Marshal

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

func (*AnyDemo) MarshalTo

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

func (*AnyDemo) MarshalToSizedBuffer

func (m *AnyDemo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyDemo) ProtoMessage

func (*AnyDemo) ProtoMessage()

func (*AnyDemo) Reset

func (m *AnyDemo) Reset()

func (*AnyDemo) Size

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

func (*AnyDemo) String

func (this *AnyDemo) String() string

func (*AnyDemo) Unmarshal

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

func (*AnyDemo) XXX_DiscardUnknown

func (m *AnyDemo) XXX_DiscardUnknown()

func (*AnyDemo) XXX_Marshal

func (m *AnyDemo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnyDemo) XXX_Merge

func (m *AnyDemo) XXX_Merge(src proto.Message)

func (*AnyDemo) XXX_Size

func (m *AnyDemo) XXX_Size() int

func (*AnyDemo) XXX_Unmarshal

func (m *AnyDemo) XXX_Unmarshal(b []byte) error

type Array

type Array struct {
	Arr []*BasicTypes `protobuf:"bytes,1,rep,name=arr,proto3" json:"arr,omitempty"`
}

func (*Array) Descriptor

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

func (*Array) Equal

func (this *Array) Equal(that interface{}) bool

func (*Array) GetArr

func (m *Array) GetArr() []*BasicTypes

func (*Array) GoString

func (this *Array) GoString() string

func (*Array) Marshal

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

func (*Array) MarshalTo

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

func (*Array) MarshalToSizedBuffer

func (m *Array) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Array) ProtoMessage

func (*Array) ProtoMessage()

func (*Array) Reset

func (m *Array) Reset()

func (*Array) Size

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

func (*Array) String

func (this *Array) String() string

func (*Array) Unmarshal

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

func (*Array) XXX_DiscardUnknown

func (m *Array) XXX_DiscardUnknown()

func (*Array) XXX_Marshal

func (m *Array) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Array) XXX_Merge

func (m *Array) XXX_Merge(src proto.Message)

func (*Array) XXX_Size

func (m *Array) XXX_Size() int

func (*Array) XXX_Unmarshal

func (m *Array) XXX_Unmarshal(b []byte) error

type BasicTypes

type BasicTypes struct {
	// Types that are valid to be assigned to X:
	//	*BasicTypes_I
	//	*BasicTypes_U
	//	*BasicTypes_F
	//	*BasicTypes_B
	//	*BasicTypes_D
	//	*BasicTypes_S
	X isBasicTypes_X `protobuf_oneof:"x"`
}

func (*BasicTypes) Descriptor

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

func (*BasicTypes) Equal

func (this *BasicTypes) Equal(that interface{}) bool

func (*BasicTypes) GetB

func (m *BasicTypes) GetB() bool

func (*BasicTypes) GetD

func (m *BasicTypes) GetD() []byte

func (*BasicTypes) GetF

func (m *BasicTypes) GetF() float64

func (*BasicTypes) GetI

func (m *BasicTypes) GetI() int64

func (*BasicTypes) GetS

func (m *BasicTypes) GetS() string

func (*BasicTypes) GetU

func (m *BasicTypes) GetU() uint64

func (*BasicTypes) GetX

func (m *BasicTypes) GetX() isBasicTypes_X

func (*BasicTypes) GoString

func (this *BasicTypes) GoString() string

func (*BasicTypes) Marshal

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

func (*BasicTypes) MarshalTo

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

func (*BasicTypes) MarshalToSizedBuffer

func (m *BasicTypes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicTypes) ProtoMessage

func (*BasicTypes) ProtoMessage()

func (*BasicTypes) Reset

func (m *BasicTypes) Reset()

func (*BasicTypes) Size

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

func (*BasicTypes) String

func (this *BasicTypes) String() string

func (*BasicTypes) Unmarshal

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

func (*BasicTypes) XXX_DiscardUnknown

func (m *BasicTypes) XXX_DiscardUnknown()

func (*BasicTypes) XXX_Marshal

func (m *BasicTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicTypes) XXX_Merge

func (m *BasicTypes) XXX_Merge(src proto.Message)

func (*BasicTypes) XXX_OneofWrappers

func (*BasicTypes) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*BasicTypes) XXX_Size

func (m *BasicTypes) XXX_Size() int

func (*BasicTypes) XXX_Unmarshal

func (m *BasicTypes) XXX_Unmarshal(b []byte) error

type BasicTypes_B

type BasicTypes_B struct {
	B bool `protobuf:"varint,4,opt,name=b,proto3,oneof" json:"b,omitempty"`
}

func (*BasicTypes_B) Equal

func (this *BasicTypes_B) Equal(that interface{}) bool

func (*BasicTypes_B) GoString

func (this *BasicTypes_B) GoString() string

func (*BasicTypes_B) MarshalTo

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

func (*BasicTypes_B) MarshalToSizedBuffer

func (m *BasicTypes_B) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicTypes_B) Size

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

func (*BasicTypes_B) String

func (this *BasicTypes_B) String() string

type BasicTypes_D

type BasicTypes_D struct {
	D []byte `protobuf:"bytes,5,opt,name=d,proto3,oneof" json:"d,omitempty"`
}

func (*BasicTypes_D) Equal

func (this *BasicTypes_D) Equal(that interface{}) bool

func (*BasicTypes_D) GoString

func (this *BasicTypes_D) GoString() string

func (*BasicTypes_D) MarshalTo

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

func (*BasicTypes_D) MarshalToSizedBuffer

func (m *BasicTypes_D) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicTypes_D) Size

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

func (*BasicTypes_D) String

func (this *BasicTypes_D) String() string

type BasicTypes_F

type BasicTypes_F struct {
	F float64 `protobuf:"fixed64,3,opt,name=f,proto3,oneof" json:"f,omitempty"`
}

func (*BasicTypes_F) Equal

func (this *BasicTypes_F) Equal(that interface{}) bool

func (*BasicTypes_F) GoString

func (this *BasicTypes_F) GoString() string

func (*BasicTypes_F) MarshalTo

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

func (*BasicTypes_F) MarshalToSizedBuffer

func (m *BasicTypes_F) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicTypes_F) Size

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

func (*BasicTypes_F) String

func (this *BasicTypes_F) String() string

type BasicTypes_I

type BasicTypes_I struct {
	I int64 `protobuf:"varint,1,opt,name=i,proto3,oneof" json:"i,omitempty"`
}

func (*BasicTypes_I) Equal

func (this *BasicTypes_I) Equal(that interface{}) bool

func (*BasicTypes_I) GoString

func (this *BasicTypes_I) GoString() string

func (*BasicTypes_I) MarshalTo

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

func (*BasicTypes_I) MarshalToSizedBuffer

func (m *BasicTypes_I) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicTypes_I) Size

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

func (*BasicTypes_I) String

func (this *BasicTypes_I) String() string

type BasicTypes_S

type BasicTypes_S struct {
	S string `protobuf:"bytes,6,opt,name=s,proto3,oneof" json:"s,omitempty"`
}

func (*BasicTypes_S) Equal

func (this *BasicTypes_S) Equal(that interface{}) bool

func (*BasicTypes_S) GoString

func (this *BasicTypes_S) GoString() string

func (*BasicTypes_S) MarshalTo

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

func (*BasicTypes_S) MarshalToSizedBuffer

func (m *BasicTypes_S) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicTypes_S) Size

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

func (*BasicTypes_S) String

func (this *BasicTypes_S) String() string

type BasicTypes_U

type BasicTypes_U struct {
	U uint64 `protobuf:"varint,2,opt,name=u,proto3,oneof" json:"u,omitempty"`
}

func (*BasicTypes_U) Equal

func (this *BasicTypes_U) Equal(that interface{}) bool

func (*BasicTypes_U) GoString

func (this *BasicTypes_U) GoString() string

func (*BasicTypes_U) MarshalTo

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

func (*BasicTypes_U) MarshalToSizedBuffer

func (m *BasicTypes_U) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicTypes_U) Size

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

func (*BasicTypes_U) String

func (this *BasicTypes_U) String() string

type Debug

type Debug struct {
	Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
}

Debug used to attached some debug info for the point, these debug info will encoded into payload, storage can take optional handle on these debug info.

func (*Debug) Descriptor

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

func (*Debug) Equal

func (this *Debug) Equal(that interface{}) bool

func (*Debug) GetInfo

func (m *Debug) GetInfo() string

func (*Debug) GoString

func (this *Debug) GoString() string

func (*Debug) Marshal

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

func (*Debug) MarshalTo

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

func (*Debug) MarshalToSizedBuffer

func (m *Debug) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Debug) ProtoMessage

func (*Debug) ProtoMessage()

func (*Debug) Reset

func (m *Debug) Reset()

func (*Debug) Size

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

func (*Debug) String

func (this *Debug) String() string

func (*Debug) Unmarshal

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

func (*Debug) XXX_DiscardUnknown

func (m *Debug) XXX_DiscardUnknown()

func (*Debug) XXX_Marshal

func (m *Debug) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Debug) XXX_Merge

func (m *Debug) XXX_Merge(src proto.Message)

func (*Debug) XXX_Size

func (m *Debug) XXX_Size() int

func (*Debug) XXX_Unmarshal

func (m *Debug) XXX_Unmarshal(b []byte) error

type Field

type Field struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// See https://developers.google.com/protocol-buffers/docs/proto3#json
	//
	// Types that are valid to be assigned to Val:
	//	*Field_I
	//	*Field_U
	//	*Field_F
	//	*Field_B
	//	*Field_D
	//	*Field_S
	//	*Field_A
	Val   isField_Val `protobuf_oneof:"val"`
	IsTag bool        `protobuf:"varint,8,opt,name=is_tag,proto3" json:"is_tag,omitempty"`
	Type  MetricType  `protobuf:"varint,9,opt,name=type,proto3,enum=gogopb.MetricType" json:"type,omitempty"`
	// field unit name
	Unit string `protobuf:"bytes,10,opt,name=unit,proto3" json:"unit,omitempty"`
}

func (*Field) Descriptor

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

func (*Field) Equal

func (this *Field) Equal(that interface{}) bool

func (*Field) GetA

func (m *Field) GetA() *types.Any

func (*Field) GetB

func (m *Field) GetB() bool

func (*Field) GetD

func (m *Field) GetD() []byte

func (*Field) GetF

func (m *Field) GetF() float64

func (*Field) GetI

func (m *Field) GetI() int64

func (*Field) GetIsTag

func (m *Field) GetIsTag() bool

func (*Field) GetKey

func (m *Field) GetKey() string

func (*Field) GetS

func (m *Field) GetS() string

func (*Field) GetType

func (m *Field) GetType() MetricType

func (*Field) GetU

func (m *Field) GetU() uint64

func (*Field) GetUnit

func (m *Field) GetUnit() string

func (*Field) GetVal

func (m *Field) GetVal() isField_Val

func (*Field) GoString

func (this *Field) GoString() string

func (*Field) Marshal

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

func (*Field) MarshalTo

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

func (*Field) MarshalToSizedBuffer

func (m *Field) MarshalToSizedBuffer(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 (this *Field) String() string

func (*Field) Unmarshal

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

func (*Field) XXX_DiscardUnknown

func (m *Field) XXX_DiscardUnknown()

func (*Field) XXX_Marshal

func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Field) XXX_Merge

func (m *Field) XXX_Merge(src proto.Message)

func (*Field) XXX_OneofWrappers

func (*Field) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Field) XXX_Size

func (m *Field) XXX_Size() int

func (*Field) XXX_Unmarshal

func (m *Field) XXX_Unmarshal(b []byte) error

type Field_A

type Field_A struct {
	A *types.Any `protobuf:"bytes,7,opt,name=a,proto3,oneof" json:"a,omitempty"`
}

func (*Field_A) Equal

func (this *Field_A) Equal(that interface{}) bool

func (*Field_A) GoString

func (this *Field_A) GoString() string

func (*Field_A) MarshalTo

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

func (*Field_A) MarshalToSizedBuffer

func (m *Field_A) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Field_A) Size

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

func (*Field_A) String

func (this *Field_A) String() string

type Field_B

type Field_B struct {
	B bool `protobuf:"varint,5,opt,name=b,proto3,oneof" json:"b,omitempty"`
}

func (*Field_B) Equal

func (this *Field_B) Equal(that interface{}) bool

func (*Field_B) GoString

func (this *Field_B) GoString() string

func (*Field_B) MarshalTo

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

func (*Field_B) MarshalToSizedBuffer

func (m *Field_B) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Field_B) Size

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

func (*Field_B) String

func (this *Field_B) String() string

type Field_D

type Field_D struct {
	D []byte `protobuf:"bytes,6,opt,name=d,proto3,oneof" json:"d,omitempty"`
}

func (*Field_D) Equal

func (this *Field_D) Equal(that interface{}) bool

func (*Field_D) GoString

func (this *Field_D) GoString() string

func (*Field_D) MarshalTo

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

func (*Field_D) MarshalToSizedBuffer

func (m *Field_D) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Field_D) Size

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

func (*Field_D) String

func (this *Field_D) String() string

type Field_F

type Field_F struct {
	F float64 `protobuf:"fixed64,4,opt,name=f,proto3,oneof" json:"f,omitempty"`
}

func (*Field_F) Equal

func (this *Field_F) Equal(that interface{}) bool

func (*Field_F) GoString

func (this *Field_F) GoString() string

func (*Field_F) MarshalTo

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

func (*Field_F) MarshalToSizedBuffer

func (m *Field_F) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Field_F) Size

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

func (*Field_F) String

func (this *Field_F) String() string

type Field_I

type Field_I struct {
	I int64 `protobuf:"varint,2,opt,name=i,proto3,oneof" json:"i,omitempty"`
}

func (*Field_I) Equal

func (this *Field_I) Equal(that interface{}) bool

func (*Field_I) GoString

func (this *Field_I) GoString() string

func (*Field_I) MarshalTo

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

func (*Field_I) MarshalToSizedBuffer

func (m *Field_I) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Field_I) Size

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

func (*Field_I) String

func (this *Field_I) String() string

type Field_S

type Field_S struct {
	S string `protobuf:"bytes,11,opt,name=s,proto3,oneof" json:"s,omitempty"`
}

func (*Field_S) Equal

func (this *Field_S) Equal(that interface{}) bool

func (*Field_S) GoString

func (this *Field_S) GoString() string

func (*Field_S) MarshalTo

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

func (*Field_S) MarshalToSizedBuffer

func (m *Field_S) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Field_S) Size

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

func (*Field_S) String

func (this *Field_S) String() string

type Field_U

type Field_U struct {
	U uint64 `protobuf:"varint,3,opt,name=u,proto3,oneof" json:"u,omitempty"`
}

func (*Field_U) Equal

func (this *Field_U) Equal(that interface{}) bool

func (*Field_U) GoString

func (this *Field_U) GoString() string

func (*Field_U) MarshalTo

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

func (*Field_U) MarshalToSizedBuffer

func (m *Field_U) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Field_U) Size

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

func (*Field_U) String

func (this *Field_U) String() string

type KeyType

type KeyType int32
const (
	X   KeyType = 0
	I   KeyType = 1
	U   KeyType = 2
	F   KeyType = 3
	B   KeyType = 4
	D   KeyType = 5
	NIL KeyType = 6
	S   KeyType = 7
	A   KeyType = 8
)

func (KeyType) EnumDescriptor

func (KeyType) EnumDescriptor() ([]byte, []int)

func (KeyType) String

func (x KeyType) String() string

type Map

type Map struct {
	Map map[string]*BasicTypes `` /* 147-byte string literal not displayed */
}

func (*Map) Descriptor

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

func (*Map) Equal

func (this *Map) Equal(that interface{}) bool

func (*Map) GetMap

func (m *Map) GetMap() map[string]*BasicTypes

func (*Map) GoString

func (this *Map) GoString() string

func (*Map) Marshal

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

func (*Map) MarshalTo

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

func (*Map) MarshalToSizedBuffer

func (m *Map) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) Reset

func (m *Map) Reset()

func (*Map) Size

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

func (*Map) String

func (this *Map) String() string

func (*Map) Unmarshal

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

func (*Map) XXX_DiscardUnknown

func (m *Map) XXX_DiscardUnknown()

func (*Map) XXX_Marshal

func (m *Map) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Map) XXX_Merge

func (m *Map) XXX_Merge(src proto.Message)

func (*Map) XXX_Size

func (m *Map) XXX_Size() int

func (*Map) XXX_Unmarshal

func (m *Map) XXX_Unmarshal(b []byte) error

type MetricType

type MetricType int32
const (
	UNSPECIFIED MetricType = 0
	COUNT       MetricType = 1
	RATE        MetricType = 2
	GAUGE       MetricType = 3
)

func (MetricType) EnumDescriptor

func (MetricType) EnumDescriptor() ([]byte, []int)

func (MetricType) String

func (x MetricType) String() string

type PBPoint

type PBPoint struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	Time   int64    `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	// Auxiliary fields for the point, they should not
	// write to the final storage on production.
	Warns  []*Warn  `protobuf:"bytes,4,rep,name=warns,proto3" json:"warns,omitempty"`
	Debugs []*Debug `protobuf:"bytes,5,rep,name=debugs,proto3" json:"debugs,omitempty"`
}

func (*PBPoint) Descriptor

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

func (*PBPoint) Equal

func (this *PBPoint) Equal(that interface{}) bool

func (*PBPoint) GetDebugs

func (m *PBPoint) GetDebugs() []*Debug

func (*PBPoint) GetFields

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

func (*PBPoint) GetName

func (m *PBPoint) GetName() string

func (*PBPoint) GetTime

func (m *PBPoint) GetTime() int64

func (*PBPoint) GetWarns

func (m *PBPoint) GetWarns() []*Warn

func (*PBPoint) GoString

func (this *PBPoint) GoString() string

func (*PBPoint) Marshal

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

func (*PBPoint) MarshalTo

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

func (*PBPoint) MarshalToSizedBuffer

func (m *PBPoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PBPoint) ProtoMessage

func (*PBPoint) ProtoMessage()

func (*PBPoint) Reset

func (m *PBPoint) Reset()

func (*PBPoint) Size

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

func (*PBPoint) String

func (this *PBPoint) String() string

func (*PBPoint) Unmarshal

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

func (*PBPoint) XXX_DiscardUnknown

func (m *PBPoint) XXX_DiscardUnknown()

func (*PBPoint) XXX_Marshal

func (m *PBPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PBPoint) XXX_Merge

func (m *PBPoint) XXX_Merge(src proto.Message)

func (*PBPoint) XXX_Size

func (m *PBPoint) XXX_Size() int

func (*PBPoint) XXX_Unmarshal

func (m *PBPoint) XXX_Unmarshal(b []byte) error

type PBPoints

type PBPoints struct {
	Arr []*PBPoint `protobuf:"bytes,1,rep,name=arr,proto3" json:"arr,omitempty"`
}

batch of pbpoint.

func (*PBPoints) Descriptor

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

func (*PBPoints) Equal

func (this *PBPoints) Equal(that interface{}) bool

func (*PBPoints) GetArr

func (m *PBPoints) GetArr() []*PBPoint

func (*PBPoints) GoString

func (this *PBPoints) GoString() string

func (*PBPoints) Marshal

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

func (*PBPoints) MarshalTo

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

func (*PBPoints) MarshalToSizedBuffer

func (m *PBPoints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PBPoints) ProtoMessage

func (*PBPoints) ProtoMessage()

func (*PBPoints) Reset

func (m *PBPoints) Reset()

func (*PBPoints) Size

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

func (*PBPoints) String

func (this *PBPoints) String() string

func (*PBPoints) Unmarshal

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

func (*PBPoints) XXX_DiscardUnknown

func (m *PBPoints) XXX_DiscardUnknown()

func (*PBPoints) XXX_Marshal

func (m *PBPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PBPoints) XXX_Merge

func (m *PBPoints) XXX_Merge(src proto.Message)

func (*PBPoints) XXX_Size

func (m *PBPoints) XXX_Size() int

func (*PBPoints) XXX_Unmarshal

func (m *PBPoints) XXX_Unmarshal(b []byte) error

type Warn

type Warn struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,json=message,proto3" json:"msg,omitempty"`
}

Warn used to attach some warning message during building the point.

func (*Warn) Descriptor

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

func (*Warn) Equal

func (this *Warn) Equal(that interface{}) bool

func (*Warn) GetMsg

func (m *Warn) GetMsg() string

func (*Warn) GetType

func (m *Warn) GetType() string

func (*Warn) GoString

func (this *Warn) GoString() string

func (*Warn) Marshal

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

func (*Warn) MarshalTo

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

func (*Warn) MarshalToSizedBuffer

func (m *Warn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Warn) ProtoMessage

func (*Warn) ProtoMessage()

func (*Warn) Reset

func (m *Warn) Reset()

func (*Warn) Size

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

func (*Warn) String

func (this *Warn) String() string

func (*Warn) Unmarshal

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

func (*Warn) XXX_DiscardUnknown

func (m *Warn) XXX_DiscardUnknown()

func (*Warn) XXX_Marshal

func (m *Warn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Warn) XXX_Merge

func (m *Warn) XXX_Merge(src proto.Message)

func (*Warn) XXX_Size

func (m *Warn) XXX_Size() int

func (*Warn) XXX_Unmarshal

func (m *Warn) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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