Class Value
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.inductiveautomation.ignition.common.rpc.proto.gen.Value
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ValueOrBuilder,Serializable
Protobuf type
ignition.rpc.Value- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeignition.rpc.Valuestatic enumstatic final classProtobuf typeignition.rpc.Value.ValueCollectionstatic interfaceNested 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 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 TypeMethodDescriptionbooleancom.google.protobuf.ByteStringbytes binary_value = 8;booleanbool bool_value = 2;.ignition.rpc.Value.ValueCollection collection_value = 9;.ignition.rpc.Value.ValueCollection collection_value = 9;static Valuestatic final com.google.protobuf.Descriptors.Descriptordoubledouble double_value = 6;floatfloat float_value = 5;An associated identifier that will be used to pick up custom deserialization logic on the receiving side.com.google.protobuf.ByteStringAn associated identifier that will be used to pick up custom deserialization logic on the receiving side.intsint32 int_value = 3;longsint64 long_value = 4;com.google.protobuf.Parser<Value>intstring string_value = 7;com.google.protobuf.ByteStringstring string_value = 7;booleanbytes binary_value = 8;booleanbool bool_value = 2;boolean.ignition.rpc.Value.ValueCollection collection_value = 9;booleandouble double_value = 6;booleanfloat float_value = 5;inthashCode()booleanAn associated identifier that will be used to pick up custom deserialization logic on the receiving side.booleansint32 int_value = 3;booleansint64 long_value = 4;booleanstring string_value = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Value.Builderstatic Value.BuildernewBuilder(Value prototype) protected Value.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ValueparseDelimitedFrom(InputStream input) static ValueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(byte[] data) static ValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(com.google.protobuf.ByteString data) static ValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(com.google.protobuf.CodedInputStream input) static ValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(InputStream input) static ValueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueparseFrom(ByteBuffer data) static ValueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Value>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
-
IDENTIFIER_FIELD_NUMBER
public static final int IDENTIFIER_FIELD_NUMBER- See Also:
-
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_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:
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- See Also:
-
BINARY_VALUE_FIELD_NUMBER
public static final int BINARY_VALUE_FIELD_NUMBER- See Also:
-
COLLECTION_VALUE_FIELD_NUMBER
public static final int COLLECTION_VALUE_FIELD_NUMBER- See Also:
-
-
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 interfaceValueOrBuilder
-
hasIdentifier
public boolean hasIdentifier()An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;- Specified by:
hasIdentifierin interfaceValueOrBuilder- Returns:
- Whether the identifier field is set.
-
getIdentifier
An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;- Specified by:
getIdentifierin interfaceValueOrBuilder- Returns:
- The identifier.
-
getIdentifierBytes
public com.google.protobuf.ByteString getIdentifierBytes()An associated identifier that will be used to pick up custom deserialization logic on the receiving side. If no identifier is supplied, the value is decoded as whatever underlying Java type.
optional string identifier = 1;- Specified by:
getIdentifierBytesin interfaceValueOrBuilder- Returns:
- The bytes for identifier.
-
hasBoolValue
public boolean hasBoolValue()bool bool_value = 2;- Specified by:
hasBoolValuein interfaceValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()bool bool_value = 2;- Specified by:
getBoolValuein interfaceValueOrBuilder- Returns:
- The boolValue.
-
hasIntValue
public boolean hasIntValue()sint32 int_value = 3;- Specified by:
hasIntValuein interfaceValueOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public int getIntValue()sint32 int_value = 3;- Specified by:
getIntValuein interfaceValueOrBuilder- Returns:
- The intValue.
-
hasLongValue
public boolean hasLongValue()sint64 long_value = 4;- Specified by:
hasLongValuein interfaceValueOrBuilder- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()sint64 long_value = 4;- Specified by:
getLongValuein interfaceValueOrBuilder- Returns:
- The longValue.
-
hasFloatValue
public boolean hasFloatValue()float float_value = 5;- Specified by:
hasFloatValuein interfaceValueOrBuilder- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()float float_value = 5;- Specified by:
getFloatValuein interfaceValueOrBuilder- Returns:
- The floatValue.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 6;- Specified by:
hasDoubleValuein interfaceValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 6;- Specified by:
getDoubleValuein interfaceValueOrBuilder- Returns:
- The doubleValue.
-
hasStringValue
public boolean hasStringValue()string string_value = 7;- Specified by:
hasStringValuein interfaceValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 7;- Specified by:
getStringValuein interfaceValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 7;- Specified by:
getStringValueBytesin interfaceValueOrBuilder- Returns:
- The bytes for stringValue.
-
hasBinaryValue
public boolean hasBinaryValue()bytes binary_value = 8;- Specified by:
hasBinaryValuein interfaceValueOrBuilder- Returns:
- Whether the binaryValue field is set.
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()bytes binary_value = 8;- Specified by:
getBinaryValuein interfaceValueOrBuilder- Returns:
- The binaryValue.
-
hasCollectionValue
public boolean hasCollectionValue().ignition.rpc.Value.ValueCollection collection_value = 9;- Specified by:
hasCollectionValuein interfaceValueOrBuilder- Returns:
- Whether the collectionValue field is set.
-
getCollectionValue
.ignition.rpc.Value.ValueCollection collection_value = 9;- Specified by:
getCollectionValuein interfaceValueOrBuilder- Returns:
- The collectionValue.
-
getCollectionValueOrBuilder
.ignition.rpc.Value.ValueCollection collection_value = 9;- Specified by:
getCollectionValueOrBuilderin interfaceValueOrBuilder
-
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 Value parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Value 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Value.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
-