Documentation ¶
Index ¶
- type Telemetry
- func (*Telemetry) Descriptor() ([]byte, []int)
- func (m *Telemetry) GetCollectionEndTime() uint64
- func (m *Telemetry) GetCollectionId() uint64
- func (m *Telemetry) GetCollectionStartTime() uint64
- func (m *Telemetry) GetDataGpb() *TelemetryGPBTable
- func (m *Telemetry) GetDataGpbkv() []*TelemetryField
- func (m *Telemetry) GetEncodingPath() string
- func (m *Telemetry) GetMsgTimestamp() uint64
- func (m *Telemetry) GetNodeIdStr() string
- func (m *Telemetry) GetSubscriptionIdStr() string
- func (*Telemetry) ProtoMessage()
- func (m *Telemetry) Reset()
- func (m *Telemetry) String() string
- func (m *Telemetry) XXX_DiscardUnknown()
- func (m *Telemetry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Telemetry) XXX_Merge(src proto.Message)
- func (m *Telemetry) XXX_Size() int
- func (m *Telemetry) XXX_Unmarshal(b []byte) error
- type TelemetryField
- func (*TelemetryField) Descriptor() ([]byte, []int)
- func (m *TelemetryField) GetBoolValue() bool
- func (m *TelemetryField) GetBytesValue() []byte
- func (m *TelemetryField) GetDoubleValue() float64
- func (m *TelemetryField) GetFields() []*TelemetryField
- func (m *TelemetryField) GetFloatValue() float32
- func (m *TelemetryField) GetName() string
- func (m *TelemetryField) GetSint32Value() int32
- func (m *TelemetryField) GetSint64Value() int64
- func (m *TelemetryField) GetStringValue() string
- func (m *TelemetryField) GetTimestamp() uint64
- func (m *TelemetryField) GetUint32Value() uint32
- func (m *TelemetryField) GetUint64Value() uint64
- func (*TelemetryField) ProtoMessage()
- func (m *TelemetryField) Reset()
- func (m *TelemetryField) String() string
- func (m *TelemetryField) XXX_DiscardUnknown()
- func (m *TelemetryField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TelemetryField) XXX_Merge(src proto.Message)
- func (m *TelemetryField) XXX_Size() int
- func (m *TelemetryField) XXX_Unmarshal(b []byte) error
- type TelemetryGPBTable
- func (*TelemetryGPBTable) Descriptor() ([]byte, []int)
- func (m *TelemetryGPBTable) GetRow() []*TelemetryRowGPB
- func (*TelemetryGPBTable) ProtoMessage()
- func (m *TelemetryGPBTable) Reset()
- func (m *TelemetryGPBTable) String() string
- func (m *TelemetryGPBTable) XXX_DiscardUnknown()
- func (m *TelemetryGPBTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TelemetryGPBTable) XXX_Merge(src proto.Message)
- func (m *TelemetryGPBTable) XXX_Size() int
- func (m *TelemetryGPBTable) XXX_Unmarshal(b []byte) error
- type TelemetryRowGPB
- func (*TelemetryRowGPB) Descriptor() ([]byte, []int)
- func (m *TelemetryRowGPB) GetContent() []byte
- func (m *TelemetryRowGPB) GetKeys() []byte
- func (m *TelemetryRowGPB) GetTimestamp() uint64
- func (*TelemetryRowGPB) ProtoMessage()
- func (m *TelemetryRowGPB) Reset()
- func (m *TelemetryRowGPB) String() string
- func (m *TelemetryRowGPB) XXX_DiscardUnknown()
- func (m *TelemetryRowGPB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TelemetryRowGPB) XXX_Merge(src proto.Message)
- func (m *TelemetryRowGPB) XXX_Size() int
- func (m *TelemetryRowGPB) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Telemetry ¶
type Telemetry struct { // oneof node_id_str, node_id_uuid NodeIdStr *string `protobuf:"bytes,1,opt,name=node_id_str,json=nodeIdStr" json:"node_id_str,omitempty"` // oneof subscription_id_str, subscription_id SubscriptionIdStr *string `protobuf:"bytes,3,opt,name=subscription_id_str,json=subscriptionIdStr" json:"subscription_id_str,omitempty"` // optional string sensor_path = 5; // not produced EncodingPath *string `protobuf:"bytes,6,opt,name=encoding_path,json=encodingPath" json:"encoding_path,omitempty"` // optional string model_version = 7; // not produced CollectionId *uint64 `protobuf:"varint,8,opt,name=collection_id,json=collectionId" json:"collection_id,omitempty"` CollectionStartTime *uint64 `protobuf:"varint,9,opt,name=collection_start_time,json=collectionStartTime" json:"collection_start_time,omitempty"` MsgTimestamp *uint64 `protobuf:"varint,10,opt,name=msg_timestamp,json=msgTimestamp" json:"msg_timestamp,omitempty"` // Either data_gpbkv or data_gpb is encoded DataGpbkv []*TelemetryField `protobuf:"bytes,11,rep,name=data_gpbkv,json=dataGpbkv" json:"data_gpbkv,omitempty"` DataGpb *TelemetryGPBTable `protobuf:"bytes,12,opt,name=data_gpb,json=dataGpb" json:"data_gpb,omitempty"` CollectionEndTime *uint64 `protobuf:"varint,13,opt,name=collection_end_time,json=collectionEndTime" json:"collection_end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Common message used as a header to both compact and self-describing telemetry messages.
func (*Telemetry) Descriptor ¶
func (*Telemetry) GetCollectionEndTime ¶
func (*Telemetry) GetCollectionId ¶
func (*Telemetry) GetCollectionStartTime ¶
func (*Telemetry) GetDataGpb ¶
func (m *Telemetry) GetDataGpb() *TelemetryGPBTable
func (*Telemetry) GetDataGpbkv ¶
func (m *Telemetry) GetDataGpbkv() []*TelemetryField
func (*Telemetry) GetEncodingPath ¶
func (*Telemetry) GetMsgTimestamp ¶
func (*Telemetry) GetNodeIdStr ¶
func (*Telemetry) GetSubscriptionIdStr ¶
func (*Telemetry) ProtoMessage ¶
func (*Telemetry) ProtoMessage()
func (*Telemetry) XXX_DiscardUnknown ¶
func (m *Telemetry) XXX_DiscardUnknown()
func (*Telemetry) XXX_Marshal ¶
func (*Telemetry) XXX_Unmarshal ¶
type TelemetryField ¶
type TelemetryField struct { Timestamp *uint64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` // oneof *_value below, encoded based on the native type of each value BytesValue []byte `protobuf:"bytes,4,opt,name=bytes_value,json=bytesValue" json:"bytes_value,omitempty"` StringValue *string `protobuf:"bytes,5,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` BoolValue *bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue" json:"bool_value,omitempty"` Uint32Value *uint32 `protobuf:"varint,7,opt,name=uint32_value,json=uint32Value" json:"uint32_value,omitempty"` Uint64Value *uint64 `protobuf:"varint,8,opt,name=uint64_value,json=uint64Value" json:"uint64_value,omitempty"` Sint32Value *int32 `protobuf:"zigzag32,9,opt,name=sint32_value,json=sint32Value" json:"sint32_value,omitempty"` Sint64Value *int64 `protobuf:"zigzag64,10,opt,name=sint64_value,json=sint64Value" json:"sint64_value,omitempty"` DoubleValue *float64 `protobuf:"fixed64,11,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` FloatValue *float32 `protobuf:"fixed32,12,opt,name=float_value,json=floatValue" json:"float_value,omitempty"` Fields []*TelemetryField `protobuf:"bytes,15,rep,name=fields" json:"fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Messages used to export content in GPB K/V form.
The set of messages in this .proto are sufficient to decode all telemetry messages.
func (*TelemetryField) Descriptor ¶
func (*TelemetryField) Descriptor() ([]byte, []int)
func (*TelemetryField) GetBoolValue ¶
func (m *TelemetryField) GetBoolValue() bool
func (*TelemetryField) GetBytesValue ¶
func (m *TelemetryField) GetBytesValue() []byte
func (*TelemetryField) GetDoubleValue ¶
func (m *TelemetryField) GetDoubleValue() float64
func (*TelemetryField) GetFields ¶
func (m *TelemetryField) GetFields() []*TelemetryField
func (*TelemetryField) GetFloatValue ¶
func (m *TelemetryField) GetFloatValue() float32
func (*TelemetryField) GetName ¶
func (m *TelemetryField) GetName() string
func (*TelemetryField) GetSint32Value ¶
func (m *TelemetryField) GetSint32Value() int32
func (*TelemetryField) GetSint64Value ¶
func (m *TelemetryField) GetSint64Value() int64
func (*TelemetryField) GetStringValue ¶
func (m *TelemetryField) GetStringValue() string
func (*TelemetryField) GetTimestamp ¶
func (m *TelemetryField) GetTimestamp() uint64
func (*TelemetryField) GetUint32Value ¶
func (m *TelemetryField) GetUint32Value() uint32
func (*TelemetryField) GetUint64Value ¶
func (m *TelemetryField) GetUint64Value() uint64
func (*TelemetryField) ProtoMessage ¶
func (*TelemetryField) ProtoMessage()
func (*TelemetryField) Reset ¶
func (m *TelemetryField) Reset()
func (*TelemetryField) String ¶
func (m *TelemetryField) String() string
func (*TelemetryField) XXX_DiscardUnknown ¶
func (m *TelemetryField) XXX_DiscardUnknown()
func (*TelemetryField) XXX_Marshal ¶
func (m *TelemetryField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TelemetryField) XXX_Merge ¶
func (m *TelemetryField) XXX_Merge(src proto.Message)
func (*TelemetryField) XXX_Size ¶
func (m *TelemetryField) XXX_Size() int
func (*TelemetryField) XXX_Unmarshal ¶
func (m *TelemetryField) XXX_Unmarshal(b []byte) error
type TelemetryGPBTable ¶
type TelemetryGPBTable struct { Row []*TelemetryRowGPB `protobuf:"bytes,1,rep,name=row" json:"row,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Messages used to export content in compact GPB form
Per encoding-path .proto files are required to decode keys/content pairs below.
func (*TelemetryGPBTable) Descriptor ¶
func (*TelemetryGPBTable) Descriptor() ([]byte, []int)
func (*TelemetryGPBTable) GetRow ¶
func (m *TelemetryGPBTable) GetRow() []*TelemetryRowGPB
func (*TelemetryGPBTable) ProtoMessage ¶
func (*TelemetryGPBTable) ProtoMessage()
func (*TelemetryGPBTable) Reset ¶
func (m *TelemetryGPBTable) Reset()
func (*TelemetryGPBTable) String ¶
func (m *TelemetryGPBTable) String() string
func (*TelemetryGPBTable) XXX_DiscardUnknown ¶
func (m *TelemetryGPBTable) XXX_DiscardUnknown()
func (*TelemetryGPBTable) XXX_Marshal ¶
func (m *TelemetryGPBTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TelemetryGPBTable) XXX_Merge ¶
func (m *TelemetryGPBTable) XXX_Merge(src proto.Message)
func (*TelemetryGPBTable) XXX_Size ¶
func (m *TelemetryGPBTable) XXX_Size() int
func (*TelemetryGPBTable) XXX_Unmarshal ¶
func (m *TelemetryGPBTable) XXX_Unmarshal(b []byte) error
type TelemetryRowGPB ¶
type TelemetryRowGPB struct { Timestamp *uint64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` Keys []byte `protobuf:"bytes,10,req,name=keys" json:"keys,omitempty"` Content []byte `protobuf:"bytes,11,req,name=content" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TelemetryRowGPB) Descriptor ¶
func (*TelemetryRowGPB) Descriptor() ([]byte, []int)
func (*TelemetryRowGPB) GetContent ¶
func (m *TelemetryRowGPB) GetContent() []byte
func (*TelemetryRowGPB) GetKeys ¶
func (m *TelemetryRowGPB) GetKeys() []byte
func (*TelemetryRowGPB) GetTimestamp ¶
func (m *TelemetryRowGPB) GetTimestamp() uint64
func (*TelemetryRowGPB) ProtoMessage ¶
func (*TelemetryRowGPB) ProtoMessage()
func (*TelemetryRowGPB) Reset ¶
func (m *TelemetryRowGPB) Reset()
func (*TelemetryRowGPB) String ¶
func (m *TelemetryRowGPB) String() string
func (*TelemetryRowGPB) XXX_DiscardUnknown ¶
func (m *TelemetryRowGPB) XXX_DiscardUnknown()
func (*TelemetryRowGPB) XXX_Marshal ¶
func (m *TelemetryRowGPB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TelemetryRowGPB) XXX_Merge ¶
func (m *TelemetryRowGPB) XXX_Merge(src proto.Message)
func (*TelemetryRowGPB) XXX_Size ¶
func (m *TelemetryRowGPB) XXX_Size() int
func (*TelemetryRowGPB) XXX_Unmarshal ¶
func (m *TelemetryRowGPB) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.