Class UpsertFeedWithMeta.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
com.iotics.api.UpsertFeedWithMeta.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpsertFeedWithMetaOrBuilder, Cloneable
Enclosing class:
UpsertFeedWithMeta

public static final class UpsertFeedWithMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder> implements UpsertFeedWithMetaOrBuilder
 UpsertFeedWithMeta is used to describe the full feed state. Used in UpsertTwinRequest.
 
Protobuf type iotics.api.UpsertFeedWithMeta
  • Method Details

    • 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.Builder<UpsertFeedWithMeta.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • getDefaultInstanceForType

      public UpsertFeedWithMeta getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpsertFeedWithMeta build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpsertFeedWithMeta buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • setField

      public UpsertFeedWithMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • clearField

      public UpsertFeedWithMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • clearOneof

      public UpsertFeedWithMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • setRepeatedField

      public UpsertFeedWithMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • addRepeatedField

      public UpsertFeedWithMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • mergeFrom

      public UpsertFeedWithMeta.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpsertFeedWithMeta.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • mergeFrom

      public UpsertFeedWithMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpsertFeedWithMeta.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
       
      string id = 1;
      Specified by:
      getId in interface UpsertFeedWithMetaOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
       
      string id = 1;
      Specified by:
      getIdBytes in interface UpsertFeedWithMetaOrBuilder
      Returns:
      The bytes for id.
    • setId

      public UpsertFeedWithMeta.Builder setId(String value)
       Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public UpsertFeedWithMeta.Builder clearId()
       Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public UpsertFeedWithMeta.Builder setIdBytes(com.google.protobuf.ByteString value)
       Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getStoreLast

      public boolean getStoreLast()
       StoreLast dictates whether to store the last shared sample of the feed. Default 'False'
       
      bool storeLast = 4;
      Specified by:
      getStoreLast in interface UpsertFeedWithMetaOrBuilder
      Returns:
      The storeLast.
    • setStoreLast

      public UpsertFeedWithMeta.Builder setStoreLast(boolean value)
       StoreLast dictates whether to store the last shared sample of the feed. Default 'False'
       
      bool storeLast = 4;
      Parameters:
      value - The storeLast to set.
      Returns:
      This builder for chaining.
    • clearStoreLast

      public UpsertFeedWithMeta.Builder clearStoreLast()
       StoreLast dictates whether to store the last shared sample of the feed. Default 'False'
       
      bool storeLast = 4;
      Returns:
      This builder for chaining.
    • getValuesList

      public List<Value> getValuesList()
       Values to set
       
      repeated .iotics.api.Value values = 5;
      Specified by:
      getValuesList in interface UpsertFeedWithMetaOrBuilder
    • getValuesCount

      public int getValuesCount()
       Values to set
       
      repeated .iotics.api.Value values = 5;
      Specified by:
      getValuesCount in interface UpsertFeedWithMetaOrBuilder
    • getValues

      public Value getValues(int index)
       Values to set
       
      repeated .iotics.api.Value values = 5;
      Specified by:
      getValues in interface UpsertFeedWithMetaOrBuilder
    • setValues

      public UpsertFeedWithMeta.Builder setValues(int index, Value value)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • setValues

      public UpsertFeedWithMeta.Builder setValues(int index, Value.Builder builderForValue)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • addValues

      public UpsertFeedWithMeta.Builder addValues(Value value)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • addValues

      public UpsertFeedWithMeta.Builder addValues(int index, Value value)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • addValues

      public UpsertFeedWithMeta.Builder addValues(Value.Builder builderForValue)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • addValues

      public UpsertFeedWithMeta.Builder addValues(int index, Value.Builder builderForValue)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • addAllValues

      public UpsertFeedWithMeta.Builder addAllValues(Iterable<? extends Value> values)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • clearValues

      public UpsertFeedWithMeta.Builder clearValues()
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • removeValues

      public UpsertFeedWithMeta.Builder removeValues(int index)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • getValuesBuilder

      public Value.Builder getValuesBuilder(int index)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • getValuesOrBuilder

      public ValueOrBuilder getValuesOrBuilder(int index)
       Values to set
       
      repeated .iotics.api.Value values = 5;
      Specified by:
      getValuesOrBuilder in interface UpsertFeedWithMetaOrBuilder
    • getValuesOrBuilderList

      public List<? extends ValueOrBuilder> getValuesOrBuilderList()
       Values to set
       
      repeated .iotics.api.Value values = 5;
      Specified by:
      getValuesOrBuilderList in interface UpsertFeedWithMetaOrBuilder
    • addValuesBuilder

      public Value.Builder addValuesBuilder()
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • addValuesBuilder

      public Value.Builder addValuesBuilder(int index)
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • getValuesBuilderList

      public List<Value.Builder> getValuesBuilderList()
       Values to set
       
      repeated .iotics.api.Value values = 5;
    • getPropertiesList

      public List<Property> getPropertiesList()
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
      Specified by:
      getPropertiesList in interface UpsertFeedWithMetaOrBuilder
    • getPropertiesCount

      public int getPropertiesCount()
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
      Specified by:
      getPropertiesCount in interface UpsertFeedWithMetaOrBuilder
    • getProperties

      public Property getProperties(int index)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
      Specified by:
      getProperties in interface UpsertFeedWithMetaOrBuilder
    • setProperties

      public UpsertFeedWithMeta.Builder setProperties(int index, Property value)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • setProperties

      public UpsertFeedWithMeta.Builder setProperties(int index, Property.Builder builderForValue)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • addProperties

      public UpsertFeedWithMeta.Builder addProperties(Property value)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • addProperties

      public UpsertFeedWithMeta.Builder addProperties(int index, Property value)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • addProperties

      public UpsertFeedWithMeta.Builder addProperties(Property.Builder builderForValue)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • addProperties

      public UpsertFeedWithMeta.Builder addProperties(int index, Property.Builder builderForValue)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • addAllProperties

      public UpsertFeedWithMeta.Builder addAllProperties(Iterable<? extends Property> values)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • clearProperties

      public UpsertFeedWithMeta.Builder clearProperties()
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • removeProperties

      public UpsertFeedWithMeta.Builder removeProperties(int index)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • getPropertiesBuilder

      public Property.Builder getPropertiesBuilder(int index)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • getPropertiesOrBuilder

      public PropertyOrBuilder getPropertiesOrBuilder(int index)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
      Specified by:
      getPropertiesOrBuilder in interface UpsertFeedWithMetaOrBuilder
    • getPropertiesOrBuilderList

      public List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
      Specified by:
      getPropertiesOrBuilderList in interface UpsertFeedWithMetaOrBuilder
    • addPropertiesBuilder

      public Property.Builder addPropertiesBuilder()
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • addPropertiesBuilder

      public Property.Builder addPropertiesBuilder(int index)
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • getPropertiesBuilderList

      public List<Property.Builder> getPropertiesBuilderList()
       Feed properties to set
       
      repeated .iotics.api.Property properties = 6;
    • setUnknownFields

      public final UpsertFeedWithMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>
    • mergeUnknownFields

      public final UpsertFeedWithMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpsertFeedWithMeta.Builder>