Interface SparkplugBProto.Payload.TemplateOrBuilder

All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<SparkplugBProto.Payload.Template>, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SparkplugBProto.Payload.Template, SparkplugBProto.Payload.Template.Builder
Enclosing class:
SparkplugBProto.Payload

public static interface SparkplugBProto.Payload.TemplateOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<SparkplugBProto.Payload.Template>
  • Method Details

    • hasVersion

      boolean hasVersion()
       The version of the Template to prevent mismatches
       
      optional string version = 1;
      Returns:
      Whether the version field is set.
    • getVersion

      String getVersion()
       The version of the Template to prevent mismatches
       
      optional string version = 1;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       The version of the Template to prevent mismatches
       
      optional string version = 1;
      Returns:
      The bytes for version.
    • getMetricsList

       Each metric is the name of the metric and the datatype of the member but does not contain a value
       
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
    • getMetrics

      SparkplugBProto.Payload.Metric getMetrics(int index)
       Each metric is the name of the metric and the datatype of the member but does not contain a value
       
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
    • getMetricsCount

      int getMetricsCount()
       Each metric is the name of the metric and the datatype of the member but does not contain a value
       
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
    • getMetricsOrBuilderList

      List<? extends SparkplugBProto.Payload.MetricOrBuilder> getMetricsOrBuilderList()
       Each metric is the name of the metric and the datatype of the member but does not contain a value
       
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
    • getMetricsOrBuilder

      SparkplugBProto.Payload.MetricOrBuilder getMetricsOrBuilder(int index)
       Each metric is the name of the metric and the datatype of the member but does not contain a value
       
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Metric metrics = 2;
    • getParametersList

      repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
    • getParameters

      repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
    • getParametersCount

      int getParametersCount()
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
    • getParametersOrBuilderList

      List<? extends SparkplugBProto.Payload.Template.ParameterOrBuilder> getParametersOrBuilderList()
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
    • getParametersOrBuilder

      SparkplugBProto.Payload.Template.ParameterOrBuilder getParametersOrBuilder(int index)
      repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
    • hasTemplateRef

      boolean hasTemplateRef()
       Reference to a template if this is extending a Template or an instance - must exist if an instance
       
      optional string template_ref = 4;
      Returns:
      Whether the templateRef field is set.
    • getTemplateRef

      String getTemplateRef()
       Reference to a template if this is extending a Template or an instance - must exist if an instance
       
      optional string template_ref = 4;
      Returns:
      The templateRef.
    • getTemplateRefBytes

      com.google.protobuf.ByteString getTemplateRefBytes()
       Reference to a template if this is extending a Template or an instance - must exist if an instance
       
      optional string template_ref = 4;
      Returns:
      The bytes for templateRef.
    • hasIsDefinition

      boolean hasIsDefinition()
      optional bool is_definition = 5;
      Returns:
      Whether the isDefinition field is set.
    • getIsDefinition

      boolean getIsDefinition()
      optional bool is_definition = 5;
      Returns:
      The isDefinition.