Class SubscriptionRequest.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
      SubscriptionRequest.Builder addAccount​(java.lang.String value)
      Array of twitter usernames to fetch feed for
      SubscriptionRequest.Builder addAccountBytes​(com.google.protobuf.ByteString value)
      Array of twitter usernames to fetch feed for
      SubscriptionRequest.Builder addAllAccount​(java.lang.Iterable<java.lang.String> values)
      Array of twitter usernames to fetch feed for
      SubscriptionRequest.Builder clearAccount()
      Array of twitter usernames to fetch feed for
      java.lang.String getAccount​(int index)
      Array of twitter usernames to fetch feed for
      com.google.protobuf.ByteString getAccountBytes​(int index)
      Array of twitter usernames to fetch feed for
      int getAccountCount()
      Array of twitter usernames to fetch feed for
      java.util.List<java.lang.String> getAccountList()
      Array of twitter usernames to fetch feed for
      SubscriptionRequest.Builder setAccount​(int index, java.lang.String value)
      Array of twitter usernames to fetch feed for
      • 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

      • getAccountList

        public java.util.List<java.lang.String> getAccountList()
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Specified by:
        getAccountList in interface SubscriptionRequestOrBuilder
        Returns:
        A list containing the account.
      • getAccountCount

        public int getAccountCount()
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Specified by:
        getAccountCount in interface SubscriptionRequestOrBuilder
        Returns:
        The count of account.
      • getAccount

        public java.lang.String getAccount​(int index)
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Specified by:
        getAccount in interface SubscriptionRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The account at the given index.
      • getAccountBytes

        public com.google.protobuf.ByteString getAccountBytes​(int index)
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Specified by:
        getAccountBytes in interface SubscriptionRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the account at the given index.
      • setAccount

        public SubscriptionRequest.Builder setAccount​(int index,
                                                      java.lang.String value)
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Parameters:
        index - The index to set the value at.
        value - The account to set.
        Returns:
        This builder for chaining.
      • addAccount

        public SubscriptionRequest.Builder addAccount​(java.lang.String value)
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Parameters:
        value - The account to add.
        Returns:
        This builder for chaining.
      • addAllAccount

        public SubscriptionRequest.Builder addAllAccount​(java.lang.Iterable<java.lang.String> values)
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Parameters:
        values - The account to add.
        Returns:
        This builder for chaining.
      • clearAccount

        public SubscriptionRequest.Builder clearAccount()
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Returns:
        This builder for chaining.
      • addAccountBytes

        public SubscriptionRequest.Builder addAccountBytes​(com.google.protobuf.ByteString value)
         Array of twitter usernames to fetch feed for
         
        repeated string account = 1 [json_name = "account"];
        Parameters:
        value - The bytes of the account to add.
        Returns:
        This builder for chaining.