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 Summary
Modifier and TypeMethodDescriptionboolean
optional bool is_definition = 5;
getMetrics
(int index) Each metric is the name of the metric and the datatype of the member but does not contain a valueint
Each metric is the name of the metric and the datatype of the member but does not contain a valueEach metric is the name of the metric and the datatype of the member but does not contain a valuegetMetricsOrBuilder
(int index) Each metric is the name of the metric and the datatype of the member but does not contain a valueList<? extends SparkplugBProto.Payload.MetricOrBuilder>
Each metric is the name of the metric and the datatype of the member but does not contain a valuegetParameters
(int index) repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
int
repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
getParametersOrBuilder
(int index) repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
repeated .com.cirruslink.sparkplug.protobuf.Payload.Template.Parameter parameters = 3;
Reference to a template if this is extending a Template or an instance - must exist if an instancecom.google.protobuf.ByteString
Reference to a template if this is extending a Template or an instance - must exist if an instanceThe version of the Template to prevent mismatchescom.google.protobuf.ByteString
The version of the Template to prevent mismatchesboolean
optional bool is_definition = 5;
boolean
Reference to a template if this is extending a Template or an instance - must exist if an instanceboolean
The version of the Template to prevent mismatchesMethods 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
-
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
List<SparkplugBProto.Payload.Metric> 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
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
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
List<SparkplugBProto.Payload.Template.Parameter> 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
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.
-