Package com.streamlayer.social
Class SyncRequest.SyncRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<SyncRequest.SyncRequestFilter,SyncRequest.SyncRequestFilter.Builder>
-
- com.streamlayer.social.SyncRequest.SyncRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SyncRequest.SyncRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- SyncRequest.SyncRequestFilter
public static final class SyncRequest.SyncRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<SyncRequest.SyncRequestFilter,SyncRequest.SyncRequestFilter.Builder> implements SyncRequest.SyncRequestFilterOrBuilder
Protobuf typestreamlayer.social.SyncRequest.SyncRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncRequest.SyncRequestFilter.BuilderaddAccounts(java.lang.String value)Same as account, but an array.SyncRequest.SyncRequestFilter.BuilderaddAccountsBytes(com.google.protobuf.ByteString value)Same as account, but an array.SyncRequest.SyncRequestFilter.BuilderaddAllAccounts(java.lang.Iterable<java.lang.String> values)Same as account, but an array.SyncRequest.SyncRequestFilter.BuilderaddAllHashtags(java.lang.Iterable<java.lang.String> values)Array of hashtags to search forSyncRequest.SyncRequestFilter.BuilderaddAllMentions(java.lang.Iterable<java.lang.String> values)Array of mentions to search forSyncRequest.SyncRequestFilter.BuilderaddHashtags(java.lang.String value)Array of hashtags to search forSyncRequest.SyncRequestFilter.BuilderaddHashtagsBytes(com.google.protobuf.ByteString value)Array of hashtags to search forSyncRequest.SyncRequestFilter.BuilderaddMentions(java.lang.String value)Array of mentions to search forSyncRequest.SyncRequestFilter.BuilderaddMentionsBytes(com.google.protobuf.ByteString value)Array of mentions to search forSyncRequest.SyncRequestFilter.BuilderclearAccount()Twitter username to fetch feed forSyncRequest.SyncRequestFilter.BuilderclearAccounts()Same as account, but an array.SyncRequest.SyncRequestFilter.BuilderclearCursor()Pass biggest internal status id for consistent paginationSyncRequest.SyncRequestFilter.BuilderclearHashtags()Array of hashtags to search forSyncRequest.SyncRequestFilter.BuilderclearMentions()Array of mentions to search forSyncRequest.SyncRequestFilter.BuilderclearOrder()could be asc or descSyncRequest.SyncRequestFilter.BuilderclearPage()Page number, 0 by defaultSyncRequest.SyncRequestFilter.BuilderclearPageSize()Amount of items per page, 25 by defaultjava.lang.StringgetAccount()Twitter username to fetch feed forcom.google.protobuf.ByteStringgetAccountBytes()Twitter username to fetch feed forjava.lang.StringgetAccounts(int index)Same as account, but an array.com.google.protobuf.ByteStringgetAccountsBytes(int index)Same as account, but an array.intgetAccountsCount()Same as account, but an array.java.util.List<java.lang.String>getAccountsList()Same as account, but an array.java.lang.StringgetCursor()Pass biggest internal status id for consistent paginationcom.google.protobuf.ByteStringgetCursorBytes()Pass biggest internal status id for consistent paginationjava.lang.StringgetHashtags(int index)Array of hashtags to search forcom.google.protobuf.ByteStringgetHashtagsBytes(int index)Array of hashtags to search forintgetHashtagsCount()Array of hashtags to search forjava.util.List<java.lang.String>getHashtagsList()Array of hashtags to search forjava.lang.StringgetMentions(int index)Array of mentions to search forcom.google.protobuf.ByteStringgetMentionsBytes(int index)Array of mentions to search forintgetMentionsCount()Array of mentions to search forjava.util.List<java.lang.String>getMentionsList()Array of mentions to search forjava.lang.StringgetOrder()could be asc or desccom.google.protobuf.ByteStringgetOrderBytes()could be asc or descintgetPage()Page number, 0 by defaultintgetPageSize()Amount of items per page, 25 by defaultSyncRequest.SyncRequestFilter.BuildersetAccount(java.lang.String value)Twitter username to fetch feed forSyncRequest.SyncRequestFilter.BuildersetAccountBytes(com.google.protobuf.ByteString value)Twitter username to fetch feed forSyncRequest.SyncRequestFilter.BuildersetAccounts(int index, java.lang.String value)Same as account, but an array.SyncRequest.SyncRequestFilter.BuildersetCursor(java.lang.String value)Pass biggest internal status id for consistent paginationSyncRequest.SyncRequestFilter.BuildersetCursorBytes(com.google.protobuf.ByteString value)Pass biggest internal status id for consistent paginationSyncRequest.SyncRequestFilter.BuildersetHashtags(int index, java.lang.String value)Array of hashtags to search forSyncRequest.SyncRequestFilter.BuildersetMentions(int index, java.lang.String value)Array of mentions to search forSyncRequest.SyncRequestFilter.BuildersetOrder(java.lang.String value)could be asc or descSyncRequest.SyncRequestFilter.BuildersetOrderBytes(com.google.protobuf.ByteString value)could be asc or descSyncRequest.SyncRequestFilter.BuildersetPage(int value)Page number, 0 by defaultSyncRequest.SyncRequestFilter.BuildersetPageSize(int value)Amount of items per page, 25 by default-
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
-
getAccount
public java.lang.String getAccount()
Twitter username to fetch feed for
string account = 1 [json_name = "account"];- Specified by:
getAccountin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The account.
-
getAccountBytes
public com.google.protobuf.ByteString getAccountBytes()
Twitter username to fetch feed for
string account = 1 [json_name = "account"];- Specified by:
getAccountBytesin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The bytes for account.
-
setAccount
public SyncRequest.SyncRequestFilter.Builder setAccount(java.lang.String value)
Twitter username to fetch feed for
string account = 1 [json_name = "account"];- Parameters:
value- The account to set.- Returns:
- This builder for chaining.
-
clearAccount
public SyncRequest.SyncRequestFilter.Builder clearAccount()
Twitter username to fetch feed for
string account = 1 [json_name = "account"];- Returns:
- This builder for chaining.
-
setAccountBytes
public SyncRequest.SyncRequestFilter.Builder setAccountBytes(com.google.protobuf.ByteString value)
Twitter username to fetch feed for
string account = 1 [json_name = "account"];- Parameters:
value- The bytes for account to set.- Returns:
- This builder for chaining.
-
getMentionsList
public java.util.List<java.lang.String> getMentionsList()
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Specified by:
getMentionsListin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- A list containing the mentions.
-
getMentionsCount
public int getMentionsCount()
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Specified by:
getMentionsCountin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The count of mentions.
-
getMentions
public java.lang.String getMentions(int index)
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Specified by:
getMentionsin interfaceSyncRequest.SyncRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The mentions at the given index.
-
getMentionsBytes
public com.google.protobuf.ByteString getMentionsBytes(int index)
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Specified by:
getMentionsBytesin interfaceSyncRequest.SyncRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mentions at the given index.
-
setMentions
public SyncRequest.SyncRequestFilter.Builder setMentions(int index, java.lang.String value)
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Parameters:
index- The index to set the value at.value- The mentions to set.- Returns:
- This builder for chaining.
-
addMentions
public SyncRequest.SyncRequestFilter.Builder addMentions(java.lang.String value)
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Parameters:
value- The mentions to add.- Returns:
- This builder for chaining.
-
addAllMentions
public SyncRequest.SyncRequestFilter.Builder addAllMentions(java.lang.Iterable<java.lang.String> values)
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Parameters:
values- The mentions to add.- Returns:
- This builder for chaining.
-
clearMentions
public SyncRequest.SyncRequestFilter.Builder clearMentions()
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Returns:
- This builder for chaining.
-
addMentionsBytes
public SyncRequest.SyncRequestFilter.Builder addMentionsBytes(com.google.protobuf.ByteString value)
Array of mentions to search for
repeated string mentions = 2 [json_name = "mentions"];- Parameters:
value- The bytes of the mentions to add.- Returns:
- This builder for chaining.
-
getHashtagsList
public java.util.List<java.lang.String> getHashtagsList()
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Specified by:
getHashtagsListin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- A list containing the hashtags.
-
getHashtagsCount
public int getHashtagsCount()
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Specified by:
getHashtagsCountin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The count of hashtags.
-
getHashtags
public java.lang.String getHashtags(int index)
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Specified by:
getHashtagsin interfaceSyncRequest.SyncRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hashtags at the given index.
-
getHashtagsBytes
public com.google.protobuf.ByteString getHashtagsBytes(int index)
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Specified by:
getHashtagsBytesin interfaceSyncRequest.SyncRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hashtags at the given index.
-
setHashtags
public SyncRequest.SyncRequestFilter.Builder setHashtags(int index, java.lang.String value)
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Parameters:
index- The index to set the value at.value- The hashtags to set.- Returns:
- This builder for chaining.
-
addHashtags
public SyncRequest.SyncRequestFilter.Builder addHashtags(java.lang.String value)
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Parameters:
value- The hashtags to add.- Returns:
- This builder for chaining.
-
addAllHashtags
public SyncRequest.SyncRequestFilter.Builder addAllHashtags(java.lang.Iterable<java.lang.String> values)
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Parameters:
values- The hashtags to add.- Returns:
- This builder for chaining.
-
clearHashtags
public SyncRequest.SyncRequestFilter.Builder clearHashtags()
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Returns:
- This builder for chaining.
-
addHashtagsBytes
public SyncRequest.SyncRequestFilter.Builder addHashtagsBytes(com.google.protobuf.ByteString value)
Array of hashtags to search for
repeated string hashtags = 3 [json_name = "hashtags"];- Parameters:
value- The bytes of the hashtags to add.- Returns:
- This builder for chaining.
-
getPage
public int getPage()
Page number, 0 by default
int32 page = 4 [json_name = "page"];- Specified by:
getPagein interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The page.
-
setPage
public SyncRequest.SyncRequestFilter.Builder setPage(int value)
Page number, 0 by default
int32 page = 4 [json_name = "page"];- Parameters:
value- The page to set.- Returns:
- This builder for chaining.
-
clearPage
public SyncRequest.SyncRequestFilter.Builder clearPage()
Page number, 0 by default
int32 page = 4 [json_name = "page"];- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()
Amount of items per page, 25 by default
int32 page_size = 5 [json_name = "pageSize"];- Specified by:
getPageSizein interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The pageSize.
-
setPageSize
public SyncRequest.SyncRequestFilter.Builder setPageSize(int value)
Amount of items per page, 25 by default
int32 page_size = 5 [json_name = "pageSize"];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public SyncRequest.SyncRequestFilter.Builder clearPageSize()
Amount of items per page, 25 by default
int32 page_size = 5 [json_name = "pageSize"];- Returns:
- This builder for chaining.
-
getCursor
public java.lang.String getCursor()
Pass biggest internal status id for consistent pagination
string cursor = 6 [json_name = "cursor"];- Specified by:
getCursorin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The cursor.
-
getCursorBytes
public com.google.protobuf.ByteString getCursorBytes()
Pass biggest internal status id for consistent pagination
string cursor = 6 [json_name = "cursor"];- Specified by:
getCursorBytesin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The bytes for cursor.
-
setCursor
public SyncRequest.SyncRequestFilter.Builder setCursor(java.lang.String value)
Pass biggest internal status id for consistent pagination
string cursor = 6 [json_name = "cursor"];- Parameters:
value- The cursor to set.- Returns:
- This builder for chaining.
-
clearCursor
public SyncRequest.SyncRequestFilter.Builder clearCursor()
Pass biggest internal status id for consistent pagination
string cursor = 6 [json_name = "cursor"];- Returns:
- This builder for chaining.
-
setCursorBytes
public SyncRequest.SyncRequestFilter.Builder setCursorBytes(com.google.protobuf.ByteString value)
Pass biggest internal status id for consistent pagination
string cursor = 6 [json_name = "cursor"];- Parameters:
value- The bytes for cursor to set.- Returns:
- This builder for chaining.
-
getOrder
public java.lang.String getOrder()
could be asc or desc
string order = 7 [json_name = "order"];- Specified by:
getOrderin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The order.
-
getOrderBytes
public com.google.protobuf.ByteString getOrderBytes()
could be asc or desc
string order = 7 [json_name = "order"];- Specified by:
getOrderBytesin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The bytes for order.
-
setOrder
public SyncRequest.SyncRequestFilter.Builder setOrder(java.lang.String value)
could be asc or desc
string order = 7 [json_name = "order"];- Parameters:
value- The order to set.- Returns:
- This builder for chaining.
-
clearOrder
public SyncRequest.SyncRequestFilter.Builder clearOrder()
could be asc or desc
string order = 7 [json_name = "order"];- Returns:
- This builder for chaining.
-
setOrderBytes
public SyncRequest.SyncRequestFilter.Builder setOrderBytes(com.google.protobuf.ByteString value)
could be asc or desc
string order = 7 [json_name = "order"];- Parameters:
value- The bytes for order to set.- Returns:
- This builder for chaining.
-
getAccountsList
public java.util.List<java.lang.String> getAccountsList()
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Specified by:
getAccountsListin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- A list containing the accounts.
-
getAccountsCount
public int getAccountsCount()
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Specified by:
getAccountsCountin interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The count of accounts.
-
getAccounts
public java.lang.String getAccounts(int index)
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Specified by:
getAccountsin interfaceSyncRequest.SyncRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The accounts at the given index.
-
getAccountsBytes
public com.google.protobuf.ByteString getAccountsBytes(int index)
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Specified by:
getAccountsBytesin interfaceSyncRequest.SyncRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the accounts at the given index.
-
setAccounts
public SyncRequest.SyncRequestFilter.Builder setAccounts(int index, java.lang.String value)
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Parameters:
index- The index to set the value at.value- The accounts to set.- Returns:
- This builder for chaining.
-
addAccounts
public SyncRequest.SyncRequestFilter.Builder addAccounts(java.lang.String value)
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Parameters:
value- The accounts to add.- Returns:
- This builder for chaining.
-
addAllAccounts
public SyncRequest.SyncRequestFilter.Builder addAllAccounts(java.lang.Iterable<java.lang.String> values)
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Parameters:
values- The accounts to add.- Returns:
- This builder for chaining.
-
clearAccounts
public SyncRequest.SyncRequestFilter.Builder clearAccounts()
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Returns:
- This builder for chaining.
-
addAccountsBytes
public SyncRequest.SyncRequestFilter.Builder addAccountsBytes(com.google.protobuf.ByteString value)
Same as account, but an array. If provided OVERRIDES account
repeated string accounts = 9 [json_name = "accounts"];- Parameters:
value- The bytes of the accounts to add.- Returns:
- This builder for chaining.
-
-