sparkplugb

package
v0.0.0-...-b02bee7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DataType_name = map[int32]string{
		0:  "Unknown",
		1:  "Int8",
		2:  "Int16",
		3:  "Int32",
		4:  "Int64",
		5:  "UInt8",
		6:  "UInt16",
		7:  "UInt32",
		8:  "UInt64",
		9:  "Float",
		10: "Double",
		11: "Boolean",
		12: "String",
		13: "DateTime",
		14: "Text",
		15: "UUID",
		16: "DataSet",
		17: "Bytes",
		18: "File",
		19: "Template",
		20: "PropertySet",
		21: "PropertySetList",
		22: "Int8Array",
		23: "Int16Array",
		24: "Int32Array",
		25: "Int64Array",
		26: "UInt8Array",
		27: "UInt16Array",
		28: "UInt32Array",
		29: "UInt64Array",
		30: "FloatArray",
		31: "DoubleArray",
		32: "BooleanArray",
		33: "StringArray",
		34: "DateTimeArray",
	}
	DataType_value = map[string]int32{
		"Unknown":         0,
		"Int8":            1,
		"Int16":           2,
		"Int32":           3,
		"Int64":           4,
		"UInt8":           5,
		"UInt16":          6,
		"UInt32":          7,
		"UInt64":          8,
		"Float":           9,
		"Double":          10,
		"Boolean":         11,
		"String":          12,
		"DateTime":        13,
		"Text":            14,
		"UUID":            15,
		"DataSet":         16,
		"Bytes":           17,
		"File":            18,
		"Template":        19,
		"PropertySet":     20,
		"PropertySetList": 21,
		"Int8Array":       22,
		"Int16Array":      23,
		"Int32Array":      24,
		"Int64Array":      25,
		"UInt8Array":      26,
		"UInt16Array":     27,
		"UInt32Array":     28,
		"UInt64Array":     29,
		"FloatArray":      30,
		"DoubleArray":     31,
		"BooleanArray":    32,
		"StringArray":     33,
		"DateTimeArray":   34,
	}
)

Enum value maps for DataType.

View Source
var File_third_party_sparkplugb_sparkplug_b_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DataType

type DataType int32
const (
	// Unknown placeholder for future expansion.
	DataType_Unknown DataType = 0
	// Basic Types
	DataType_Int8     DataType = 1
	DataType_Int16    DataType = 2
	DataType_Int32    DataType = 3
	DataType_Int64    DataType = 4
	DataType_UInt8    DataType = 5
	DataType_UInt16   DataType = 6
	DataType_UInt32   DataType = 7
	DataType_UInt64   DataType = 8
	DataType_Float    DataType = 9
	DataType_Double   DataType = 10
	DataType_Boolean  DataType = 11
	DataType_String   DataType = 12
	DataType_DateTime DataType = 13
	DataType_Text     DataType = 14
	// Additional Metric Types
	DataType_UUID     DataType = 15
	DataType_DataSet  DataType = 16
	DataType_Bytes    DataType = 17
	DataType_File     DataType = 18
	DataType_Template DataType = 19
	// Additional PropertyValue Types
	DataType_PropertySet     DataType = 20
	DataType_PropertySetList DataType = 21
	// Array Types
	DataType_Int8Array     DataType = 22
	DataType_Int16Array    DataType = 23
	DataType_Int32Array    DataType = 24
	DataType_Int64Array    DataType = 25
	DataType_UInt8Array    DataType = 26
	DataType_UInt16Array   DataType = 27
	DataType_UInt32Array   DataType = 28
	DataType_UInt64Array   DataType = 29
	DataType_FloatArray    DataType = 30
	DataType_DoubleArray   DataType = 31
	DataType_BooleanArray  DataType = 32
	DataType_StringArray   DataType = 33
	DataType_DateTimeArray DataType = 34
)

func (DataType) Descriptor

func (DataType) Descriptor() protoreflect.EnumDescriptor

func (DataType) Enum

func (x DataType) Enum() *DataType

func (DataType) EnumDescriptor deprecated

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

Deprecated: Use DataType.Descriptor instead.

func (DataType) Number

func (x DataType) Number() protoreflect.EnumNumber

func (DataType) String

func (x DataType) String() string

func (DataType) Type

func (*DataType) UnmarshalJSON deprecated

func (x *DataType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Payload

type Payload struct {
	Timestamp *uint64           `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` // Timestamp at message sending time
	Metrics   []*Payload_Metric `protobuf:"bytes,2,rep,name=metrics" json:"metrics,omitempty"`      // Repeated forever - no limit in Google Protobufs
	Seq       *uint64           `protobuf:"varint,3,opt,name=seq" json:"seq,omitempty"`             // Sequence number
	Uuid      *string           `protobuf:"bytes,4,opt,name=uuid" json:"uuid,omitempty"`            // UUID to track message type in terms of schema definitions
	Body      []byte            `protobuf:"bytes,5,opt,name=body" json:"body,omitempty"`            // To optionally bypass the whole definition above
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetBody

func (x *Payload) GetBody() []byte

func (*Payload) GetMetrics

func (x *Payload) GetMetrics() []*Payload_Metric

func (*Payload) GetSeq

func (x *Payload) GetSeq() uint64

func (*Payload) GetTimestamp

func (x *Payload) GetTimestamp() uint64

func (*Payload) GetUuid

func (x *Payload) GetUuid() string

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

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

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

type Payload_DataSet

type Payload_DataSet struct {
	NumOfColumns *uint64                `protobuf:"varint,1,opt,name=num_of_columns,json=numOfColumns" json:"num_of_columns,omitempty"`
	Columns      []string               `protobuf:"bytes,2,rep,name=columns" json:"columns,omitempty"`
	Types        []uint32               `protobuf:"varint,3,rep,name=types" json:"types,omitempty"`
	Rows         []*Payload_DataSet_Row `protobuf:"bytes,4,rep,name=rows" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload_DataSet) Descriptor deprecated

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

Deprecated: Use Payload_DataSet.ProtoReflect.Descriptor instead.

func (*Payload_DataSet) GetColumns

func (x *Payload_DataSet) GetColumns() []string

func (*Payload_DataSet) GetNumOfColumns

func (x *Payload_DataSet) GetNumOfColumns() uint64

func (*Payload_DataSet) GetRows

func (x *Payload_DataSet) GetRows() []*Payload_DataSet_Row

func (*Payload_DataSet) GetTypes

func (x *Payload_DataSet) GetTypes() []uint32

func (*Payload_DataSet) ProtoMessage

func (*Payload_DataSet) ProtoMessage()

func (*Payload_DataSet) ProtoReflect

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

func (*Payload_DataSet) Reset

func (x *Payload_DataSet) Reset()

func (*Payload_DataSet) String

func (x *Payload_DataSet) String() string

type Payload_DataSet_DataSetValue

type Payload_DataSet_DataSetValue struct {

	// Types that are assignable to Value:
	//	*Payload_DataSet_DataSetValue_IntValue
	//	*Payload_DataSet_DataSetValue_LongValue
	//	*Payload_DataSet_DataSetValue_FloatValue
	//	*Payload_DataSet_DataSetValue_DoubleValue
	//	*Payload_DataSet_DataSetValue_BooleanValue
	//	*Payload_DataSet_DataSetValue_StringValue
	//	*Payload_DataSet_DataSetValue_ExtensionValue
	Value isPayload_DataSet_DataSetValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Payload_DataSet_DataSetValue) Descriptor deprecated

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

Deprecated: Use Payload_DataSet_DataSetValue.ProtoReflect.Descriptor instead.

func (*Payload_DataSet_DataSetValue) GetBooleanValue

func (x *Payload_DataSet_DataSetValue) GetBooleanValue() bool

func (*Payload_DataSet_DataSetValue) GetDoubleValue

func (x *Payload_DataSet_DataSetValue) GetDoubleValue() float64

func (*Payload_DataSet_DataSetValue) GetExtensionValue

func (*Payload_DataSet_DataSetValue) GetFloatValue

func (x *Payload_DataSet_DataSetValue) GetFloatValue() float32

func (*Payload_DataSet_DataSetValue) GetIntValue

func (x *Payload_DataSet_DataSetValue) GetIntValue() uint32

func (*Payload_DataSet_DataSetValue) GetLongValue

func (x *Payload_DataSet_DataSetValue) GetLongValue() uint64

func (*Payload_DataSet_DataSetValue) GetStringValue

func (x *Payload_DataSet_DataSetValue) GetStringValue() string

func (*Payload_DataSet_DataSetValue) GetValue

func (m *Payload_DataSet_DataSetValue) GetValue() isPayload_DataSet_DataSetValue_Value

func (*Payload_DataSet_DataSetValue) ProtoMessage

func (*Payload_DataSet_DataSetValue) ProtoMessage()

func (*Payload_DataSet_DataSetValue) ProtoReflect

func (*Payload_DataSet_DataSetValue) Reset

func (x *Payload_DataSet_DataSetValue) Reset()

func (*Payload_DataSet_DataSetValue) String

type Payload_DataSet_DataSetValue_BooleanValue

type Payload_DataSet_DataSetValue_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,5,opt,name=boolean_value,json=booleanValue,oneof"`
}

type Payload_DataSet_DataSetValue_DataSetValueExtension

type Payload_DataSet_DataSetValue_DataSetValueExtension struct {
	// contains filtered or unexported fields
}

func (*Payload_DataSet_DataSetValue_DataSetValueExtension) Descriptor deprecated

Deprecated: Use Payload_DataSet_DataSetValue_DataSetValueExtension.ProtoReflect.Descriptor instead.

func (*Payload_DataSet_DataSetValue_DataSetValueExtension) ProtoMessage

func (*Payload_DataSet_DataSetValue_DataSetValueExtension) ProtoReflect

func (*Payload_DataSet_DataSetValue_DataSetValueExtension) Reset

func (*Payload_DataSet_DataSetValue_DataSetValueExtension) String

type Payload_DataSet_DataSetValue_DoubleValue

type Payload_DataSet_DataSetValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,oneof"`
}

type Payload_DataSet_DataSetValue_ExtensionValue

type Payload_DataSet_DataSetValue_ExtensionValue struct {
	ExtensionValue *Payload_DataSet_DataSetValue_DataSetValueExtension `protobuf:"bytes,7,opt,name=extension_value,json=extensionValue,oneof"`
}

type Payload_DataSet_DataSetValue_FloatValue

type Payload_DataSet_DataSetValue_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,oneof"`
}

type Payload_DataSet_DataSetValue_IntValue

type Payload_DataSet_DataSetValue_IntValue struct {
	IntValue uint32 `protobuf:"varint,1,opt,name=int_value,json=intValue,oneof"`
}

type Payload_DataSet_DataSetValue_LongValue

type Payload_DataSet_DataSetValue_LongValue struct {
	LongValue uint64 `protobuf:"varint,2,opt,name=long_value,json=longValue,oneof"`
}

type Payload_DataSet_DataSetValue_StringValue

type Payload_DataSet_DataSetValue_StringValue struct {
	StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,oneof"`
}

type Payload_DataSet_Row

type Payload_DataSet_Row struct {
	Elements []*Payload_DataSet_DataSetValue `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload_DataSet_Row) Descriptor deprecated

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

Deprecated: Use Payload_DataSet_Row.ProtoReflect.Descriptor instead.

func (*Payload_DataSet_Row) GetElements

func (*Payload_DataSet_Row) ProtoMessage

func (*Payload_DataSet_Row) ProtoMessage()

func (*Payload_DataSet_Row) ProtoReflect

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

func (*Payload_DataSet_Row) Reset

func (x *Payload_DataSet_Row) Reset()

func (*Payload_DataSet_Row) String

func (x *Payload_DataSet_Row) String() string

type Payload_MetaData

type Payload_MetaData struct {

	// Bytes specific metadata
	IsMultiPart *bool `protobuf:"varint,1,opt,name=is_multi_part,json=isMultiPart" json:"is_multi_part,omitempty"`
	// General metadata
	ContentType *string `protobuf:"bytes,2,opt,name=content_type,json=contentType" json:"content_type,omitempty"` // Content/Media type
	Size        *uint64 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"`                                 // File size, String size, Multi-part size, etc
	Seq         *uint64 `protobuf:"varint,4,opt,name=seq" json:"seq,omitempty"`                                   // Sequence number for multi-part messages
	// File metadata
	FileName *string `protobuf:"bytes,5,opt,name=file_name,json=fileName" json:"file_name,omitempty"` // File name
	FileType *string `protobuf:"bytes,6,opt,name=file_type,json=fileType" json:"file_type,omitempty"` // File type (i.e. xml, json, txt, cpp, etc)
	Md5      *string `protobuf:"bytes,7,opt,name=md5" json:"md5,omitempty"`                           // md5 of data
	// Catchalls and future expansion
	Description *string `protobuf:"bytes,8,opt,name=description" json:"description,omitempty"` // Could be anything such as json or xml of custom properties
	// contains filtered or unexported fields
}

func (*Payload_MetaData) Descriptor deprecated

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

Deprecated: Use Payload_MetaData.ProtoReflect.Descriptor instead.

func (*Payload_MetaData) GetContentType

func (x *Payload_MetaData) GetContentType() string

func (*Payload_MetaData) GetDescription

func (x *Payload_MetaData) GetDescription() string

func (*Payload_MetaData) GetFileName

func (x *Payload_MetaData) GetFileName() string

func (*Payload_MetaData) GetFileType

func (x *Payload_MetaData) GetFileType() string

func (*Payload_MetaData) GetIsMultiPart

func (x *Payload_MetaData) GetIsMultiPart() bool

func (*Payload_MetaData) GetMd5

func (x *Payload_MetaData) GetMd5() string

func (*Payload_MetaData) GetSeq

func (x *Payload_MetaData) GetSeq() uint64

func (*Payload_MetaData) GetSize

func (x *Payload_MetaData) GetSize() uint64

func (*Payload_MetaData) ProtoMessage

func (*Payload_MetaData) ProtoMessage()

func (*Payload_MetaData) ProtoReflect

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

func (*Payload_MetaData) Reset

func (x *Payload_MetaData) Reset()

func (*Payload_MetaData) String

func (x *Payload_MetaData) String() string

type Payload_Metric

type Payload_Metric struct {
	Name         *string              `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`                                      // Metric name - should only be included on birth
	Alias        *uint64              `protobuf:"varint,2,opt,name=alias" json:"alias,omitempty"`                                   // Metric alias - tied to name on birth and included in all later DATA messages
	Timestamp    *uint64              `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`                           // Timestamp associated with data acquisition time
	Datatype     *uint32              `protobuf:"varint,4,opt,name=datatype" json:"datatype,omitempty"`                             // DataType of the metric/tag value
	IsHistorical *bool                `protobuf:"varint,5,opt,name=is_historical,json=isHistorical" json:"is_historical,omitempty"` // If this is historical data and should not update real time tag
	IsTransient  *bool                `protobuf:"varint,6,opt,name=is_transient,json=isTransient" json:"is_transient,omitempty"`    // Tells consuming clients such as MQTT Engine to not store this as a tag
	IsNull       *bool                `protobuf:"varint,7,opt,name=is_null,json=isNull" json:"is_null,omitempty"`                   // If this is null - explicitly say so rather than using -1, false, etc for some datatypes.
	Metadata     *Payload_MetaData    `protobuf:"bytes,8,opt,name=metadata" json:"metadata,omitempty"`                              // Metadata for the payload
	Properties   *Payload_PropertySet `protobuf:"bytes,9,opt,name=properties" json:"properties,omitempty"`
	// Types that are assignable to Value:
	//	*Payload_Metric_IntValue
	//	*Payload_Metric_LongValue
	//	*Payload_Metric_FloatValue
	//	*Payload_Metric_DoubleValue
	//	*Payload_Metric_BooleanValue
	//	*Payload_Metric_StringValue
	//	*Payload_Metric_BytesValue
	//	*Payload_Metric_DatasetValue
	//	*Payload_Metric_TemplateValue
	//	*Payload_Metric_ExtensionValue
	Value isPayload_Metric_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Payload_Metric) Descriptor deprecated

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

Deprecated: Use Payload_Metric.ProtoReflect.Descriptor instead.

func (*Payload_Metric) GetAlias

func (x *Payload_Metric) GetAlias() uint64

func (*Payload_Metric) GetBooleanValue

func (x *Payload_Metric) GetBooleanValue() bool

func (*Payload_Metric) GetBytesValue

func (x *Payload_Metric) GetBytesValue() []byte

func (*Payload_Metric) GetDatasetValue

func (x *Payload_Metric) GetDatasetValue() *Payload_DataSet

func (*Payload_Metric) GetDatatype

func (x *Payload_Metric) GetDatatype() uint32

func (*Payload_Metric) GetDoubleValue

func (x *Payload_Metric) GetDoubleValue() float64

func (*Payload_Metric) GetExtensionValue

func (x *Payload_Metric) GetExtensionValue() *Payload_Metric_MetricValueExtension

func (*Payload_Metric) GetFloatValue

func (x *Payload_Metric) GetFloatValue() float32

func (*Payload_Metric) GetIntValue

func (x *Payload_Metric) GetIntValue() uint32

func (*Payload_Metric) GetIsHistorical

func (x *Payload_Metric) GetIsHistorical() bool

func (*Payload_Metric) GetIsNull

func (x *Payload_Metric) GetIsNull() bool

func (*Payload_Metric) GetIsTransient

func (x *Payload_Metric) GetIsTransient() bool

func (*Payload_Metric) GetLongValue

func (x *Payload_Metric) GetLongValue() uint64

func (*Payload_Metric) GetMetadata

func (x *Payload_Metric) GetMetadata() *Payload_MetaData

func (*Payload_Metric) GetName

func (x *Payload_Metric) GetName() string

func (*Payload_Metric) GetProperties

func (x *Payload_Metric) GetProperties() *Payload_PropertySet

func (*Payload_Metric) GetStringValue

func (x *Payload_Metric) GetStringValue() string

func (*Payload_Metric) GetTemplateValue

func (x *Payload_Metric) GetTemplateValue() *Payload_Template

func (*Payload_Metric) GetTimestamp

func (x *Payload_Metric) GetTimestamp() uint64

func (*Payload_Metric) GetValue

func (m *Payload_Metric) GetValue() isPayload_Metric_Value

func (*Payload_Metric) ProtoMessage

func (*Payload_Metric) ProtoMessage()

func (*Payload_Metric) ProtoReflect

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

func (*Payload_Metric) Reset

func (x *Payload_Metric) Reset()

func (*Payload_Metric) String

func (x *Payload_Metric) String() string

type Payload_Metric_BooleanValue

type Payload_Metric_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,14,opt,name=boolean_value,json=booleanValue,oneof"`
}

type Payload_Metric_BytesValue

type Payload_Metric_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,16,opt,name=bytes_value,json=bytesValue,oneof"` // Bytes, File
}

type Payload_Metric_DatasetValue

type Payload_Metric_DatasetValue struct {
	DatasetValue *Payload_DataSet `protobuf:"bytes,17,opt,name=dataset_value,json=datasetValue,oneof"`
}

type Payload_Metric_DoubleValue

type Payload_Metric_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,13,opt,name=double_value,json=doubleValue,oneof"`
}

type Payload_Metric_ExtensionValue

type Payload_Metric_ExtensionValue struct {
	ExtensionValue *Payload_Metric_MetricValueExtension `protobuf:"bytes,19,opt,name=extension_value,json=extensionValue,oneof"`
}

type Payload_Metric_FloatValue

type Payload_Metric_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,12,opt,name=float_value,json=floatValue,oneof"`
}

type Payload_Metric_IntValue

type Payload_Metric_IntValue struct {
	IntValue uint32 `protobuf:"varint,10,opt,name=int_value,json=intValue,oneof"`
}

type Payload_Metric_LongValue

type Payload_Metric_LongValue struct {
	LongValue uint64 `protobuf:"varint,11,opt,name=long_value,json=longValue,oneof"`
}

type Payload_Metric_MetricValueExtension

type Payload_Metric_MetricValueExtension struct {
	// contains filtered or unexported fields
}

func (*Payload_Metric_MetricValueExtension) Descriptor deprecated

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

Deprecated: Use Payload_Metric_MetricValueExtension.ProtoReflect.Descriptor instead.

func (*Payload_Metric_MetricValueExtension) ProtoMessage

func (*Payload_Metric_MetricValueExtension) ProtoMessage()

func (*Payload_Metric_MetricValueExtension) ProtoReflect

func (*Payload_Metric_MetricValueExtension) Reset

func (*Payload_Metric_MetricValueExtension) String

type Payload_Metric_StringValue

type Payload_Metric_StringValue struct {
	StringValue string `protobuf:"bytes,15,opt,name=string_value,json=stringValue,oneof"`
}

type Payload_Metric_TemplateValue

type Payload_Metric_TemplateValue struct {
	TemplateValue *Payload_Template `protobuf:"bytes,18,opt,name=template_value,json=templateValue,oneof"`
}

type Payload_PropertySet

type Payload_PropertySet struct {
	Keys   []string                 `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"` // Names of the properties
	Values []*Payload_PropertyValue `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload_PropertySet) Descriptor deprecated

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

Deprecated: Use Payload_PropertySet.ProtoReflect.Descriptor instead.

func (*Payload_PropertySet) GetKeys

func (x *Payload_PropertySet) GetKeys() []string

func (*Payload_PropertySet) GetValues

func (x *Payload_PropertySet) GetValues() []*Payload_PropertyValue

func (*Payload_PropertySet) ProtoMessage

func (*Payload_PropertySet) ProtoMessage()

func (*Payload_PropertySet) ProtoReflect

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

func (*Payload_PropertySet) Reset

func (x *Payload_PropertySet) Reset()

func (*Payload_PropertySet) String

func (x *Payload_PropertySet) String() string

type Payload_PropertySetList

type Payload_PropertySetList struct {
	Propertyset []*Payload_PropertySet `protobuf:"bytes,1,rep,name=propertyset" json:"propertyset,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload_PropertySetList) Descriptor deprecated

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

Deprecated: Use Payload_PropertySetList.ProtoReflect.Descriptor instead.

func (*Payload_PropertySetList) GetPropertyset

func (x *Payload_PropertySetList) GetPropertyset() []*Payload_PropertySet

func (*Payload_PropertySetList) ProtoMessage

func (*Payload_PropertySetList) ProtoMessage()

func (*Payload_PropertySetList) ProtoReflect

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

func (*Payload_PropertySetList) Reset

func (x *Payload_PropertySetList) Reset()

func (*Payload_PropertySetList) String

func (x *Payload_PropertySetList) String() string

type Payload_PropertyValue

type Payload_PropertyValue struct {
	Type   *uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	IsNull *bool   `protobuf:"varint,2,opt,name=is_null,json=isNull" json:"is_null,omitempty"`
	// Types that are assignable to Value:
	//	*Payload_PropertyValue_IntValue
	//	*Payload_PropertyValue_LongValue
	//	*Payload_PropertyValue_FloatValue
	//	*Payload_PropertyValue_DoubleValue
	//	*Payload_PropertyValue_BooleanValue
	//	*Payload_PropertyValue_StringValue
	//	*Payload_PropertyValue_PropertysetValue
	//	*Payload_PropertyValue_PropertysetsValue
	//	*Payload_PropertyValue_ExtensionValue
	Value isPayload_PropertyValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Payload_PropertyValue) Descriptor deprecated

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

Deprecated: Use Payload_PropertyValue.ProtoReflect.Descriptor instead.

func (*Payload_PropertyValue) GetBooleanValue

func (x *Payload_PropertyValue) GetBooleanValue() bool

func (*Payload_PropertyValue) GetDoubleValue

func (x *Payload_PropertyValue) GetDoubleValue() float64

func (*Payload_PropertyValue) GetExtensionValue

func (*Payload_PropertyValue) GetFloatValue

func (x *Payload_PropertyValue) GetFloatValue() float32

func (*Payload_PropertyValue) GetIntValue

func (x *Payload_PropertyValue) GetIntValue() uint32

func (*Payload_PropertyValue) GetIsNull

func (x *Payload_PropertyValue) GetIsNull() bool

func (*Payload_PropertyValue) GetLongValue

func (x *Payload_PropertyValue) GetLongValue() uint64

func (*Payload_PropertyValue) GetPropertysetValue

func (x *Payload_PropertyValue) GetPropertysetValue() *Payload_PropertySet

func (*Payload_PropertyValue) GetPropertysetsValue

func (x *Payload_PropertyValue) GetPropertysetsValue() *Payload_PropertySetList

func (*Payload_PropertyValue) GetStringValue

func (x *Payload_PropertyValue) GetStringValue() string

func (*Payload_PropertyValue) GetType

func (x *Payload_PropertyValue) GetType() uint32

func (*Payload_PropertyValue) GetValue

func (m *Payload_PropertyValue) GetValue() isPayload_PropertyValue_Value

func (*Payload_PropertyValue) ProtoMessage

func (*Payload_PropertyValue) ProtoMessage()

func (*Payload_PropertyValue) ProtoReflect

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

func (*Payload_PropertyValue) Reset

func (x *Payload_PropertyValue) Reset()

func (*Payload_PropertyValue) String

func (x *Payload_PropertyValue) String() string

type Payload_PropertyValue_BooleanValue

type Payload_PropertyValue_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,7,opt,name=boolean_value,json=booleanValue,oneof"`
}

type Payload_PropertyValue_DoubleValue

type Payload_PropertyValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,oneof"`
}

type Payload_PropertyValue_ExtensionValue

type Payload_PropertyValue_ExtensionValue struct {
	ExtensionValue *Payload_PropertyValue_PropertyValueExtension `protobuf:"bytes,11,opt,name=extension_value,json=extensionValue,oneof"`
}

type Payload_PropertyValue_FloatValue

type Payload_PropertyValue_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,5,opt,name=float_value,json=floatValue,oneof"`
}

type Payload_PropertyValue_IntValue

type Payload_PropertyValue_IntValue struct {
	IntValue uint32 `protobuf:"varint,3,opt,name=int_value,json=intValue,oneof"`
}

type Payload_PropertyValue_LongValue

type Payload_PropertyValue_LongValue struct {
	LongValue uint64 `protobuf:"varint,4,opt,name=long_value,json=longValue,oneof"`
}

type Payload_PropertyValue_PropertyValueExtension

type Payload_PropertyValue_PropertyValueExtension struct {
	// contains filtered or unexported fields
}

func (*Payload_PropertyValue_PropertyValueExtension) Descriptor deprecated

Deprecated: Use Payload_PropertyValue_PropertyValueExtension.ProtoReflect.Descriptor instead.

func (*Payload_PropertyValue_PropertyValueExtension) ProtoMessage

func (*Payload_PropertyValue_PropertyValueExtension) ProtoReflect

func (*Payload_PropertyValue_PropertyValueExtension) Reset

func (*Payload_PropertyValue_PropertyValueExtension) String

type Payload_PropertyValue_PropertysetValue

type Payload_PropertyValue_PropertysetValue struct {
	PropertysetValue *Payload_PropertySet `protobuf:"bytes,9,opt,name=propertyset_value,json=propertysetValue,oneof"`
}

type Payload_PropertyValue_PropertysetsValue

type Payload_PropertyValue_PropertysetsValue struct {
	PropertysetsValue *Payload_PropertySetList `protobuf:"bytes,10,opt,name=propertysets_value,json=propertysetsValue,oneof"` // List of Property Values
}

type Payload_PropertyValue_StringValue

type Payload_PropertyValue_StringValue struct {
	StringValue string `protobuf:"bytes,8,opt,name=string_value,json=stringValue,oneof"`
}

type Payload_Template

type Payload_Template struct {
	Version      *string                       `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"` // The version of the Template to prevent mismatches
	Metrics      []*Payload_Metric             `protobuf:"bytes,2,rep,name=metrics" json:"metrics,omitempty"` // Each metric includes a name, datatype, and optionally a value
	Parameters   []*Payload_Template_Parameter `protobuf:"bytes,3,rep,name=parameters" json:"parameters,omitempty"`
	TemplateRef  *string                       `protobuf:"bytes,4,opt,name=template_ref,json=templateRef" json:"template_ref,omitempty"` // Reference to a template if this is extending a Template or an instance - must exist if an instance
	IsDefinition *bool                         `protobuf:"varint,5,opt,name=is_definition,json=isDefinition" json:"is_definition,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload_Template) Descriptor deprecated

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

Deprecated: Use Payload_Template.ProtoReflect.Descriptor instead.

func (*Payload_Template) GetIsDefinition

func (x *Payload_Template) GetIsDefinition() bool

func (*Payload_Template) GetMetrics

func (x *Payload_Template) GetMetrics() []*Payload_Metric

func (*Payload_Template) GetParameters

func (x *Payload_Template) GetParameters() []*Payload_Template_Parameter

func (*Payload_Template) GetTemplateRef

func (x *Payload_Template) GetTemplateRef() string

func (*Payload_Template) GetVersion

func (x *Payload_Template) GetVersion() string

func (*Payload_Template) ProtoMessage

func (*Payload_Template) ProtoMessage()

func (*Payload_Template) ProtoReflect

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

func (*Payload_Template) Reset

func (x *Payload_Template) Reset()

func (*Payload_Template) String

func (x *Payload_Template) String() string

type Payload_Template_Parameter

type Payload_Template_Parameter struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Type *uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"`
	// Types that are assignable to Value:
	//	*Payload_Template_Parameter_IntValue
	//	*Payload_Template_Parameter_LongValue
	//	*Payload_Template_Parameter_FloatValue
	//	*Payload_Template_Parameter_DoubleValue
	//	*Payload_Template_Parameter_BooleanValue
	//	*Payload_Template_Parameter_StringValue
	//	*Payload_Template_Parameter_ExtensionValue
	Value isPayload_Template_Parameter_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Payload_Template_Parameter) Descriptor deprecated

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

Deprecated: Use Payload_Template_Parameter.ProtoReflect.Descriptor instead.

func (*Payload_Template_Parameter) GetBooleanValue

func (x *Payload_Template_Parameter) GetBooleanValue() bool

func (*Payload_Template_Parameter) GetDoubleValue

func (x *Payload_Template_Parameter) GetDoubleValue() float64

func (*Payload_Template_Parameter) GetExtensionValue

func (*Payload_Template_Parameter) GetFloatValue

func (x *Payload_Template_Parameter) GetFloatValue() float32

func (*Payload_Template_Parameter) GetIntValue

func (x *Payload_Template_Parameter) GetIntValue() uint32

func (*Payload_Template_Parameter) GetLongValue

func (x *Payload_Template_Parameter) GetLongValue() uint64

func (*Payload_Template_Parameter) GetName

func (x *Payload_Template_Parameter) GetName() string

func (*Payload_Template_Parameter) GetStringValue

func (x *Payload_Template_Parameter) GetStringValue() string

func (*Payload_Template_Parameter) GetType

func (x *Payload_Template_Parameter) GetType() uint32

func (*Payload_Template_Parameter) GetValue

func (m *Payload_Template_Parameter) GetValue() isPayload_Template_Parameter_Value

func (*Payload_Template_Parameter) ProtoMessage

func (*Payload_Template_Parameter) ProtoMessage()

func (*Payload_Template_Parameter) ProtoReflect

func (*Payload_Template_Parameter) Reset

func (x *Payload_Template_Parameter) Reset()

func (*Payload_Template_Parameter) String

func (x *Payload_Template_Parameter) String() string

type Payload_Template_Parameter_BooleanValue

type Payload_Template_Parameter_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,7,opt,name=boolean_value,json=booleanValue,oneof"`
}

type Payload_Template_Parameter_DoubleValue

type Payload_Template_Parameter_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,oneof"`
}

type Payload_Template_Parameter_ExtensionValue

type Payload_Template_Parameter_ExtensionValue struct {
	ExtensionValue *Payload_Template_Parameter_ParameterValueExtension `protobuf:"bytes,9,opt,name=extension_value,json=extensionValue,oneof"`
}

type Payload_Template_Parameter_FloatValue

type Payload_Template_Parameter_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,5,opt,name=float_value,json=floatValue,oneof"`
}

type Payload_Template_Parameter_IntValue

type Payload_Template_Parameter_IntValue struct {
	IntValue uint32 `protobuf:"varint,3,opt,name=int_value,json=intValue,oneof"`
}

type Payload_Template_Parameter_LongValue

type Payload_Template_Parameter_LongValue struct {
	LongValue uint64 `protobuf:"varint,4,opt,name=long_value,json=longValue,oneof"`
}

type Payload_Template_Parameter_ParameterValueExtension

type Payload_Template_Parameter_ParameterValueExtension struct {
	// contains filtered or unexported fields
}

func (*Payload_Template_Parameter_ParameterValueExtension) Descriptor deprecated

Deprecated: Use Payload_Template_Parameter_ParameterValueExtension.ProtoReflect.Descriptor instead.

func (*Payload_Template_Parameter_ParameterValueExtension) ProtoMessage

func (*Payload_Template_Parameter_ParameterValueExtension) ProtoReflect

func (*Payload_Template_Parameter_ParameterValueExtension) Reset

func (*Payload_Template_Parameter_ParameterValueExtension) String

type Payload_Template_Parameter_StringValue

type Payload_Template_Parameter_StringValue struct {
	StringValue string `protobuf:"bytes,8,opt,name=string_value,json=stringValue,oneof"`
}

Jump to

Keyboard shortcuts

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