Class SparkplugBProto.Payload.PropertyValue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cirruslink.sparkplug.protobuf.SparkplugBProto.Payload.PropertyValue
- All Implemented Interfaces:
SparkplugBProto.Payload.PropertyValueOrBuilder,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.PropertyValue
extends com.google.protobuf.GeneratedMessageV3
implements SparkplugBProto.Payload.PropertyValueOrBuilder
Protobuf type
com.cirruslink.sparkplug.protobuf.Payload.PropertyValue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.cirruslink.sparkplug.protobuf.Payload.PropertyValuestatic final classProtobuf typecom.cirruslink.sparkplug.protobuf.Payload.PropertyValue.PropertyValueExtensionstatic 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 com.google.protobuf.Parser<SparkplugBProto.Payload.PropertyValue>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 TypeMethodDescriptionbooleanbooleanbool boolean_value = 7;static final com.google.protobuf.Descriptors.Descriptordoubledouble double_value = 6;.com.cirruslink.sparkplug.protobuf.Payload.PropertyValue.PropertyValueExtension extension_value = 11;.com.cirruslink.sparkplug.protobuf.Payload.PropertyValue.PropertyValueExtension extension_value = 11;floatfloat float_value = 5;intuint32 int_value = 3;booleanoptional bool is_null = 2;longuint64 long_value = 4;com.google.protobuf.Parser<SparkplugBProto.Payload.PropertyValue>List of Property ValuesList of Property Values.com.cirruslink.sparkplug.protobuf.Payload.PropertySet propertyset_value = 9;.com.cirruslink.sparkplug.protobuf.Payload.PropertySet propertyset_value = 9;intstring string_value = 8;com.google.protobuf.ByteStringstring string_value = 8;intgetType()optional uint32 type = 1;booleanbool boolean_value = 7;booleandouble double_value = 6;boolean.com.cirruslink.sparkplug.protobuf.Payload.PropertyValue.PropertyValueExtension extension_value = 11;booleanfloat float_value = 5;inthashCode()booleanuint32 int_value = 3;booleanoptional bool is_null = 2;booleanuint64 long_value = 4;booleanList of Property Valuesboolean.com.cirruslink.sparkplug.protobuf.Payload.PropertySet propertyset_value = 9;booleanstring string_value = 8;booleanhasType()optional uint32 type = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SparkplugBProto.Payload.PropertyValue prototype) newBuilderForType(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.PropertyValue>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
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
IS_NULL_FIELD_NUMBER
public static final int IS_NULL_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:
-
PROPERTYSET_VALUE_FIELD_NUMBER
public static final int PROPERTYSET_VALUE_FIELD_NUMBER- See Also:
-
PROPERTYSETS_VALUE_FIELD_NUMBER
public static final int PROPERTYSETS_VALUE_FIELD_NUMBER- See Also:
-
EXTENSION_VALUE_FIELD_NUMBER
public static final int EXTENSION_VALUE_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<SparkplugBProto.Payload.PropertyValue> PARSERDeprecated.
-
-
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.PropertyValueOrBuilder
-
hasType
public boolean hasType()optional uint32 type = 1;- Specified by:
hasTypein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the type field is set.
-
getType
public int getType()optional uint32 type = 1;- Specified by:
getTypein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The type.
-
hasIsNull
public boolean hasIsNull()optional bool is_null = 2;- Specified by:
hasIsNullin interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the isNull field is set.
-
getIsNull
public boolean getIsNull()optional bool is_null = 2;- Specified by:
getIsNullin interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The isNull.
-
hasIntValue
public boolean hasIntValue()uint32 int_value = 3;- Specified by:
hasIntValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public int getIntValue()uint32 int_value = 3;- Specified by:
getIntValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The intValue.
-
hasLongValue
public boolean hasLongValue()uint64 long_value = 4;- Specified by:
hasLongValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()uint64 long_value = 4;- Specified by:
getLongValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The longValue.
-
hasFloatValue
public boolean hasFloatValue()float float_value = 5;- Specified by:
hasFloatValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()float float_value = 5;- Specified by:
getFloatValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The floatValue.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 6;- Specified by:
hasDoubleValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 6;- Specified by:
getDoubleValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The doubleValue.
-
hasBooleanValue
public boolean hasBooleanValue()bool boolean_value = 7;- Specified by:
hasBooleanValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()bool boolean_value = 7;- Specified by:
getBooleanValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The booleanValue.
-
hasStringValue
public boolean hasStringValue()string string_value = 8;- Specified by:
hasStringValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 8;- Specified by:
getStringValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 8;- Specified by:
getStringValueBytesin interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The bytes for stringValue.
-
hasPropertysetValue
public boolean hasPropertysetValue().com.cirruslink.sparkplug.protobuf.Payload.PropertySet propertyset_value = 9;- Specified by:
hasPropertysetValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the propertysetValue field is set.
-
getPropertysetValue
.com.cirruslink.sparkplug.protobuf.Payload.PropertySet propertyset_value = 9;- Specified by:
getPropertysetValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The propertysetValue.
-
getPropertysetValueOrBuilder
.com.cirruslink.sparkplug.protobuf.Payload.PropertySet propertyset_value = 9;- Specified by:
getPropertysetValueOrBuilderin interfaceSparkplugBProto.Payload.PropertyValueOrBuilder
-
hasPropertysetsValue
public boolean hasPropertysetsValue()List of Property Values
.com.cirruslink.sparkplug.protobuf.Payload.PropertySetList propertysets_value = 10;- Specified by:
hasPropertysetsValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the propertysetsValue field is set.
-
getPropertysetsValue
List of Property Values
.com.cirruslink.sparkplug.protobuf.Payload.PropertySetList propertysets_value = 10;- Specified by:
getPropertysetsValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The propertysetsValue.
-
getPropertysetsValueOrBuilder
List of Property Values
.com.cirruslink.sparkplug.protobuf.Payload.PropertySetList propertysets_value = 10;- Specified by:
getPropertysetsValueOrBuilderin interfaceSparkplugBProto.Payload.PropertyValueOrBuilder
-
hasExtensionValue
public boolean hasExtensionValue().com.cirruslink.sparkplug.protobuf.Payload.PropertyValue.PropertyValueExtension extension_value = 11;- Specified by:
hasExtensionValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- Whether the extensionValue field is set.
-
getExtensionValue
.com.cirruslink.sparkplug.protobuf.Payload.PropertyValue.PropertyValueExtension extension_value = 11;- Specified by:
getExtensionValuein interfaceSparkplugBProto.Payload.PropertyValueOrBuilder- Returns:
- The extensionValue.
-
getExtensionValueOrBuilder
public SparkplugBProto.Payload.PropertyValue.PropertyValueExtensionOrBuilder getExtensionValueOrBuilder().com.cirruslink.sparkplug.protobuf.Payload.PropertyValue.PropertyValueExtension extension_value = 11;- Specified by:
getExtensionValueOrBuilderin interfaceSparkplugBProto.Payload.PropertyValueOrBuilder
-
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.PropertyValue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.PropertyValue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.PropertyValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.PropertyValue 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.PropertyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SparkplugBProto.Payload.PropertyValue 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.PropertyValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SparkplugBProto.Payload.PropertyValue parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SparkplugBProto.Payload.PropertyValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SparkplugBProto.Payload.PropertyValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SparkplugBProto.Payload.PropertyValue 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.PropertyValue.Builder newBuilder(SparkplugBProto.Payload.PropertyValue prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SparkplugBProto.Payload.PropertyValue.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
-