Class Tag.Builder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, TagOrBuilder, java.lang.Cloneable
    Enclosing class:
    Tag

    public static final class Tag.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<Tag,​Tag.Builder>
    implements TagOrBuilder
    Protobuf type streamlayer.interactive.Tag
    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Tag.Builder clearId()
      string id = 1 [json_name = "id"];
      Tag.Builder clearLabel()
      string label = 2 [json_name = "label"];
      Tag.Builder clearLastUsedTime()
      timestamp, unixtime millis
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      java.lang.String getLabel()
      string label = 2 [json_name = "label"];
      com.google.protobuf.ByteString getLabelBytes()
      string label = 2 [json_name = "label"];
      long getLastUsedTime()
      timestamp, unixtime millis
      Tag.Builder setId​(java.lang.String value)
      string id = 1 [json_name = "id"];
      Tag.Builder setIdBytes​(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Tag.Builder setLabel​(java.lang.String value)
      string label = 2 [json_name = "label"];
      Tag.Builder setLabelBytes​(com.google.protobuf.ByteString value)
      string label = 2 [json_name = "label"];
      Tag.Builder setLastUsedTime​(long value)
      timestamp, unixtime millis
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        public java.lang.String getId()
        string id = 1 [json_name = "id"];
        Specified by:
        getId in interface TagOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface TagOrBuilder
        Returns:
        The bytes for id.
      • setId

        public Tag.Builder setId​(java.lang.String value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Tag.Builder clearId()
        string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

        public Tag.Builder setIdBytes​(com.google.protobuf.ByteString value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getLabel

        public java.lang.String getLabel()
        string label = 2 [json_name = "label"];
        Specified by:
        getLabel in interface TagOrBuilder
        Returns:
        The label.
      • getLabelBytes

        public com.google.protobuf.ByteString getLabelBytes()
        string label = 2 [json_name = "label"];
        Specified by:
        getLabelBytes in interface TagOrBuilder
        Returns:
        The bytes for label.
      • setLabel

        public Tag.Builder setLabel​(java.lang.String value)
        string label = 2 [json_name = "label"];
        Parameters:
        value - The label to set.
        Returns:
        This builder for chaining.
      • clearLabel

        public Tag.Builder clearLabel()
        string label = 2 [json_name = "label"];
        Returns:
        This builder for chaining.
      • setLabelBytes

        public Tag.Builder setLabelBytes​(com.google.protobuf.ByteString value)
        string label = 2 [json_name = "label"];
        Parameters:
        value - The bytes for label to set.
        Returns:
        This builder for chaining.
      • getLastUsedTime

        public long getLastUsedTime()
         timestamp, unixtime millis
         
        uint64 last_used_time = 3 [json_name = "lastUsedTime"];
        Specified by:
        getLastUsedTime in interface TagOrBuilder
        Returns:
        The lastUsedTime.
      • setLastUsedTime

        public Tag.Builder setLastUsedTime​(long value)
         timestamp, unixtime millis
         
        uint64 last_used_time = 3 [json_name = "lastUsedTime"];
        Parameters:
        value - The lastUsedTime to set.
        Returns:
        This builder for chaining.
      • clearLastUsedTime

        public Tag.Builder clearLastUsedTime()
         timestamp, unixtime millis
         
        uint64 last_used_time = 3 [json_name = "lastUsedTime"];
        Returns:
        This builder for chaining.