Class SparkplugBProto.Payload.Metric
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cirruslink.sparkplug.protobuf.SparkplugBProto.Payload.Metric
- All Implemented Interfaces:
SparkplugBProto.Payload.MetricOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- SparkplugBProto.Payload
public static final class SparkplugBProto.Payload.Metric
extends com.google.protobuf.GeneratedMessageV3
implements SparkplugBProto.Payload.MetricOrBuilder
Protobuf type
com.cirruslink.sparkplug.protobuf.Payload.Metric- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.cirruslink.sparkplug.protobuf.Payload.Metricstatic final classProtobuf typecom.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtensionstatic interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<SparkplugBProto.Payload.Metric>Deprecated.static final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetAlias()Metric alias - tied to name on birth and included in all later DATA messagesbooleanbool boolean_value = 14;com.google.protobuf.ByteStringBytes, File.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;intDataType of the metric/tag valuestatic final com.google.protobuf.Descriptors.Descriptordoubledouble double_value = 13;.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;floatfloat float_value = 12;intuint32 int_value = 10;booleanIf this is historical data and should not update real time tagbooleanIf this is null - explicitly say so rather than using -1, false, etc for some datatypes.booleanTells consuming clients such as MQTT Engine to not store this as a taglonguint64 long_value = 11;Metadata for the payloadMetadata for the payloadgetName()Metric name - should only be included on birthcom.google.protobuf.ByteStringMetric name - should only be included on birthcom.google.protobuf.Parser<SparkplugBProto.Payload.Metric>optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;intstring string_value = 15;com.google.protobuf.ByteStringstring string_value = 15;.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;longTimestamp associated with data acquisition timebooleanhasAlias()Metric alias - tied to name on birth and included in all later DATA messagesbooleanbool boolean_value = 14;booleanBytes, Fileboolean.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;booleanDataType of the metric/tag valuebooleandouble double_value = 13;boolean.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;booleanfloat float_value = 12;inthashCode()booleanuint32 int_value = 10;booleanIf this is historical data and should not update real time tagbooleanIf this is null - explicitly say so rather than using -1, false, etc for some datatypes.booleanTells consuming clients such as MQTT Engine to not store this as a tagbooleanuint64 long_value = 11;booleanMetadata for the payloadbooleanhasName()Metric name - should only be included on birthbooleanoptional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;booleanstring string_value = 15;boolean.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;booleanTimestamp associated with data acquisition timeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SparkplugBProto.Payload.Metric prototype) protected SparkplugBProto.Payload.Metric.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SparkplugBProto.Payload.Metric>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ALIAS_FIELD_NUMBER
public static final int ALIAS_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
DATATYPE_FIELD_NUMBER
public static final int DATATYPE_FIELD_NUMBER- See Also:
-
IS_HISTORICAL_FIELD_NUMBER
public static final int IS_HISTORICAL_FIELD_NUMBER- See Also:
-
IS_TRANSIENT_FIELD_NUMBER
public static final int IS_TRANSIENT_FIELD_NUMBER- See Also:
-
IS_NULL_FIELD_NUMBER
public static final int IS_NULL_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
INT_VALUE_FIELD_NUMBER
public static final int INT_VALUE_FIELD_NUMBER- See Also:
-
LONG_VALUE_FIELD_NUMBER
public static final int LONG_VALUE_FIELD_NUMBER- See Also:
-
FLOAT_VALUE_FIELD_NUMBER
public static final int FLOAT_VALUE_FIELD_NUMBER- See Also:
-
DOUBLE_VALUE_FIELD_NUMBER
public static final int DOUBLE_VALUE_FIELD_NUMBER- See Also:
-
BOOLEAN_VALUE_FIELD_NUMBER
public static final int BOOLEAN_VALUE_FIELD_NUMBER- See Also:
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- See Also:
-
BYTES_VALUE_FIELD_NUMBER
public static final int BYTES_VALUE_FIELD_NUMBER- See Also:
-
DATASET_VALUE_FIELD_NUMBER
public static final int DATASET_VALUE_FIELD_NUMBER- See Also:
-
TEMPLATE_VALUE_FIELD_NUMBER
public static final int TEMPLATE_VALUE_FIELD_NUMBER- See Also:
-
EXTENSION_VALUE_FIELD_NUMBER
public static final int EXTENSION_VALUE_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getValueCase
- Specified by:
getValueCasein interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasName
public boolean hasName()Metric name - should only be included on birth
optional string name = 1;- Specified by:
hasNamein 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:
getNamein 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:
getNameBytesin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The bytes for name.
-
hasAlias
public boolean hasAlias()Metric alias - tied to name on birth and included in all later DATA messages
optional uint64 alias = 2;- Specified by:
hasAliasin 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:
getAliasin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The alias.
-
hasTimestamp
public boolean hasTimestamp()Timestamp associated with data acquisition time
optional uint64 timestamp = 3;- Specified by:
hasTimestampin 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:
getTimestampin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The timestamp.
-
hasDatatype
public boolean hasDatatype()DataType of the metric/tag value
optional uint32 datatype = 4;- Specified by:
hasDatatypein 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:
getDatatypein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The datatype.
-
hasIsHistorical
public boolean hasIsHistorical()If this is historical data and should not update real time tag
optional bool is_historical = 5;- Specified by:
hasIsHistoricalin 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:
getIsHistoricalin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The isHistorical.
-
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:
hasIsTransientin 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:
getIsTransientin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The isTransient.
-
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:
hasIsNullin 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:
getIsNullin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The isNull.
-
hasMetadata
public boolean hasMetadata()Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;- Specified by:
hasMetadatain 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:
getMetadatain interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
Metadata for the payload
optional .com.cirruslink.sparkplug.protobuf.Payload.MetaData metadata = 8;- Specified by:
getMetadataOrBuilderin interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasProperties
public boolean hasProperties()optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;- Specified by:
hasPropertiesin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;- Specified by:
getPropertiesin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The properties.
-
getPropertiesOrBuilder
optional .com.cirruslink.sparkplug.protobuf.Payload.PropertySet properties = 9;- Specified by:
getPropertiesOrBuilderin interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasIntValue
public boolean hasIntValue()uint32 int_value = 10;- Specified by:
hasIntValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public int getIntValue()uint32 int_value = 10;- Specified by:
getIntValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The intValue.
-
hasLongValue
public boolean hasLongValue()uint64 long_value = 11;- Specified by:
hasLongValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()uint64 long_value = 11;- Specified by:
getLongValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The longValue.
-
hasFloatValue
public boolean hasFloatValue()float float_value = 12;- Specified by:
hasFloatValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()float float_value = 12;- Specified by:
getFloatValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The floatValue.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 13;- Specified by:
hasDoubleValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 13;- Specified by:
getDoubleValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The doubleValue.
-
hasBooleanValue
public boolean hasBooleanValue()bool boolean_value = 14;- Specified by:
hasBooleanValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()bool boolean_value = 14;- Specified by:
getBooleanValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The booleanValue.
-
hasStringValue
public boolean hasStringValue()string string_value = 15;- Specified by:
hasStringValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 15;- Specified by:
getStringValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 15;- Specified by:
getStringValueBytesin interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The bytes for stringValue.
-
hasBytesValue
public boolean hasBytesValue()Bytes, File
bytes bytes_value = 16;- Specified by:
hasBytesValuein 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:
getBytesValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The bytesValue.
-
hasDatasetValue
public boolean hasDatasetValue().com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;- Specified by:
hasDatasetValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the datasetValue field is set.
-
getDatasetValue
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;- Specified by:
getDatasetValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The datasetValue.
-
getDatasetValueOrBuilder
.com.cirruslink.sparkplug.protobuf.Payload.DataSet dataset_value = 17;- Specified by:
getDatasetValueOrBuilderin interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasTemplateValue
public boolean hasTemplateValue().com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;- Specified by:
hasTemplateValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the templateValue field is set.
-
getTemplateValue
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;- Specified by:
getTemplateValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The templateValue.
-
getTemplateValueOrBuilder
.com.cirruslink.sparkplug.protobuf.Payload.Template template_value = 18;- Specified by:
getTemplateValueOrBuilderin interfaceSparkplugBProto.Payload.MetricOrBuilder
-
hasExtensionValue
public boolean hasExtensionValue().com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;- Specified by:
hasExtensionValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- Whether the extensionValue field is set.
-
getExtensionValue
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;- Specified by:
getExtensionValuein interfaceSparkplugBProto.Payload.MetricOrBuilder- Returns:
- The extensionValue.
-
getExtensionValueOrBuilder
.com.cirruslink.sparkplug.protobuf.Payload.Metric.MetricValueExtension extension_value = 19;- Specified by:
getExtensionValueOrBuilderin interfaceSparkplugBProto.Payload.MetricOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SparkplugBProto.Payload.Metric parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SparkplugBProto.Payload.Metric parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SparkplugBProto.Payload.Metric parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static SparkplugBProto.Payload.Metric.Builder newBuilder(SparkplugBProto.Payload.Metric prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SparkplugBProto.Payload.Metric.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-