Class InputID.Builder

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

public static final class InputID.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InputID.Builder> implements InputIDOrBuilder
 Representation of an input.
 
Protobuf type iotics.api.InputID
  • 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)
    Input Identifier string representation (simple string) (unique within the scope of a twin identifier's input 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)
    Input Identifier string representation (simple string) (unique within the scope of a twin identifier's input set)
    com.google.protobuf.ByteString
    Input Identifier string representation (simple string) (unique within the scope of a twin identifier's input 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)
    Input Identifier string representation (simple string) (unique within the scope of a twin identifier's input set)
    setIdBytes(com.google.protobuf.ByteString value)
    Input Identifier string representation (simple string) (unique within the scope of a twin identifier's input 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<InputID.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public InputID.Builder mergeFrom(InputID other)
    • isInitialized

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

      public InputID.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<InputID.Builder>
      Throws:
      IOException
    • getId

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

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

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

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

      public InputID.Builder setIdBytes(com.google.protobuf.ByteString value)
       Input Identifier string representation (simple string) (unique within the scope of a twin identifier's input 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 InputIDOrBuilder
      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 InputIDOrBuilder
      Returns:
      The bytes for twinId.
    • setTwinId

      public InputID.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 InputID.Builder clearTwinId()
       Twin identifier string representation (simple string) (twin to which the feed belongs)
       
      string twinId = 2;
      Returns:
      This builder for chaining.
    • setTwinIdBytes

      public InputID.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 InputIDOrBuilder
      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 InputIDOrBuilder
      Returns:
      The bytes for hostId.
    • setHostId

      public InputID.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 InputID.Builder clearHostId()
       Host identifier string representation (simple string) (Host to which the twin belongs)
       
      string hostId = 3;
      Returns:
      This builder for chaining.
    • setHostIdBytes

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

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