Package pbx

Class Model.AccountEvent.Builder

    • Method Detail

      • setActionValue

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

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

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

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

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

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

        public java.util.List<java.lang.String> getTagsList()
         Indexable tags for user discovery
         
        repeated string tags = 8;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        Parameters:
        value - The bytes of the tags to add.
        Returns:
        This builder for chaining.