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 class
Protobuf typeignition.rpc.Value
static enum
static final class
Protobuf typeignition.rpc.Value.ValueCollection
static interface
Nested 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 int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.protobuf.ByteString
bytes binary_value = 8;
boolean
bool bool_value = 2;
.ignition.rpc.Value.ValueCollection collection_value = 9;
.ignition.rpc.Value.ValueCollection collection_value = 9;
static Value
static final com.google.protobuf.Descriptors.Descriptor
double
double double_value = 6;
float
float float_value = 5;
An associated identifier that will be used to pick up custom deserialization logic on the receiving side.com.google.protobuf.ByteString
An associated identifier that will be used to pick up custom deserialization logic on the receiving side.int
sint32 int_value = 3;
long
sint64 long_value = 4;
com.google.protobuf.Parser<Value>
int
string string_value = 7;
com.google.protobuf.ByteString
string string_value = 7;
boolean
bytes binary_value = 8;
boolean
bool bool_value = 2;
boolean
.ignition.rpc.Value.ValueCollection collection_value = 9;
boolean
double double_value = 6;
boolean
float float_value = 5;
int
hashCode()
boolean
An associated identifier that will be used to pick up custom deserialization logic on the receiving side.boolean
sint32 int_value = 3;
boolean
sint64 long_value = 4;
boolean
string string_value = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Value.Builder
static Value.Builder
newBuilder
(Value prototype) protected Value.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Value
parseDelimitedFrom
(InputStream input) static Value
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Value
parseFrom
(byte[] data) static Value
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Value
parseFrom
(com.google.protobuf.ByteString data) static Value
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Value
parseFrom
(com.google.protobuf.CodedInputStream input) static Value
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Value
parseFrom
(InputStream input) static Value
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Value
parseFrom
(ByteBuffer data) static Value
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Value>
parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getValueCase
- Specified by:
getValueCase
in 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:
hasIdentifier
in 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:
getIdentifier
in 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:
getIdentifierBytes
in interfaceValueOrBuilder
- Returns:
- The bytes for identifier.
-
hasBoolValue
public boolean hasBoolValue()bool bool_value = 2;
- Specified by:
hasBoolValue
in interfaceValueOrBuilder
- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()bool bool_value = 2;
- Specified by:
getBoolValue
in interfaceValueOrBuilder
- Returns:
- The boolValue.
-
hasIntValue
public boolean hasIntValue()sint32 int_value = 3;
- Specified by:
hasIntValue
in interfaceValueOrBuilder
- Returns:
- Whether the intValue field is set.
-
getIntValue
public int getIntValue()sint32 int_value = 3;
- Specified by:
getIntValue
in interfaceValueOrBuilder
- Returns:
- The intValue.
-
hasLongValue
public boolean hasLongValue()sint64 long_value = 4;
- Specified by:
hasLongValue
in interfaceValueOrBuilder
- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()sint64 long_value = 4;
- Specified by:
getLongValue
in interfaceValueOrBuilder
- Returns:
- The longValue.
-
hasFloatValue
public boolean hasFloatValue()float float_value = 5;
- Specified by:
hasFloatValue
in interfaceValueOrBuilder
- Returns:
- Whether the floatValue field is set.
-
getFloatValue
public float getFloatValue()float float_value = 5;
- Specified by:
getFloatValue
in interfaceValueOrBuilder
- Returns:
- The floatValue.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 6;
- Specified by:
hasDoubleValue
in interfaceValueOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 6;
- Specified by:
getDoubleValue
in interfaceValueOrBuilder
- Returns:
- The doubleValue.
-
hasStringValue
public boolean hasStringValue()string string_value = 7;
- Specified by:
hasStringValue
in interfaceValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 7;
- Specified by:
getStringValue
in interfaceValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 7;
- Specified by:
getStringValueBytes
in interfaceValueOrBuilder
- Returns:
- The bytes for stringValue.
-
hasBinaryValue
public boolean hasBinaryValue()bytes binary_value = 8;
- Specified by:
hasBinaryValue
in interfaceValueOrBuilder
- Returns:
- Whether the binaryValue field is set.
-
getBinaryValue
public com.google.protobuf.ByteString getBinaryValue()bytes binary_value = 8;
- Specified by:
getBinaryValue
in interfaceValueOrBuilder
- Returns:
- The binaryValue.
-
hasCollectionValue
public boolean hasCollectionValue().ignition.rpc.Value.ValueCollection collection_value = 9;
- Specified by:
hasCollectionValue
in interfaceValueOrBuilder
- Returns:
- Whether the collectionValue field is set.
-
getCollectionValue
.ignition.rpc.Value.ValueCollection collection_value = 9;
- Specified by:
getCollectionValue
in interfaceValueOrBuilder
- Returns:
- The collectionValue.
-
getCollectionValueOrBuilder
.ignition.rpc.Value.ValueCollection collection_value = 9;
- Specified by:
getCollectionValueOrBuilder
in interfaceValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-