| Member | Value | Description |
| Boolean | 11 | Boolean value. A basic type.
Google Protocol Buffer Type: bool.
This data type is available since Sparkplug A (in so-called Kura Metric).
The value of this enum member is 11. |
| BooleanArray | 32 | BooleanArray as an array of bit-packed bytes preceded by a 4-byte integer that represents the total number of boolean values. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 32. |
| Bytes | 17 | Array of bytes. An additional metric type.
Google Protocol Buffer Type: bytes.
This data type is available since Sparkplug A (in so-called Kura Metric).
The value of this enum member is 17. |
| DataSet | 16 | A DataSet object used to encode matrices of data. An additional metric type.
Google Protocol Buffer Type: none – defined in Sparkplug.
This data type is not available in Sparkplug A.
The value of this enum member is 16. |
| DateTime | 13 | Date time value as uint64 value representing milliseconds since epoch (Jan 1, 1970). A basic type.
Google Protocol Buffer Type: uint64.
This data type is not available in Sparkplug A.
The value of this enum member is 13. |
| DateTimeArray | 34 | DateTimeArray as an array of packed little endian bytes where each Datetime value is an 8-byte value representing the number of milliseconds since epoch in UTC. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 34. |
| Double | 10 | 64-bit floating point number. A basic type.
Google Protocol Buffer Type: double.
This data type is available since Sparkplug A (in so-called Kura Metric).
The value of this enum member is 10. |
| DoubleArray | 31 | DoubleArray as an array of packed little endian 64-bit float bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 31. |
| File | 18 | Array of bytes representing a file. An additional metric type.
Google Protocol Buffer Type: bytes.
This data type is not available in Sparkplug A.
The value of this enum member is 18. |
| Float | 9 | 32-bit floating point number. A basic type.
Google Protocol Buffer Type: float.
This data type is available since Sparkplug A (in so-called Kura Metric).
The value of this enum member is 9. |
| FloatArray | 30 | FloatArray as an array of packed little endian 32-bit float bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 30. |
| Int16 | 2 | Signed 16-bit integer. A basic type.
Google Protocol Buffer Type: uint32.
This data type is not available in Sparkplug A.
The value of this enum member is 2. |
| Int16Array | 23 | Int16Array as an array of packed little endian int16 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 23. |
| Int32 | 3 | Signed 32-bit integer. A basic type.
Google Protocol Buffer Type: uint32.
This data type is available since Sparkplug A (in so-called Kura Metric).
The value of this enum member is 3. |
| Int32Array | 24 | Int32Array as an array of packed little endian int32 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 24. |
| Int64 | 4 | Signed 64-bit integer. A basic type.
Google Protocol Buffer Type: uint64.
This data type is available since Sparkplug A (in so-called Kura Metric).
The value of this enum member is 4. |
| Int64Array | 25 | Int64Array as an array of packed little endian int64 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 25. |
| Int8 | 1 | Signed 8-bit integer. A basic type.
Google Protocol Buffer Type: uint32.
This data type is not available in Sparkplug A.
The value of this enum member is 1. |
| Int8Array | 22 | Int8 Array as an array of packed little endian int8 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 22. |
| PropertySet | 20 | PropertySet object used with a metric to add custom properties to the object. This is an additional PropertyValue type.
The PropertySet is a map expressed as two arrays of equal size, one containing the keys and one containing the values. It includes the following components.
- This is an array of UTF-8 strings representing the names of the properties in this PropertySet.
- This is an array of PropertyValue objects representing the values of the properties in the PropertySet.
Google Protocol Buffer Type: none – defined in Sparkplug.
This data type is not available in Sparkplug A.
The value of this enum member is 20. |
| PropertySetList | 21 | PropertySetList object, an array of PropertySet objects. This is an additional PropertyValue type.
Google Protocol Buffer Type: none – defined in Sparkplug.
This data type is not available in Sparkplug A.
The value of this enum member is 21. |
| String | 12 | String value (UTF-8). A basic type.
Google Protocol Buffer Type: string.
Physically, String and Text are the same. If you do not specify the data type explicitly, String is chosen for string values. For strings that need to be represented as Sparkplug Text, specify the Text data type explicitly.
This data type is available since Sparkplug A (in so-called Kura Metric).
The value of this enum member is 12. |
| StringArray | 33 | StringArray as an array of null terminated strings. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 33. |
| Template | 19 | A Template, used for encoding complex datatypes in a payload. An additional metric type.
Google Protocol Buffer Type: none – defined in Sparkplug.
Template is a type of metric and can be used to create custom datatype definitions and instances. These are also sometimes referred to as User Defined Types or UDTs. There are two types of Templates.
- This is the definition of a Sparkplug Template.
- This is an instance of a Sparkplug Template
This data type is not available in Sparkplug A.
The value of this enum member is 19. |
| Text | 14 | String value (UTF-8). A basic type.
Google Protocol Buffer Type: string.
Physically, String and Text are the same. If you do not specify the data type explicitly, String is chosen for string values. For strings that need to be represented as Sparkplug Text, specify the Text data type explicitly.
This data type is not available in Sparkplug A.
The value of this enum member is 14. |
| UInt16 | 6 | Unsigned 16-bit integer. A basic type.
Google Protocol Buffer Type: uint32.
This data type is not available in Sparkplug A.
The value of this enum member is 6. |
| UInt16Array | 27 | UInt16Array as an array of packed little endian uint16 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 27. |
| UInt32 | 7 | Unsigned 32-bit integer. A basic type.
Google Protocol Buffer Type: uint32.
This data type is not available in Sparkplug A.
The value of this enum member is 7. |
| UInt32Array | 28 | UInt32Array as an array of packed little endian uint32 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 28. |
| UInt64 | 8 | Unsigned 64-bit integer. A basic type.
Google Protocol Buffer Type: uint64.
This data type is not available in Sparkplug A.
The value of this enum member is 8. |
| UInt64Array | 29 | UInt64Array as an array of packed little endian uint64 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 29. |
| UInt8 | 5 | Unsigned 8-bit integer. A basic type.
Google Protocol Buffer Type: uint32.
This data type is not available in Sparkplug A.
The value of this enum member is 5. |
| UInt8Array | 26 | UInt8Array as an array of packed little endian uint8 bytes. An array type.
Google Protocol Buffer Type: bytes.
All array types use the bytes_value field of the Metric value field. They are simply little-endian packed byte arrays.
This data type is not available in Sparkplug A.
The value of this enum member is 26. |
| Unknown | 0 | Unknown placeholder for future expansion.
The value of this enum member is 0. |
| Uuid | 15 | UUID value as a UTF-8 string. An additional metric type.
Google Protocol Buffer Type: string.
This data type is not available in Sparkplug A.
The value of this enum member is 15. |