Class FeedID.Builder

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

public static final class FeedID.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeedID.Builder> implements FeedIDOrBuilder
 A feed representation.
 
Protobuf type iotics.api.FeedID
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    Host identifier string representation (simple string) (Host to which the twin belongs)
    Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    Twin identifier string representation (simple string) (twin to which the feed belongs)
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Host identifier string representation (simple string) (Host to which the twin belongs)
    com.google.protobuf.ByteString
    Host identifier string representation (simple string) (Host to which the twin belongs)
    Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
    com.google.protobuf.ByteString
    Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
    Twin identifier string representation (simple string) (twin to which the feed belongs)
    com.google.protobuf.ByteString
    Twin identifier string representation (simple string) (twin to which the feed belongs)
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    Host identifier string representation (simple string) (Host to which the twin belongs)
    setHostIdBytes(com.google.protobuf.ByteString value)
    Host identifier string representation (simple string) (Host to which the twin belongs)
    setId(String value)
    Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
    setIdBytes(com.google.protobuf.ByteString value)
    Feed identifier string representation (simple string) (unique within the scope of a twin identifier's feed set)
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    Twin identifier string representation (simple string) (twin to which the feed belongs)
    setTwinIdBytes(com.google.protobuf.ByteString value)
    Twin identifier string representation (simple string) (twin to which the feed belongs)
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<FeedID.Builder>
    • clear

      public FeedID.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<FeedID.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<FeedID.Builder>
    • getDefaultInstanceForType

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

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

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

      public FeedID.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<FeedID.Builder>
    • setField

      public FeedID.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<FeedID.Builder>
    • clearField

      public FeedID.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<FeedID.Builder>
    • clearOneof

      public FeedID.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<FeedID.Builder>
    • setRepeatedField

      public FeedID.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<FeedID.Builder>
    • addRepeatedField

      public FeedID.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<FeedID.Builder>
    • mergeFrom

      public FeedID.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<FeedID.Builder>
    • mergeFrom

      public FeedID.Builder mergeFrom(FeedID other)
    • isInitialized

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

      public FeedID.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<FeedID.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 FeedIDOrBuilder
      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 FeedIDOrBuilder
      Returns:
      The bytes for id.
    • setId

      public FeedID.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 FeedID.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 FeedID.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.
    • getTwinId

      public String getTwinId()
       Twin identifier string representation (simple string) (twin to which the feed belongs)
       
      string twinId = 2;
      Specified by:
      getTwinId in interface FeedIDOrBuilder
      Returns:
      The twinId.
    • getTwinIdBytes

      public com.google.protobuf.ByteString getTwinIdBytes()
       Twin identifier string representation (simple string) (twin to which the feed belongs)
       
      string twinId = 2;
      Specified by:
      getTwinIdBytes in interface FeedIDOrBuilder
      Returns:
      The bytes for twinId.
    • setTwinId

      public FeedID.Builder setTwinId(String value)
       Twin identifier string representation (simple string) (twin to which the feed belongs)
       
      string twinId = 2;
      Parameters:
      value - The twinId to set.
      Returns:
      This builder for chaining.
    • clearTwinId

      public FeedID.Builder clearTwinId()
       Twin identifier string representation (simple string) (twin to which the feed belongs)
       
      string twinId = 2;
      Returns:
      This builder for chaining.
    • setTwinIdBytes

      public FeedID.Builder setTwinIdBytes(com.google.protobuf.ByteString value)
       Twin identifier string representation (simple string) (twin to which the feed belongs)
       
      string twinId = 2;
      Parameters:
      value - The bytes for twinId to set.
      Returns:
      This builder for chaining.
    • getHostId

      public String getHostId()
       Host identifier string representation (simple string) (Host to which the twin belongs)
       
      string hostId = 3;
      Specified by:
      getHostId in interface FeedIDOrBuilder
      Returns:
      The hostId.
    • getHostIdBytes

      public com.google.protobuf.ByteString getHostIdBytes()
       Host identifier string representation (simple string) (Host to which the twin belongs)
       
      string hostId = 3;
      Specified by:
      getHostIdBytes in interface FeedIDOrBuilder
      Returns:
      The bytes for hostId.
    • setHostId

      public FeedID.Builder setHostId(String value)
       Host identifier string representation (simple string) (Host to which the twin belongs)
       
      string hostId = 3;
      Parameters:
      value - The hostId to set.
      Returns:
      This builder for chaining.
    • clearHostId

      public FeedID.Builder clearHostId()
       Host identifier string representation (simple string) (Host to which the twin belongs)
       
      string hostId = 3;
      Returns:
      This builder for chaining.
    • setHostIdBytes

      public FeedID.Builder setHostIdBytes(com.google.protobuf.ByteString value)
       Host identifier string representation (simple string) (Host to which the twin belongs)
       
      string hostId = 3;
      Parameters:
      value - The bytes for hostId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final FeedID.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<FeedID.Builder>
    • mergeUnknownFields

      public final FeedID.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<FeedID.Builder>