Package pbx

Class Model.AccountEvent.Builder

    • Method Detail

      • getActionValue

        public int getActionValue()
        .pbx.Crud action = 1 [json_name = "action"];
        Specified by:
        getActionValue in interface Model.AccountEventOrBuilder
        Returns:
        The enum numeric value on the wire for action.
      • setActionValue

        public Model.AccountEvent.Builder setActionValue​(int value)
        .pbx.Crud action = 1 [json_name = "action"];
        Parameters:
        value - The action to set.
        Returns:
        This builder for chaining.
      • setAction

        public Model.AccountEvent.Builder setAction​(Model.Crud value)
        .pbx.Crud action = 1 [json_name = "action"];
        Parameters:
        value - The enum numeric value on the wire for action to set.
        Returns:
        This builder for chaining.
      • clearAction

        public Model.AccountEvent.Builder clearAction()
        .pbx.Crud action = 1 [json_name = "action"];
        Returns:
        This builder for chaining.
      • getUserId

        public java.lang.String getUserId()
        string user_id = 2 [json_name = "userId"];
        Specified by:
        getUserId in interface Model.AccountEventOrBuilder
        Returns:
        The userId.
      • getUserIdBytes

        public com.google.protobuf.ByteString getUserIdBytes()
        string user_id = 2 [json_name = "userId"];
        Specified by:
        getUserIdBytes in interface Model.AccountEventOrBuilder
        Returns:
        The bytes for userId.
      • setUserId

        public Model.AccountEvent.Builder setUserId​(java.lang.String value)
        string user_id = 2 [json_name = "userId"];
        Parameters:
        value - The userId to set.
        Returns:
        This builder for chaining.
      • clearUserId

        public Model.AccountEvent.Builder clearUserId()
        string user_id = 2 [json_name = "userId"];
        Returns:
        This builder for chaining.
      • setUserIdBytes

        public Model.AccountEvent.Builder setUserIdBytes​(com.google.protobuf.ByteString value)
        string user_id = 2 [json_name = "userId"];
        Parameters:
        value - The bytes for userId to set.
        Returns:
        This builder for chaining.
      • hasDefaultAcs

        public boolean hasDefaultAcs()
        .pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];
        Specified by:
        hasDefaultAcs in interface Model.AccountEventOrBuilder
        Returns:
        Whether the defaultAcs field is set.
      • clearDefaultAcs

        public Model.AccountEvent.Builder clearDefaultAcs()
        .pbx.DefaultAcsMode default_acs = 3 [json_name = "defaultAcs"];
      • getPublic

        public com.google.protobuf.ByteString getPublic()
        bytes public = 4 [json_name = "public"];
        Specified by:
        getPublic in interface Model.AccountEventOrBuilder
        Returns:
        The public.
      • setPublic

        public Model.AccountEvent.Builder setPublic​(com.google.protobuf.ByteString value)
        bytes public = 4 [json_name = "public"];
        Parameters:
        value - The public to set.
        Returns:
        This builder for chaining.
      • clearPublic

        public Model.AccountEvent.Builder clearPublic()
        bytes public = 4 [json_name = "public"];
        Returns:
        This builder for chaining.
      • getTagsList

        public java.util.List<java.lang.String> getTagsList()
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Specified by:
        getTagsList in interface Model.AccountEventOrBuilder
        Returns:
        A list containing the tags.
      • getTagsCount

        public int getTagsCount()
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Specified by:
        getTagsCount in interface Model.AccountEventOrBuilder
        Returns:
        The count of tags.
      • getTags

        public java.lang.String getTags​(int index)
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Specified by:
        getTags in interface Model.AccountEventOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        public com.google.protobuf.ByteString getTagsBytes​(int index)
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Specified by:
        getTagsBytes in interface Model.AccountEventOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • setTags

        public Model.AccountEvent.Builder setTags​(int index,
                                                  java.lang.String value)
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Parameters:
        index - The index to set the value at.
        value - The tags to set.
        Returns:
        This builder for chaining.
      • addTags

        public Model.AccountEvent.Builder addTags​(java.lang.String value)
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Parameters:
        value - The tags to add.
        Returns:
        This builder for chaining.
      • addAllTags

        public Model.AccountEvent.Builder addAllTags​(java.lang.Iterable<java.lang.String> values)
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Parameters:
        values - The tags to add.
        Returns:
        This builder for chaining.
      • clearTags

        public Model.AccountEvent.Builder clearTags()
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Returns:
        This builder for chaining.
      • addTagsBytes

        public Model.AccountEvent.Builder addTagsBytes​(com.google.protobuf.ByteString value)
         Indexable tags for user discovery
         
        repeated string tags = 8 [json_name = "tags"];
        Parameters:
        value - The bytes of the tags to add.
        Returns:
        This builder for chaining.