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

public final class Values extends com.google.protobuf.GeneratedMessageV3 implements ValuesOrBuilder
 Values defines a set of values to be added and/or deleted.
 
Protobuf type iotics.api.Values
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Values 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

    Fields
    Modifier and Type
    Field
    Description
    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 Type
    Method
    Description
    boolean
     
    getAdded(int index)
    added is the list of values to be added.
    int
    added 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 Values
     
     
    getDeletedByLabel(int index)
    deletedByLabel is the list of labels of values to be deleted.
    com.google.protobuf.ByteString
    deletedByLabel is the list of labels of values to be deleted.
    int
    deletedByLabel is the list of labels of values to be deleted.
    com.google.protobuf.ProtocolStringList
    deletedByLabel is the list of labels of values to be deleted.
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<Values>
     
    int
     
    final com.google.protobuf.UnknownFieldSet
     
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Values prototype)
     
     
    protected Values.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Values
     
    static Values
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Values
    parseFrom(byte[] data)
     
    static Values
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Values
    parseFrom(com.google.protobuf.ByteString data)
     
    static Values
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Values
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Values
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Values
     
    static Values
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Values
     
    static Values
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Values>
     
     
    void
    writeTo(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, 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, 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
    • getAddedList

      public List<Value> 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:
      getAddedList in interface ValuesOrBuilder
    • getAddedOrBuilderList

      public List<? extends ValueOrBuilder> 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:
      getAddedOrBuilderList in interface ValuesOrBuilder
    • 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:
      getAddedCount in interface ValuesOrBuilder
    • getAdded

      public Value getAdded(int index)
       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:
      getAdded in interface ValuesOrBuilder
    • getAddedOrBuilder

      public ValueOrBuilder getAddedOrBuilder(int index)
       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:
      getAddedOrBuilder in interface ValuesOrBuilder
    • getDeletedByLabelList

      public com.google.protobuf.ProtocolStringList getDeletedByLabelList()
       deletedByLabel is the list of labels of values to be deleted.
       
      repeated string deletedByLabel = 2;
      Specified by:
      getDeletedByLabelList in interface ValuesOrBuilder
      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:
      getDeletedByLabelCount in interface ValuesOrBuilder
      Returns:
      The count of deletedByLabel.
    • getDeletedByLabel

      public String getDeletedByLabel(int index)
       deletedByLabel is the list of labels of values to be deleted.
       
      repeated string deletedByLabel = 2;
      Specified by:
      getDeletedByLabel in interface ValuesOrBuilder
      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:
      getDeletedByLabelBytes in interface ValuesOrBuilder
      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:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Values parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Values parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Values parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Values parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Values parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Values parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Values.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Values.Builder newBuilder()
    • newBuilder

      public static Values.Builder newBuilder(Values prototype)
    • toBuilder

      public Values.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Values.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Values getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Values> parser()
    • getParserForType

      public com.google.protobuf.Parser<Values> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Values getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder