Documentation ¶
Overview ¶
Package rpcpb is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/query/generated/proto/rpcpb/query.proto
It has these top-level messages:
WriteMessage WriteQuery WriteOptions Datapoint Datapoints Error FetchMessage FetchQuery FetchOptions Matcher FetchResult Segment Segments CompressedValuesReplica CompressedDatapoints Tag Series
Index ¶
- Variables
- func RegisterQueryServer(s *grpc.Server, srv QueryServer)
- type CompressedDatapoints
- func (*CompressedDatapoints) Descriptor() ([]byte, []int)
- func (m *CompressedDatapoints) GetCompressedTags() []byte
- func (m *CompressedDatapoints) GetEndTime() int64
- func (m *CompressedDatapoints) GetNamespace() []byte
- func (m *CompressedDatapoints) GetReplicas() []*CompressedValuesReplica
- func (m *CompressedDatapoints) GetStartTime() int64
- func (m *CompressedDatapoints) Marshal() (dAtA []byte, err error)
- func (m *CompressedDatapoints) MarshalTo(dAtA []byte) (int, error)
- func (*CompressedDatapoints) ProtoMessage()
- func (m *CompressedDatapoints) Reset()
- func (m *CompressedDatapoints) Size() (n int)
- func (m *CompressedDatapoints) String() string
- func (m *CompressedDatapoints) Unmarshal(dAtA []byte) error
- type CompressedValuesReplica
- func (*CompressedValuesReplica) Descriptor() ([]byte, []int)
- func (m *CompressedValuesReplica) GetSegments() []*Segments
- func (m *CompressedValuesReplica) Marshal() (dAtA []byte, err error)
- func (m *CompressedValuesReplica) MarshalTo(dAtA []byte) (int, error)
- func (*CompressedValuesReplica) ProtoMessage()
- func (m *CompressedValuesReplica) Reset()
- func (m *CompressedValuesReplica) Size() (n int)
- func (m *CompressedValuesReplica) String() string
- func (m *CompressedValuesReplica) Unmarshal(dAtA []byte) error
- type Datapoint
- func (*Datapoint) Descriptor() ([]byte, []int)
- func (m *Datapoint) GetTimestamp() int64
- func (m *Datapoint) GetValue() float64
- func (m *Datapoint) Marshal() (dAtA []byte, err error)
- func (m *Datapoint) MarshalTo(dAtA []byte) (int, error)
- func (*Datapoint) ProtoMessage()
- func (m *Datapoint) Reset()
- func (m *Datapoint) Size() (n int)
- func (m *Datapoint) String() string
- func (m *Datapoint) Unmarshal(dAtA []byte) error
- type Datapoints
- func (*Datapoints) Descriptor() ([]byte, []int)
- func (m *Datapoints) GetDatapoints() []*Datapoint
- func (m *Datapoints) GetFixedResolution() bool
- func (m *Datapoints) Marshal() (dAtA []byte, err error)
- func (m *Datapoints) MarshalTo(dAtA []byte) (int, error)
- func (*Datapoints) ProtoMessage()
- func (m *Datapoints) Reset()
- func (m *Datapoints) Size() (n int)
- func (m *Datapoints) String() string
- func (m *Datapoints) Unmarshal(dAtA []byte) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetError() string
- func (m *Error) Marshal() (dAtA []byte, err error)
- func (m *Error) MarshalTo(dAtA []byte) (int, error)
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) Size() (n int)
- func (m *Error) String() string
- func (m *Error) Unmarshal(dAtA []byte) error
- type FetchMessage
- func (*FetchMessage) Descriptor() ([]byte, []int)
- func (m *FetchMessage) GetOptions() *FetchOptions
- func (m *FetchMessage) GetQuery() *FetchQuery
- func (m *FetchMessage) Marshal() (dAtA []byte, err error)
- func (m *FetchMessage) MarshalTo(dAtA []byte) (int, error)
- func (*FetchMessage) ProtoMessage()
- func (m *FetchMessage) Reset()
- func (m *FetchMessage) Size() (n int)
- func (m *FetchMessage) String() string
- func (m *FetchMessage) Unmarshal(dAtA []byte) error
- type FetchOptions
- func (*FetchOptions) Descriptor() ([]byte, []int)
- func (m *FetchOptions) GetId() string
- func (m *FetchOptions) Marshal() (dAtA []byte, err error)
- func (m *FetchOptions) MarshalTo(dAtA []byte) (int, error)
- func (*FetchOptions) ProtoMessage()
- func (m *FetchOptions) Reset()
- func (m *FetchOptions) Size() (n int)
- func (m *FetchOptions) String() string
- func (m *FetchOptions) Unmarshal(dAtA []byte) error
- type FetchQuery
- func (*FetchQuery) Descriptor() ([]byte, []int)
- func (m *FetchQuery) GetEnd() int64
- func (m *FetchQuery) GetStart() int64
- func (m *FetchQuery) GetTagMatchers() []*Matcher
- func (m *FetchQuery) Marshal() (dAtA []byte, err error)
- func (m *FetchQuery) MarshalTo(dAtA []byte) (int, error)
- func (*FetchQuery) ProtoMessage()
- func (m *FetchQuery) Reset()
- func (m *FetchQuery) Size() (n int)
- func (m *FetchQuery) String() string
- func (m *FetchQuery) Unmarshal(dAtA []byte) error
- type FetchResult
- func (*FetchResult) Descriptor() ([]byte, []int)
- func (m *FetchResult) GetSeries() []*Series
- func (m *FetchResult) Marshal() (dAtA []byte, err error)
- func (m *FetchResult) MarshalTo(dAtA []byte) (int, error)
- func (*FetchResult) ProtoMessage()
- func (m *FetchResult) Reset()
- func (m *FetchResult) Size() (n int)
- func (m *FetchResult) String() string
- func (m *FetchResult) Unmarshal(dAtA []byte) error
- type Matcher
- func (*Matcher) Descriptor() ([]byte, []int)
- func (m *Matcher) GetName() string
- func (m *Matcher) GetType() int64
- func (m *Matcher) GetValue() string
- func (m *Matcher) Marshal() (dAtA []byte, err error)
- func (m *Matcher) MarshalTo(dAtA []byte) (int, error)
- func (*Matcher) ProtoMessage()
- func (m *Matcher) Reset()
- func (m *Matcher) Size() (n int)
- func (m *Matcher) String() string
- func (m *Matcher) Unmarshal(dAtA []byte) error
- type QueryClient
- type QueryServer
- type Query_FetchClient
- type Query_FetchServer
- type Query_WriteClient
- type Query_WriteServer
- type Segment
- func (*Segment) Descriptor() ([]byte, []int)
- func (m *Segment) GetBlockSize() int64
- func (m *Segment) GetHead() []byte
- func (m *Segment) GetStartTime() int64
- func (m *Segment) GetTail() []byte
- func (m *Segment) Marshal() (dAtA []byte, err error)
- func (m *Segment) MarshalTo(dAtA []byte) (int, error)
- func (*Segment) ProtoMessage()
- func (m *Segment) Reset()
- func (m *Segment) Size() (n int)
- func (m *Segment) String() string
- func (m *Segment) Unmarshal(dAtA []byte) error
- type Segments
- func (*Segments) Descriptor() ([]byte, []int)
- func (m *Segments) GetMerged() *Segment
- func (m *Segments) GetUnmerged() []*Segment
- func (m *Segments) Marshal() (dAtA []byte, err error)
- func (m *Segments) MarshalTo(dAtA []byte) (int, error)
- func (*Segments) ProtoMessage()
- func (m *Segments) Reset()
- func (m *Segments) Size() (n int)
- func (m *Segments) String() string
- func (m *Segments) Unmarshal(dAtA []byte) error
- type Series
- func (*Series) Descriptor() ([]byte, []int)
- func (m *Series) GetCompressed() *CompressedDatapoints
- func (m *Series) GetId() []byte
- func (m *Series) GetTags() []*Tag
- func (m *Series) GetValues() *Datapoints
- 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 Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) GetName() []byte
- func (m *Tag) GetValue() []byte
- func (m *Tag) Marshal() (dAtA []byte, err error)
- func (m *Tag) MarshalTo(dAtA []byte) (int, error)
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) Size() (n int)
- func (m *Tag) String() string
- func (m *Tag) Unmarshal(dAtA []byte) error
- type WriteMessage
- func (*WriteMessage) Descriptor() ([]byte, []int)
- func (m *WriteMessage) GetOptions() *WriteOptions
- func (m *WriteMessage) GetQuery() *WriteQuery
- func (m *WriteMessage) Marshal() (dAtA []byte, err error)
- func (m *WriteMessage) MarshalTo(dAtA []byte) (int, error)
- func (*WriteMessage) ProtoMessage()
- func (m *WriteMessage) Reset()
- func (m *WriteMessage) Size() (n int)
- func (m *WriteMessage) String() string
- func (m *WriteMessage) Unmarshal(dAtA []byte) error
- type WriteOptions
- func (*WriteOptions) Descriptor() ([]byte, []int)
- func (m *WriteOptions) GetId() string
- func (m *WriteOptions) Marshal() (dAtA []byte, err error)
- func (m *WriteOptions) MarshalTo(dAtA []byte) (int, error)
- func (*WriteOptions) ProtoMessage()
- func (m *WriteOptions) Reset()
- func (m *WriteOptions) Size() (n int)
- func (m *WriteOptions) String() string
- func (m *WriteOptions) Unmarshal(dAtA []byte) error
- type WriteQuery
- func (*WriteQuery) Descriptor() ([]byte, []int)
- func (m *WriteQuery) GetAnnotation() []byte
- func (m *WriteQuery) GetDatapoints() []*Datapoint
- func (m *WriteQuery) GetTags() map[string]string
- func (m *WriteQuery) GetUnit() int32
- func (m *WriteQuery) Marshal() (dAtA []byte, err error)
- func (m *WriteQuery) MarshalTo(dAtA []byte) (int, error)
- func (*WriteQuery) ProtoMessage()
- func (m *WriteQuery) Reset()
- func (m *WriteQuery) Size() (n int)
- func (m *WriteQuery) String() string
- func (m *WriteQuery) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s *grpc.Server, srv QueryServer)
Types ¶
type CompressedDatapoints ¶
type CompressedDatapoints struct { Namespace []byte `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"` CompressedTags []byte `protobuf:"bytes,4,opt,name=compressedTags,proto3" json:"compressedTags,omitempty"` Replicas []*CompressedValuesReplica `protobuf:"bytes,5,rep,name=replicas" json:"replicas,omitempty"` }
func (*CompressedDatapoints) Descriptor ¶
func (*CompressedDatapoints) Descriptor() ([]byte, []int)
func (*CompressedDatapoints) GetCompressedTags ¶
func (m *CompressedDatapoints) GetCompressedTags() []byte
func (*CompressedDatapoints) GetEndTime ¶
func (m *CompressedDatapoints) GetEndTime() int64
func (*CompressedDatapoints) GetNamespace ¶
func (m *CompressedDatapoints) GetNamespace() []byte
func (*CompressedDatapoints) GetReplicas ¶
func (m *CompressedDatapoints) GetReplicas() []*CompressedValuesReplica
func (*CompressedDatapoints) GetStartTime ¶
func (m *CompressedDatapoints) GetStartTime() int64
func (*CompressedDatapoints) Marshal ¶
func (m *CompressedDatapoints) Marshal() (dAtA []byte, err error)
func (*CompressedDatapoints) MarshalTo ¶
func (m *CompressedDatapoints) MarshalTo(dAtA []byte) (int, error)
func (*CompressedDatapoints) ProtoMessage ¶
func (*CompressedDatapoints) ProtoMessage()
func (*CompressedDatapoints) Reset ¶
func (m *CompressedDatapoints) Reset()
func (*CompressedDatapoints) Size ¶
func (m *CompressedDatapoints) Size() (n int)
func (*CompressedDatapoints) String ¶
func (m *CompressedDatapoints) String() string
func (*CompressedDatapoints) Unmarshal ¶
func (m *CompressedDatapoints) Unmarshal(dAtA []byte) error
type CompressedValuesReplica ¶
type CompressedValuesReplica struct {
Segments []*Segments `protobuf:"bytes,1,rep,name=segments" json:"segments,omitempty"`
}
func (*CompressedValuesReplica) Descriptor ¶
func (*CompressedValuesReplica) Descriptor() ([]byte, []int)
func (*CompressedValuesReplica) GetSegments ¶
func (m *CompressedValuesReplica) GetSegments() []*Segments
func (*CompressedValuesReplica) Marshal ¶
func (m *CompressedValuesReplica) Marshal() (dAtA []byte, err error)
func (*CompressedValuesReplica) MarshalTo ¶
func (m *CompressedValuesReplica) MarshalTo(dAtA []byte) (int, error)
func (*CompressedValuesReplica) ProtoMessage ¶
func (*CompressedValuesReplica) ProtoMessage()
func (*CompressedValuesReplica) Reset ¶
func (m *CompressedValuesReplica) Reset()
func (*CompressedValuesReplica) Size ¶
func (m *CompressedValuesReplica) Size() (n int)
func (*CompressedValuesReplica) String ¶
func (m *CompressedValuesReplica) String() string
func (*CompressedValuesReplica) Unmarshal ¶
func (m *CompressedValuesReplica) Unmarshal(dAtA []byte) error
type Datapoint ¶
type Datapoint struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*Datapoint) Descriptor ¶
func (*Datapoint) GetTimestamp ¶
func (*Datapoint) ProtoMessage ¶
func (*Datapoint) ProtoMessage()
type Datapoints ¶
type Datapoints struct { Datapoints []*Datapoint `protobuf:"bytes,1,rep,name=datapoints" json:"datapoints,omitempty"` FixedResolution bool `protobuf:"varint,2,opt,name=fixedResolution,proto3" json:"fixedResolution,omitempty"` }
func (*Datapoints) Descriptor ¶
func (*Datapoints) Descriptor() ([]byte, []int)
func (*Datapoints) GetDatapoints ¶
func (m *Datapoints) GetDatapoints() []*Datapoint
func (*Datapoints) GetFixedResolution ¶
func (m *Datapoints) GetFixedResolution() bool
func (*Datapoints) Marshal ¶
func (m *Datapoints) Marshal() (dAtA []byte, err error)
func (*Datapoints) ProtoMessage ¶
func (*Datapoints) ProtoMessage()
func (*Datapoints) Reset ¶
func (m *Datapoints) Reset()
func (*Datapoints) Size ¶
func (m *Datapoints) Size() (n int)
func (*Datapoints) String ¶
func (m *Datapoints) String() string
func (*Datapoints) Unmarshal ¶
func (m *Datapoints) Unmarshal(dAtA []byte) error
type Error ¶
type Error struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
func (*Error) Descriptor ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type FetchMessage ¶
type FetchMessage struct { Query *FetchQuery `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"` Options *FetchOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` }
func (*FetchMessage) Descriptor ¶
func (*FetchMessage) Descriptor() ([]byte, []int)
func (*FetchMessage) GetOptions ¶
func (m *FetchMessage) GetOptions() *FetchOptions
func (*FetchMessage) GetQuery ¶
func (m *FetchMessage) GetQuery() *FetchQuery
func (*FetchMessage) Marshal ¶
func (m *FetchMessage) Marshal() (dAtA []byte, err error)
func (*FetchMessage) ProtoMessage ¶
func (*FetchMessage) ProtoMessage()
func (*FetchMessage) Reset ¶
func (m *FetchMessage) Reset()
func (*FetchMessage) Size ¶
func (m *FetchMessage) Size() (n int)
func (*FetchMessage) String ¶
func (m *FetchMessage) String() string
func (*FetchMessage) Unmarshal ¶
func (m *FetchMessage) Unmarshal(dAtA []byte) error
type FetchOptions ¶
type FetchOptions struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*FetchOptions) Descriptor ¶
func (*FetchOptions) Descriptor() ([]byte, []int)
func (*FetchOptions) GetId ¶
func (m *FetchOptions) GetId() string
func (*FetchOptions) Marshal ¶
func (m *FetchOptions) Marshal() (dAtA []byte, err error)
func (*FetchOptions) ProtoMessage ¶
func (*FetchOptions) ProtoMessage()
func (*FetchOptions) Reset ¶
func (m *FetchOptions) Reset()
func (*FetchOptions) Size ¶
func (m *FetchOptions) Size() (n int)
func (*FetchOptions) String ¶
func (m *FetchOptions) String() string
func (*FetchOptions) Unmarshal ¶
func (m *FetchOptions) Unmarshal(dAtA []byte) error
type FetchQuery ¶
type FetchQuery struct { Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` TagMatchers []*Matcher `protobuf:"bytes,3,rep,name=tagMatchers" json:"tagMatchers,omitempty"` }
func (*FetchQuery) Descriptor ¶
func (*FetchQuery) Descriptor() ([]byte, []int)
func (*FetchQuery) GetEnd ¶
func (m *FetchQuery) GetEnd() int64
func (*FetchQuery) GetStart ¶
func (m *FetchQuery) GetStart() int64
func (*FetchQuery) GetTagMatchers ¶
func (m *FetchQuery) GetTagMatchers() []*Matcher
func (*FetchQuery) Marshal ¶
func (m *FetchQuery) Marshal() (dAtA []byte, err error)
func (*FetchQuery) ProtoMessage ¶
func (*FetchQuery) ProtoMessage()
func (*FetchQuery) Reset ¶
func (m *FetchQuery) Reset()
func (*FetchQuery) Size ¶
func (m *FetchQuery) Size() (n int)
func (*FetchQuery) String ¶
func (m *FetchQuery) String() string
func (*FetchQuery) Unmarshal ¶
func (m *FetchQuery) Unmarshal(dAtA []byte) error
type FetchResult ¶
type FetchResult struct {
Series []*Series `protobuf:"bytes,1,rep,name=series" json:"series,omitempty"`
}
func (*FetchResult) Descriptor ¶
func (*FetchResult) Descriptor() ([]byte, []int)
func (*FetchResult) GetSeries ¶
func (m *FetchResult) GetSeries() []*Series
func (*FetchResult) Marshal ¶
func (m *FetchResult) Marshal() (dAtA []byte, err error)
func (*FetchResult) ProtoMessage ¶
func (*FetchResult) ProtoMessage()
func (*FetchResult) Reset ¶
func (m *FetchResult) Reset()
func (*FetchResult) Size ¶
func (m *FetchResult) Size() (n int)
func (*FetchResult) String ¶
func (m *FetchResult) String() string
func (*FetchResult) Unmarshal ¶
func (m *FetchResult) Unmarshal(dAtA []byte) error
type Matcher ¶
type Matcher struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` }
func (*Matcher) Descriptor ¶
func (*Matcher) ProtoMessage ¶
func (*Matcher) ProtoMessage()
type QueryClient ¶
type QueryClient interface { Fetch(ctx context.Context, in *FetchMessage, opts ...grpc.CallOption) (Query_FetchClient, error) Write(ctx context.Context, opts ...grpc.CallOption) (Query_WriteClient, error) }
func NewQueryClient ¶
func NewQueryClient(cc *grpc.ClientConn) QueryClient
type QueryServer ¶
type QueryServer interface { Fetch(*FetchMessage, Query_FetchServer) error Write(Query_WriteServer) error }
type Query_FetchClient ¶
type Query_FetchClient interface { Recv() (*FetchResult, error) grpc.ClientStream }
type Query_FetchServer ¶
type Query_FetchServer interface { Send(*FetchResult) error grpc.ServerStream }
type Query_WriteClient ¶
type Query_WriteClient interface { Send(*WriteMessage) error CloseAndRecv() (*Error, error) grpc.ClientStream }
type Query_WriteServer ¶
type Query_WriteServer interface { SendAndClose(*Error) error Recv() (*WriteMessage, error) grpc.ServerStream }
type Segment ¶
type Segment struct { Head []byte `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` Tail []byte `protobuf:"bytes,2,opt,name=tail,proto3" json:"tail,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` BlockSize int64 `protobuf:"varint,4,opt,name=blockSize,proto3" json:"blockSize,omitempty"` }
func (*Segment) Descriptor ¶
func (*Segment) GetBlockSize ¶
func (*Segment) GetStartTime ¶
func (*Segment) ProtoMessage ¶
func (*Segment) ProtoMessage()
type Segments ¶
type Segments struct { Merged *Segment `protobuf:"bytes,1,opt,name=merged" json:"merged,omitempty"` Unmerged []*Segment `protobuf:"bytes,2,rep,name=unmerged" json:"unmerged,omitempty"` }
func (*Segments) Descriptor ¶
func (*Segments) GetUnmerged ¶
func (*Segments) ProtoMessage ¶
func (*Segments) ProtoMessage()
type Series ¶
type Series struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Values *Datapoints `protobuf:"bytes,2,opt,name=values" json:"values,omitempty"` Tags []*Tag `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"` Compressed *CompressedDatapoints `protobuf:"bytes,4,opt,name=compressed" json:"compressed,omitempty"` }
func (*Series) Descriptor ¶
func (*Series) GetCompressed ¶
func (m *Series) GetCompressed() *CompressedDatapoints
func (*Series) GetValues ¶
func (m *Series) GetValues() *Datapoints
func (*Series) ProtoMessage ¶
func (*Series) ProtoMessage()
type Tag ¶
type Tag struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*Tag) Descriptor ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
type WriteMessage ¶
type WriteMessage struct { Query *WriteQuery `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"` Options *WriteOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` }
func (*WriteMessage) Descriptor ¶
func (*WriteMessage) Descriptor() ([]byte, []int)
func (*WriteMessage) GetOptions ¶
func (m *WriteMessage) GetOptions() *WriteOptions
func (*WriteMessage) GetQuery ¶
func (m *WriteMessage) GetQuery() *WriteQuery
func (*WriteMessage) Marshal ¶
func (m *WriteMessage) Marshal() (dAtA []byte, err error)
func (*WriteMessage) ProtoMessage ¶
func (*WriteMessage) ProtoMessage()
func (*WriteMessage) Reset ¶
func (m *WriteMessage) Reset()
func (*WriteMessage) Size ¶
func (m *WriteMessage) Size() (n int)
func (*WriteMessage) String ¶
func (m *WriteMessage) String() string
func (*WriteMessage) Unmarshal ¶
func (m *WriteMessage) Unmarshal(dAtA []byte) error
type WriteOptions ¶
type WriteOptions struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*WriteOptions) Descriptor ¶
func (*WriteOptions) Descriptor() ([]byte, []int)
func (*WriteOptions) GetId ¶
func (m *WriteOptions) GetId() string
func (*WriteOptions) Marshal ¶
func (m *WriteOptions) Marshal() (dAtA []byte, err error)
func (*WriteOptions) ProtoMessage ¶
func (*WriteOptions) ProtoMessage()
func (*WriteOptions) Reset ¶
func (m *WriteOptions) Reset()
func (*WriteOptions) Size ¶
func (m *WriteOptions) Size() (n int)
func (*WriteOptions) String ¶
func (m *WriteOptions) String() string
func (*WriteOptions) Unmarshal ¶
func (m *WriteOptions) Unmarshal(dAtA []byte) error
type WriteQuery ¶
type WriteQuery struct { Unit int32 `protobuf:"varint,1,opt,name=unit,proto3" json:"unit,omitempty"` Annotation []byte `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` Datapoints []*Datapoint `protobuf:"bytes,3,rep,name=datapoints" json:"datapoints,omitempty"` Tags map[string]string `` /* 142-byte string literal not displayed */ }
func (*WriteQuery) Descriptor ¶
func (*WriteQuery) Descriptor() ([]byte, []int)
func (*WriteQuery) GetAnnotation ¶
func (m *WriteQuery) GetAnnotation() []byte
func (*WriteQuery) GetDatapoints ¶
func (m *WriteQuery) GetDatapoints() []*Datapoint
func (*WriteQuery) GetTags ¶
func (m *WriteQuery) GetTags() map[string]string
func (*WriteQuery) GetUnit ¶
func (m *WriteQuery) GetUnit() int32
func (*WriteQuery) Marshal ¶
func (m *WriteQuery) Marshal() (dAtA []byte, err error)
func (*WriteQuery) ProtoMessage ¶
func (*WriteQuery) ProtoMessage()
func (*WriteQuery) Reset ¶
func (m *WriteQuery) Reset()
func (*WriteQuery) Size ¶
func (m *WriteQuery) Size() (n int)
func (*WriteQuery) String ¶
func (m *WriteQuery) String() string
func (*WriteQuery) Unmarshal ¶
func (m *WriteQuery) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.