Package com.iotics.api
Class Values
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.iotics.api.Values
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ValuesOrBuilder,Serializable
Values defines a set of values to be added and/or deleted.Protobuf type
iotics.api.Values- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classValues defines a set of values to be added and/or deleted.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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 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 TypeMethodDescriptionbooleangetAdded(int index) added is the list of values to be added.intadded is the list of values to be added.added is the list of values to be added.getAddedOrBuilder(int index) added is the list of values to be added.List<? extends ValueOrBuilder>added is the list of values to be added.static ValuesgetDeletedByLabel(int index) deletedByLabel is the list of labels of values to be deleted.com.google.protobuf.ByteStringgetDeletedByLabelBytes(int index) deletedByLabel is the list of labels of values to be deleted.intdeletedByLabel is the list of labels of values to be deleted.com.google.protobuf.ProtocolStringListdeletedByLabel is the list of labels of values to be deleted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Values>intfinal com.google.protobuf.UnknownFieldSetinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Values.Builderstatic Values.BuildernewBuilder(Values prototype) protected Values.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ValuesparseDelimitedFrom(InputStream input) static ValuesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValuesparseFrom(byte[] data) static ValuesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValuesparseFrom(com.google.protobuf.ByteString data) static ValuesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValuesparseFrom(com.google.protobuf.CodedInputStream input) static ValuesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValuesparseFrom(InputStream input) static ValuesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValuesparseFrom(ByteBuffer data) static ValuesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Values>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, hasField, hasOneof
-
Field Details
-
ADDED_FIELD_NUMBER
public static final int ADDED_FIELD_NUMBER- See Also:
-
DELETEDBYLABEL_FIELD_NUMBER
public static final int DELETEDBYLABEL_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getAddedList
added is the list of values to be added. Note that deletedByLabel takes precedence over this, i.e. if both added and deletedByLabel contain the same value, the value will be deleted.
repeated .iotics.api.Value added = 1;- Specified by:
getAddedListin interfaceValuesOrBuilder
-
getAddedOrBuilderList
added is the list of values to be added. Note that deletedByLabel takes precedence over this, i.e. if both added and deletedByLabel contain the same value, the value will be deleted.
repeated .iotics.api.Value added = 1;- Specified by:
getAddedOrBuilderListin interfaceValuesOrBuilder
-
getAddedCount
public int getAddedCount()added is the list of values to be added. Note that deletedByLabel takes precedence over this, i.e. if both added and deletedByLabel contain the same value, the value will be deleted.
repeated .iotics.api.Value added = 1;- Specified by:
getAddedCountin interfaceValuesOrBuilder
-
getAdded
added is the list of values to be added. Note that deletedByLabel takes precedence over this, i.e. if both added and deletedByLabel contain the same value, the value will be deleted.
repeated .iotics.api.Value added = 1;- Specified by:
getAddedin interfaceValuesOrBuilder
-
getAddedOrBuilder
added is the list of values to be added. Note that deletedByLabel takes precedence over this, i.e. if both added and deletedByLabel contain the same value, the value will be deleted.
repeated .iotics.api.Value added = 1;- Specified by:
getAddedOrBuilderin interfaceValuesOrBuilder
-
getDeletedByLabelList
public com.google.protobuf.ProtocolStringList getDeletedByLabelList()deletedByLabel is the list of labels of values to be deleted.
repeated string deletedByLabel = 2;- Specified by:
getDeletedByLabelListin interfaceValuesOrBuilder- Returns:
- A list containing the deletedByLabel.
-
getDeletedByLabelCount
public int getDeletedByLabelCount()deletedByLabel is the list of labels of values to be deleted.
repeated string deletedByLabel = 2;- Specified by:
getDeletedByLabelCountin interfaceValuesOrBuilder- Returns:
- The count of deletedByLabel.
-
getDeletedByLabel
deletedByLabel is the list of labels of values to be deleted.
repeated string deletedByLabel = 2;- Specified by:
getDeletedByLabelin interfaceValuesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deletedByLabel at the given index.
-
getDeletedByLabelBytes
public com.google.protobuf.ByteString getDeletedByLabelBytes(int index) deletedByLabel is the list of labels of values to be deleted.
repeated string deletedByLabel = 2;- Specified by:
getDeletedByLabelBytesin interfaceValuesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the deletedByLabel at the given index.
-
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 Values parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Values parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Values parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Values parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Values parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Values parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Values parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Values parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Values 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 Values.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
-