Package com.streamlayer.social
Class SubscriptionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<SubscriptionRequest,SubscriptionRequest.Builder>
-
- com.streamlayer.social.SubscriptionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SubscriptionRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- SubscriptionRequest
public static final class SubscriptionRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<SubscriptionRequest,SubscriptionRequest.Builder> implements SubscriptionRequestOrBuilder
Protobuf typestreamlayer.social.SubscriptionRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionRequest.BuilderaddAccount(java.lang.String value)Array of twitter usernames to fetch feed forSubscriptionRequest.BuilderaddAccountBytes(com.google.protobuf.ByteString value)Array of twitter usernames to fetch feed forSubscriptionRequest.BuilderaddAllAccount(java.lang.Iterable<java.lang.String> values)Array of twitter usernames to fetch feed forSubscriptionRequest.BuilderclearAccount()Array of twitter usernames to fetch feed forjava.lang.StringgetAccount(int index)Array of twitter usernames to fetch feed forcom.google.protobuf.ByteStringgetAccountBytes(int index)Array of twitter usernames to fetch feed forintgetAccountCount()Array of twitter usernames to fetch feed forjava.util.List<java.lang.String>getAccountList()Array of twitter usernames to fetch feed forSubscriptionRequest.BuildersetAccount(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
-
-
-
-
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:
getAccountListin interfaceSubscriptionRequestOrBuilder- 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:
getAccountCountin interfaceSubscriptionRequestOrBuilder- 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:
getAccountin interfaceSubscriptionRequestOrBuilder- 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:
getAccountBytesin interfaceSubscriptionRequestOrBuilder- 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.
-
-