Class SparkplugBProto.Payload.Metric.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
com.cirruslink.sparkplug.protobuf.SparkplugBProto.Payload.Metric.Builder
- All Implemented Interfaces:
SparkplugBProto.Payload.MetricOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SparkplugBProto.Payload.Metric
public static final class SparkplugBProto.Payload.Metric.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
implements SparkplugBProto.Payload.MetricOrBuilder
Protobuf type
com.cirruslink.sparkplug.protobuf.Payload.Metric
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Metric alias - tied to name on birth and included in all later DATA messagesbool boolean_value = 14;
Bytes, File.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
DataType of the metric/tag valuedouble double_value = 13;
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) float float_value = 12;
uint32 int_value = 10;
If this is historical data and should not update real time tagIf this is null - explicitly say so rather than using -1, false, etc for some datatypes.Tells consuming clients such as MQTT Engine to not store this as a taguint64 long_value = 11;
Metadata for the payloadMetric name - should only be included on birthclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
string string_value = 15;
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
Timestamp associated with data acquisition timeclone()
long
getAlias()
Metric alias - tied to name on birth and included in all later DATA messagesboolean
bool boolean_value = 14;
com.google.protobuf.ByteString
Bytes, File.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
int
DataType of the metric/tag valuestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
double double_value = 13;
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
float
float float_value = 12;
int
uint32 int_value = 10;
boolean
If this is historical data and should not update real time tagboolean
If this is null - explicitly say so rather than using -1, false, etc for some datatypes.boolean
Tells consuming clients such as MQTT Engine to not store this as a taglong
uint64 long_value = 11;
Metadata for the payloadMetadata for the payloadMetadata for the payloadgetName()
Metric name - should only be included on birthcom.google.protobuf.ByteString
Metric name - should only be included on birthoptional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
string string_value = 15;
com.google.protobuf.ByteString
string string_value = 15;
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
long
Timestamp associated with data acquisition timeboolean
hasAlias()
Metric alias - tied to name on birth and included in all later DATA messagesboolean
bool boolean_value = 14;
boolean
Bytes, Fileboolean
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
boolean
DataType of the metric/tag valueboolean
double double_value = 13;
boolean
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
boolean
float float_value = 12;
boolean
uint32 int_value = 10;
boolean
If this is historical data and should not update real time tagboolean
If this is null - explicitly say so rather than using -1, false, etc for some datatypes.boolean
Tells consuming clients such as MQTT Engine to not store this as a tagboolean
uint64 long_value = 11;
boolean
Metadata for the payloadboolean
hasName()
Metric name - should only be included on birthboolean
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
boolean
string string_value = 15;
boolean
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
boolean
Timestamp associated with data acquisition timeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) Metadata for the payloadoptional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAlias
(long value) Metric alias - tied to name on birth and included in all later DATA messagessetBooleanValue
(boolean value) bool boolean_value = 14;
setBytesValue
(com.google.protobuf.ByteString value) Bytes, File.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
setDatasetValue
(SparkplugBProto.Payload.DataSet.Builder builderForValue) .com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
setDatatype
(int value) DataType of the metric/tag valuesetDoubleValue
(double value) double double_value = 13;
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
setFloatValue
(float value) float float_value = 12;
setIntValue
(int value) uint32 int_value = 10;
setIsHistorical
(boolean value) If this is historical data and should not update real time tagsetIsNull
(boolean value) If this is null - explicitly say so rather than using -1, false, etc for some datatypes.setIsTransient
(boolean value) Tells consuming clients such as MQTT Engine to not store this as a tagsetLongValue
(long value) uint64 long_value = 11;
Metadata for the payloadsetMetadata
(SparkplugBProto.Payload.MetaData.Builder builderForValue) Metadata for the payloadMetric name - should only be included on birthsetNameBytes
(com.google.protobuf.ByteString value) Metric name - should only be included on birthoptional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
setProperties
(SparkplugBProto.Payload.PropertySet.Builder builderForValue) optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringValue
(String value) string string_value = 15;
setStringValueBytes
(com.google.protobuf.ByteString value) string string_value = 15;
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
setTemplateValue
(SparkplugBProto.Payload.Template.Builder builderForValue) .com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
setTimestamp
(long value) Timestamp associated with data acquisition timesetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
setField
public SparkplugBProto.Payload.Metric.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
clearField
public SparkplugBProto.Payload.Metric.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
clearOneof
public SparkplugBProto.Payload.Metric.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
setRepeatedField
public SparkplugBProto.Payload.Metric.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
addRepeatedField
public SparkplugBProto.Payload.Metric.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SparkplugBProto.Payload.Metric.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
mergeFrom
public SparkplugBProto.Payload.Metric.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SparkplugBProto.Payload.Metric.Builder>
- Throws:
IOException
-
getValueCase
- Specified by:
getValueCase
in interfaceSparkplugBProto.Payload.MetricOrBuilder
-
clearValue
-
hasName
public boolean hasName()Metric name - should only be included on birth
optional string name = 1;
- Specified by:
hasName
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Metric name - should only be included on birth
optional string name = 1;
- Specified by:
getName
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Metric name - should only be included on birth
optional string name = 1;
- Specified by:
getNameBytes
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The bytes for name.
-
setName
Metric name - should only be included on birth
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Metric name - should only be included on birth
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
Metric name - should only be included on birth
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasAlias
public boolean hasAlias()Metric alias - tied to name on birth and included in all later DATA messages
optional uint64 alias = 2;
- Specified by:
hasAlias
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the alias field is set.
-
getAlias
public long getAlias()Metric alias - tied to name on birth and included in all later DATA messages
optional uint64 alias = 2;
- Specified by:
getAlias
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The alias.
-
setAlias
Metric alias - tied to name on birth and included in all later DATA messages
optional uint64 alias = 2;
- Parameters:
value
- The alias to set.- Returns:
- This builder for chaining.
-
clearAlias
Metric alias - tied to name on birth and included in all later DATA messages
optional uint64 alias = 2;
- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()Timestamp associated with data acquisition time
optional uint64 timestamp = 3;
- Specified by:
hasTimestamp
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()Timestamp associated with data acquisition time
optional uint64 timestamp = 3;
- Specified by:
getTimestamp
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
Timestamp associated with data acquisition time
optional uint64 timestamp = 3;
- Parameters:
value
- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
Timestamp associated with data acquisition time
optional uint64 timestamp = 3;
- Returns:
- This builder for chaining.
-
hasDatatype
public boolean hasDatatype()DataType of the metric/tag value
optional uint32 datatype = 4;
- Specified by:
hasDatatype
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the datatype field is set.
-
getDatatype
public int getDatatype()DataType of the metric/tag value
optional uint32 datatype = 4;
- Specified by:
getDatatype
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The datatype.
-
setDatatype
DataType of the metric/tag value
optional uint32 datatype = 4;
- Parameters:
value
- The datatype to set.- Returns:
- This builder for chaining.
-
clearDatatype
DataType of the metric/tag value
optional uint32 datatype = 4;
- Returns:
- This builder for chaining.
-
hasIsHistorical
public boolean hasIsHistorical()If this is historical data and should not update real time tag
optional bool is_historical = 5;
- Specified by:
hasIsHistorical
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the isHistorical field is set.
-
getIsHistorical
public boolean getIsHistorical()If this is historical data and should not update real time tag
optional bool is_historical = 5;
- Specified by:
getIsHistorical
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The isHistorical.
-
setIsHistorical
If this is historical data and should not update real time tag
optional bool is_historical = 5;
- Parameters:
value
- The isHistorical to set.- Returns:
- This builder for chaining.
-
clearIsHistorical
If this is historical data and should not update real time tag
optional bool is_historical = 5;
- Returns:
- This builder for chaining.
-
hasIsTransient
public boolean hasIsTransient()Tells consuming clients such as MQTT Engine to not store this as a tag
optional bool is_transient = 6;
- Specified by:
hasIsTransient
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the isTransient field is set.
-
getIsTransient
public boolean getIsTransient()Tells consuming clients such as MQTT Engine to not store this as a tag
optional bool is_transient = 6;
- Specified by:
getIsTransient
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The isTransient.
-
setIsTransient
Tells consuming clients such as MQTT Engine to not store this as a tag
optional bool is_transient = 6;
- Parameters:
value
- The isTransient to set.- Returns:
- This builder for chaining.
-
clearIsTransient
Tells consuming clients such as MQTT Engine to not store this as a tag
optional bool is_transient = 6;
- Returns:
- This builder for chaining.
-
hasIsNull
public boolean hasIsNull()If this is null - explicitly say so rather than using -1, false, etc for some datatypes.
optional bool is_null = 7;
- Specified by:
hasIsNull
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the isNull field is set.
-
getIsNull
public boolean getIsNull()If this is null - explicitly say so rather than using -1, false, etc for some datatypes.
optional bool is_null = 7;
- Specified by:
getIsNull
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The isNull.
-
setIsNull
If this is null - explicitly say so rather than using -1, false, etc for some datatypes.
optional bool is_null = 7;
- Parameters:
value
- The isNull to set.- Returns:
- This builder for chaining.
-
clearIsNull
If this is null - explicitly say so rather than using -1, false, etc for some datatypes.
optional bool is_null = 7;
- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
- Specified by:
hasMetadata
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
- Specified by:
getMetadata
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The metadata.
-
setMetadata
Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
-
setMetadata
public SparkplugBProto.Payload.Metric.Builder setMetadata(SparkplugBProto.Payload.MetaData.Builder builderForValue) Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
-
mergeMetadata
Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
-
clearMetadata
Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
-
getMetadataBuilder
Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
-
getMetadataOrBuilder
Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;
- Specified by:
getMetadataOrBuilder
in interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasProperties
public boolean hasProperties()optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
- Specified by:
hasProperties
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the properties field is set.
-
getProperties
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
- Specified by:
getProperties
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The properties.
-
setProperties
public SparkplugBProto.Payload.Metric.Builder setProperties(SparkplugBProto.Payload.PropertySet value) optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
-
setProperties
public SparkplugBProto.Payload.Metric.Builder setProperties(SparkplugBProto.Payload.PropertySet.Builder builderForValue) optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
-
mergeProperties
public SparkplugBProto.Payload.Metric.Builder mergeProperties(SparkplugBProto.Payload.PropertySet value) optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
-
clearProperties
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
-
getPropertiesBuilder
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
-
getPropertiesOrBuilder
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;
- Specified by:
getPropertiesOrBuilder
in interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasIntValue
public boolean hasIntValue()uint32 int_value = 10;
- Specified by:
hasIntValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the intValue field is set.
-
getIntValue
public int getIntValue()uint32 int_value = 10;
- Specified by:
getIntValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The intValue.
-
setIntValue
uint32 int_value = 10;
- Parameters:
value
- The intValue to set.- Returns:
- This builder for chaining.
-
clearIntValue
uint32 int_value = 10;
- Returns:
- This builder for chaining.
-
hasLongValue
public boolean hasLongValue()uint64 long_value = 11;
- Specified by:
hasLongValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()uint64 long_value = 11;
- Specified by:
getLongValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The longValue.
-
setLongValue
uint64 long_value = 11;
- Parameters:
value
- The longValue to set.- Returns:
- This builder for chaining.
-
clearLongValue
uint64 long_value = 11;
- Returns:
- This builder for chaining.
-
hasFloatValue
public boolean hasFloatValue()float float_value = 12;
- Specified by:
hasFloatValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()float float_value = 12;
- Specified by:
getFloatValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The floatValue.
-
setFloatValue
float float_value = 12;
- Parameters:
value
- The floatValue to set.- Returns:
- This builder for chaining.
-
clearFloatValue
float float_value = 12;
- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 13;
- Specified by:
hasDoubleValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 13;
- Specified by:
getDoubleValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
double double_value = 13;
- Parameters:
value
- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
double double_value = 13;
- Returns:
- This builder for chaining.
-
hasBooleanValue
public boolean hasBooleanValue()bool boolean_value = 14;
- Specified by:
hasBooleanValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()bool boolean_value = 14;
- Specified by:
getBooleanValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The booleanValue.
-
setBooleanValue
bool boolean_value = 14;
- Parameters:
value
- The booleanValue to set.- Returns:
- This builder for chaining.
-
clearBooleanValue
bool boolean_value = 14;
- Returns:
- This builder for chaining.
-
hasStringValue
public boolean hasStringValue()string string_value = 15;
- Specified by:
hasStringValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 15;
- Specified by:
getStringValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 15;
- Specified by:
getStringValueBytes
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
string string_value = 15;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
string string_value = 15;
- Returns:
- This builder for chaining.
-
setStringValueBytes
public SparkplugBProto.Payload.Metric.Builder setStringValueBytes(com.google.protobuf.ByteString value) string string_value = 15;
- Parameters:
value
- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasBytesValue
public boolean hasBytesValue()Bytes, File
bytes bytes_value = 16;
- Specified by:
hasBytesValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
public com.google.protobuf.ByteString getBytesValue()Bytes, File
bytes bytes_value = 16;
- Specified by:
getBytesValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The bytesValue.
-
setBytesValue
Bytes, File
bytes bytes_value = 16;
- Parameters:
value
- The bytesValue to set.- Returns:
- This builder for chaining.
-
clearBytesValue
Bytes, File
bytes bytes_value = 16;
- Returns:
- This builder for chaining.
-
hasDatasetValue
public boolean hasDatasetValue().com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
- Specified by:
hasDatasetValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the datasetValue field is set.
-
getDatasetValue
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
- Specified by:
getDatasetValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The datasetValue.
-
setDatasetValue
public SparkplugBProto.Payload.Metric.Builder setDatasetValue(SparkplugBProto.Payload.DataSet value) .com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
-
setDatasetValue
public SparkplugBProto.Payload.Metric.Builder setDatasetValue(SparkplugBProto.Payload.DataSet.Builder builderForValue) .com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
-
mergeDatasetValue
public SparkplugBProto.Payload.Metric.Builder mergeDatasetValue(SparkplugBProto.Payload.DataSet value) .com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
-
clearDatasetValue
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
-
getDatasetValueBuilder
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
-
getDatasetValueOrBuilder
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;
- Specified by:
getDatasetValueOrBuilder
in interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasTemplateValue
public boolean hasTemplateValue().com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
- Specified by:
hasTemplateValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the templateValue field is set.
-
getTemplateValue
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
- Specified by:
getTemplateValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The templateValue.
-
setTemplateValue
public SparkplugBProto.Payload.Metric.Builder setTemplateValue(SparkplugBProto.Payload.Template value) .com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
-
setTemplateValue
public SparkplugBProto.Payload.Metric.Builder setTemplateValue(SparkplugBProto.Payload.Template.Builder builderForValue) .com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
-
mergeTemplateValue
public SparkplugBProto.Payload.Metric.Builder mergeTemplateValue(SparkplugBProto.Payload.Template value) .com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
-
clearTemplateValue
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
-
getTemplateValueBuilder
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
-
getTemplateValueOrBuilder
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;
- Specified by:
getTemplateValueOrBuilder
in interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasExtensionValue
public boolean hasExtensionValue().com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
- Specified by:
hasExtensionValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- Whether the extensionValue field is set.
-
getExtensionValue
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
- Specified by:
getExtensionValue
in interfaceSparkplugBProto.Payload.MetricOrBuilder
- Returns:
- The extensionValue.
-
setExtensionValue
public SparkplugBProto.Payload.Metric.Builder setExtensionValue(SparkplugBProto.Payload.Metric.MetricValueExtension value) .com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
-
setExtensionValue
public SparkplugBProto.Payload.Metric.Builder setExtensionValue(SparkplugBProto.Payload.Metric.MetricValueExtension.Builder builderForValue) .com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
-
mergeExtensionValue
public SparkplugBProto.Payload.Metric.Builder mergeExtensionValue(SparkplugBProto.Payload.Metric.MetricValueExtension value) .com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
-
clearExtensionValue
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
-
getExtensionValueBuilder
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
-
getExtensionValueOrBuilder
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;
- Specified by:
getExtensionValueOrBuilder
in interfaceSparkplugBProto.Payload.MetricOrBuilder
-
setUnknownFields
public final SparkplugBProto.Payload.Metric.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-
mergeUnknownFields
public final SparkplugBProto.Payload.Metric.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SparkplugBProto.Payload.Metric.Builder>
-