Package pbx

Class Model.ClientPub.Builder

    • Field Summary

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

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      Model.ClientPub.Builder clearContent()
      bytes content = 5 [json_name = "content"];
      Model.ClientPub.Builder clearHead()  
      Model.ClientPub.Builder clearId()
      string id = 1 [json_name = "id"];
      Model.ClientPub.Builder clearNoEcho()
      bool no_echo = 3 [json_name = "noEcho"];
      Model.ClientPub.Builder clearTopic()
      string topic = 2 [json_name = "topic"];
      boolean containsHead​(java.lang.String key)
      map<string, bytes> head = 4 [json_name = "head"];
      com.google.protobuf.ByteString getContent()
      bytes content = 5 [json_name = "content"];
      java.util.Map<java.lang.String,​com.google.protobuf.ByteString> getHead()
      Deprecated.
      int getHeadCount()
      map<string, bytes> head = 4 [json_name = "head"];
      java.util.Map<java.lang.String,​com.google.protobuf.ByteString> getHeadMap()
      map<string, bytes> head = 4 [json_name = "head"];
      com.google.protobuf.ByteString getHeadOrDefault​(java.lang.String key, com.google.protobuf.ByteString defaultValue)
      map<string, bytes> head = 4 [json_name = "head"];
      com.google.protobuf.ByteString getHeadOrThrow​(java.lang.String key)
      map<string, bytes> head = 4 [json_name = "head"];
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      boolean getNoEcho()
      bool no_echo = 3 [json_name = "noEcho"];
      java.lang.String getTopic()
      string topic = 2 [json_name = "topic"];
      com.google.protobuf.ByteString getTopicBytes()
      string topic = 2 [json_name = "topic"];
      Model.ClientPub.Builder putAllHead​(java.util.Map<java.lang.String,​com.google.protobuf.ByteString> values)
      map<string, bytes> head = 4 [json_name = "head"];
      Model.ClientPub.Builder putHead​(java.lang.String key, com.google.protobuf.ByteString value)
      map<string, bytes> head = 4 [json_name = "head"];
      Model.ClientPub.Builder removeHead​(java.lang.String key)
      map<string, bytes> head = 4 [json_name = "head"];
      Model.ClientPub.Builder setContent​(com.google.protobuf.ByteString value)
      bytes content = 5 [json_name = "content"];
      Model.ClientPub.Builder setId​(java.lang.String value)
      string id = 1 [json_name = "id"];
      Model.ClientPub.Builder setIdBytes​(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Model.ClientPub.Builder setNoEcho​(boolean value)
      bool no_echo = 3 [json_name = "noEcho"];
      Model.ClientPub.Builder setTopic​(java.lang.String value)
      string topic = 2 [json_name = "topic"];
      Model.ClientPub.Builder setTopicBytes​(com.google.protobuf.ByteString value)
      string topic = 2 [json_name = "topic"];
      • 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 Model.ClientPubOrBuilder
        Returns:
        The id.
      • getIdBytes

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

        public Model.ClientPub.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 Model.ClientPub.Builder clearId()
        string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

        public Model.ClientPub.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.
      • getTopic

        public java.lang.String getTopic()
        string topic = 2 [json_name = "topic"];
        Specified by:
        getTopic in interface Model.ClientPubOrBuilder
        Returns:
        The topic.
      • getTopicBytes

        public com.google.protobuf.ByteString getTopicBytes()
        string topic = 2 [json_name = "topic"];
        Specified by:
        getTopicBytes in interface Model.ClientPubOrBuilder
        Returns:
        The bytes for topic.
      • setTopic

        public Model.ClientPub.Builder setTopic​(java.lang.String value)
        string topic = 2 [json_name = "topic"];
        Parameters:
        value - The topic to set.
        Returns:
        This builder for chaining.
      • clearTopic

        public Model.ClientPub.Builder clearTopic()
        string topic = 2 [json_name = "topic"];
        Returns:
        This builder for chaining.
      • setTopicBytes

        public Model.ClientPub.Builder setTopicBytes​(com.google.protobuf.ByteString value)
        string topic = 2 [json_name = "topic"];
        Parameters:
        value - The bytes for topic to set.
        Returns:
        This builder for chaining.
      • getNoEcho

        public boolean getNoEcho()
        bool no_echo = 3 [json_name = "noEcho"];
        Specified by:
        getNoEcho in interface Model.ClientPubOrBuilder
        Returns:
        The noEcho.
      • setNoEcho

        public Model.ClientPub.Builder setNoEcho​(boolean value)
        bool no_echo = 3 [json_name = "noEcho"];
        Parameters:
        value - The noEcho to set.
        Returns:
        This builder for chaining.
      • clearNoEcho

        public Model.ClientPub.Builder clearNoEcho()
        bool no_echo = 3 [json_name = "noEcho"];
        Returns:
        This builder for chaining.
      • containsHead

        public boolean containsHead​(java.lang.String key)
        map<string, bytes> head = 4 [json_name = "head"];
        Specified by:
        containsHead in interface Model.ClientPubOrBuilder
      • removeHead

        public Model.ClientPub.Builder removeHead​(java.lang.String key)
        map<string, bytes> head = 4 [json_name = "head"];
      • getHeadMap

        public java.util.Map<java.lang.String,​com.google.protobuf.ByteString> getHeadMap()
        map<string, bytes> head = 4 [json_name = "head"];
        Specified by:
        getHeadMap in interface Model.ClientPubOrBuilder
      • getHeadOrDefault

        public com.google.protobuf.ByteString getHeadOrDefault​(java.lang.String key,
                                                               com.google.protobuf.ByteString defaultValue)
        map<string, bytes> head = 4 [json_name = "head"];
        Specified by:
        getHeadOrDefault in interface Model.ClientPubOrBuilder
      • getHeadOrThrow

        public com.google.protobuf.ByteString getHeadOrThrow​(java.lang.String key)
        map<string, bytes> head = 4 [json_name = "head"];
        Specified by:
        getHeadOrThrow in interface Model.ClientPubOrBuilder
      • putHead

        public Model.ClientPub.Builder putHead​(java.lang.String key,
                                               com.google.protobuf.ByteString value)
        map<string, bytes> head = 4 [json_name = "head"];
      • putAllHead

        public Model.ClientPub.Builder putAllHead​(java.util.Map<java.lang.String,​com.google.protobuf.ByteString> values)
        map<string, bytes> head = 4 [json_name = "head"];
      • getContent

        public com.google.protobuf.ByteString getContent()
        bytes content = 5 [json_name = "content"];
        Specified by:
        getContent in interface Model.ClientPubOrBuilder
        Returns:
        The content.
      • setContent

        public Model.ClientPub.Builder setContent​(com.google.protobuf.ByteString value)
        bytes content = 5 [json_name = "content"];
        Parameters:
        value - The content to set.
        Returns:
        This builder for chaining.
      • clearContent

        public Model.ClientPub.Builder clearContent()
        bytes content = 5 [json_name = "content"];
        Returns:
        This builder for chaining.