pb

package
v0.0.0-...-fddcf56 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_point_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Point

type Point struct {
	Type      string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Value     float32                `protobuf:"fixed32,4,opt,name=value,proto3" json:"value,omitempty"`
	Time      *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
	Index     float32                `protobuf:"fixed32,13,opt,name=index,proto3" json:"index,omitempty"`
	Text      string                 `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"`
	Key       string                 `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"`
	Tombstone int32                  `protobuf:"varint,12,opt,name=tombstone,proto3" json:"tombstone,omitempty"`
	Data      []byte                 `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated

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

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetData

func (x *Point) GetData() []byte

func (*Point) GetIndex

func (x *Point) GetIndex() float32

func (*Point) GetKey

func (x *Point) GetKey() string

func (*Point) GetText

func (x *Point) GetText() string

func (*Point) GetTime

func (x *Point) GetTime() *timestamppb.Timestamp

func (*Point) GetTombstone

func (x *Point) GetTombstone() int32

func (*Point) GetType

func (x *Point) GetType() string

func (*Point) GetValue

func (x *Point) GetValue() float32

func (*Point) MarshalToSizedBufferVT

func (m *Point) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Point) MarshalToVT

func (m *Point) MarshalToVT(dAtA []byte) (int, error)

func (*Point) MarshalVT

func (m *Point) MarshalVT() (dAtA []byte, err error)

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) SizeVT

func (m *Point) SizeVT() (n int)

func (*Point) String

func (x *Point) String() string

func (*Point) UnmarshalVT

func (m *Point) UnmarshalVT(dAtA []byte) error

type Points

type Points struct {
	Points []*Point `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

func (*Points) Descriptor deprecated

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

Deprecated: Use Points.ProtoReflect.Descriptor instead.

func (*Points) GetPoints

func (x *Points) GetPoints() []*Point

func (*Points) MarshalToSizedBufferVT

func (m *Points) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Points) MarshalToVT

func (m *Points) MarshalToVT(dAtA []byte) (int, error)

func (*Points) MarshalVT

func (m *Points) MarshalVT() (dAtA []byte, err error)

func (*Points) ProtoMessage

func (*Points) ProtoMessage()

func (*Points) ProtoReflect

func (x *Points) ProtoReflect() protoreflect.Message

func (*Points) Reset

func (x *Points) Reset()

func (*Points) SizeVT

func (m *Points) SizeVT() (n int)

func (*Points) String

func (x *Points) String() string

func (*Points) UnmarshalVT

func (m *Points) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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