Interface SparkplugBProto.PayloadOrBuilder
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<SparkplugBProto.Payload>
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SparkplugBProto.Payload
,SparkplugBProto.Payload.Builder
- Enclosing class:
- SparkplugBProto
public static interface SparkplugBProto.PayloadOrBuilder
extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<SparkplugBProto.Payload>
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
getBody()
To optionally bypass the whole definition abovegetMetrics
(int index) Repeated forever - no limit in Google Protobufsint
Repeated forever - no limit in Google ProtobufsRepeated forever - no limit in Google ProtobufsgetMetricsOrBuilder
(int index) Repeated forever - no limit in Google ProtobufsList<? extends SparkplugBProto.Payload.MetricOrBuilder>
Repeated forever - no limit in Google Protobufslong
getSeq()
Sequence numberlong
Timestamp at message sending timegetUuid()
UUID to track message type in terms of schema definitionscom.google.protobuf.ByteString
UUID to track message type in terms of schema definitionsboolean
hasBody()
To optionally bypass the whole definition aboveboolean
hasSeq()
Sequence numberboolean
Timestamp at message sending timeboolean
hasUuid()
UUID to track message type in terms of schema definitionsMethods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTimestamp
boolean hasTimestamp()Timestamp at message sending time
optional uint64 timestamp = 1;
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()Timestamp at message sending time
optional uint64 timestamp = 1;
- Returns:
- The timestamp.
-
getMetricsList
List<SparkplugBProto.Payload.Metric> getMetricsList()Repeated forever - no limit in Google Protobufs
repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
-
getMetrics
Repeated forever - no limit in Google Protobufs
repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
-
getMetricsCount
int getMetricsCount()Repeated forever - no limit in Google Protobufs
repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
-
getMetricsOrBuilderList
List<? extends SparkplugBProto.Payload.MetricOrBuilder> getMetricsOrBuilderList()Repeated forever - no limit in Google Protobufs
repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
-
getMetricsOrBuilder
Repeated forever - no limit in Google Protobufs
repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
-
hasSeq
boolean hasSeq()Sequence number
optional uint64 seq = 3;
- Returns:
- Whether the seq field is set.
-
getSeq
long getSeq()Sequence number
optional uint64 seq = 3;
- Returns:
- The seq.
-
hasUuid
boolean hasUuid()UUID to track message type in terms of schema definitions
optional string uuid = 4;
- Returns:
- Whether the uuid field is set.
-
getUuid
String getUuid()UUID to track message type in terms of schema definitions
optional string uuid = 4;
- Returns:
- The uuid.
-
getUuidBytes
com.google.protobuf.ByteString getUuidBytes()UUID to track message type in terms of schema definitions
optional string uuid = 4;
- Returns:
- The bytes for uuid.
-
hasBody
boolean hasBody()To optionally bypass the whole definition above
optional bytes body = 5;
- Returns:
- Whether the body field is set.
-
getBody
com.google.protobuf.ByteString getBody()To optionally bypass the whole definition above
optional bytes body = 5;
- Returns:
- The body.
-