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 Type
    Method
    Description
    com.google.protobuf.ByteString
    To optionally bypass the whole definition above
    getMetrics(int index)
    Repeated forever - no limit in Google Protobufs
    int
    Repeated forever - no limit in Google Protobufs
    Repeated forever - no limit in Google Protobufs
    Repeated forever - no limit in Google Protobufs
    Repeated forever - no limit in Google Protobufs
    long
    Sequence number
    long
    Timestamp at message sending time
    UUID to track message type in terms of schema definitions
    com.google.protobuf.ByteString
    UUID to track message type in terms of schema definitions
    boolean
    To optionally bypass the whole definition above
    boolean
    Sequence number
    boolean
    Timestamp at message sending time
    boolean
    UUID to track message type in terms of schema definitions

    Methods 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

       Repeated forever - no limit in Google Protobufs
       
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
    • getMetrics

      SparkplugBProto.Payload.Metric getMetrics(int index)
       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

      SparkplugBProto.Payload.MetricOrBuilder getMetricsOrBuilder(int index)
       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.