Package pbx

Class Model.ClientLeave.Builder

    • 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
      Model.ClientLeave.Builder clearId()
      optional string id = 1 [json_name = "id"];
      Model.ClientLeave.Builder clearTopic()
      string topic = 2 [json_name = "topic"];
      Model.ClientLeave.Builder clearUnsub()
      optional bool unsub = 3 [json_name = "unsub"];
      java.lang.String getId()
      optional string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      optional string id = 1 [json_name = "id"];
      java.lang.String getTopic()
      string topic = 2 [json_name = "topic"];
      com.google.protobuf.ByteString getTopicBytes()
      string topic = 2 [json_name = "topic"];
      boolean getUnsub()
      optional bool unsub = 3 [json_name = "unsub"];
      boolean hasId()
      optional string id = 1 [json_name = "id"];
      boolean hasUnsub()
      optional bool unsub = 3 [json_name = "unsub"];
      Model.ClientLeave.Builder setId​(java.lang.String value)
      optional string id = 1 [json_name = "id"];
      Model.ClientLeave.Builder setIdBytes​(com.google.protobuf.ByteString value)
      optional string id = 1 [json_name = "id"];
      Model.ClientLeave.Builder setTopic​(java.lang.String value)
      string topic = 2 [json_name = "topic"];
      Model.ClientLeave.Builder setTopicBytes​(com.google.protobuf.ByteString value)
      string topic = 2 [json_name = "topic"];
      Model.ClientLeave.Builder setUnsub​(boolean value)
      optional bool unsub = 3 [json_name = "unsub"];
      • 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

      • hasId

        public boolean hasId()
        optional string id = 1 [json_name = "id"];
        Specified by:
        hasId in interface Model.ClientLeaveOrBuilder
        Returns:
        Whether the id field is set.
      • getId

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

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

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

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

        public Model.ClientLeave.Builder setIdBytes​(com.google.protobuf.ByteString value)
        optional 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.ClientLeaveOrBuilder
        Returns:
        The topic.
      • getTopicBytes

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

        public Model.ClientLeave.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.ClientLeave.Builder clearTopic()
        string topic = 2 [json_name = "topic"];
        Returns:
        This builder for chaining.
      • setTopicBytes

        public Model.ClientLeave.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.
      • hasUnsub

        public boolean hasUnsub()
        optional bool unsub = 3 [json_name = "unsub"];
        Specified by:
        hasUnsub in interface Model.ClientLeaveOrBuilder
        Returns:
        Whether the unsub field is set.
      • getUnsub

        public boolean getUnsub()
        optional bool unsub = 3 [json_name = "unsub"];
        Specified by:
        getUnsub in interface Model.ClientLeaveOrBuilder
        Returns:
        The unsub.
      • setUnsub

        public Model.ClientLeave.Builder setUnsub​(boolean value)
        optional bool unsub = 3 [json_name = "unsub"];
        Parameters:
        value - The unsub to set.
        Returns:
        This builder for chaining.
      • clearUnsub

        public Model.ClientLeave.Builder clearUnsub()
        optional bool unsub = 3 [json_name = "unsub"];
        Returns:
        This builder for chaining.