Package com.streamlayer.social
Class SyncRequest.SyncRequestFilter
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<SyncRequest.SyncRequestFilter,SyncRequest.SyncRequestFilter.Builder>
-
- com.streamlayer.social.SyncRequest.SyncRequestFilter
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,SyncRequest.SyncRequestFilterOrBuilder
- Enclosing class:
- SyncRequest
public static final class SyncRequest.SyncRequestFilter extends com.google.protobuf.GeneratedMessageLite<SyncRequest.SyncRequestFilter,SyncRequest.SyncRequestFilter.Builder> implements SyncRequest.SyncRequestFilterOrBuilder
Protobuf typestreamlayer.social.SyncRequest.SyncRequestFilter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSyncRequest.SyncRequestFilter.BuilderProtobuf typestreamlayer.social.SyncRequest.SyncRequestFilter-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intACCOUNT_FIELD_NUMBERstatic intACCOUNTS_FIELD_NUMBERstatic intCURSOR_FIELD_NUMBERstatic intHASHTAGS_FIELD_NUMBERstatic intMENTIONS_FIELD_NUMBERstatic intORDER_FIELD_NUMBERstatic intPAGE_FIELD_NUMBERstatic intPAGE_SIZE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)java.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 paginationstatic SyncRequest.SyncRequestFiltergetDefaultInstance()java.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 defaultstatic SyncRequest.SyncRequestFilter.BuildernewBuilder()static SyncRequest.SyncRequestFilter.BuildernewBuilder(SyncRequest.SyncRequestFilter prototype)static SyncRequest.SyncRequestFilterparseDelimitedFrom(java.io.InputStream input)static SyncRequest.SyncRequestFilterparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SyncRequest.SyncRequestFilterparseFrom(byte[] data)static SyncRequest.SyncRequestFilterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SyncRequest.SyncRequestFilterparseFrom(com.google.protobuf.ByteString data)static SyncRequest.SyncRequestFilterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SyncRequest.SyncRequestFilterparseFrom(com.google.protobuf.CodedInputStream input)static SyncRequest.SyncRequestFilterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SyncRequest.SyncRequestFilterparseFrom(java.io.InputStream input)static SyncRequest.SyncRequestFilterparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SyncRequest.SyncRequestFilterparseFrom(java.nio.ByteBuffer data)static SyncRequest.SyncRequestFilterparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SyncRequest.SyncRequestFilter>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ACCOUNT_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MENTIONS_FIELD_NUMBER
public static final int MENTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HASHTAGS_FIELD_NUMBER
public static final int HASHTAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_FIELD_NUMBER
public static final int PAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURSOR_FIELD_NUMBER
public static final int CURSOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORDER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNTS_FIELD_NUMBER
public static final int ACCOUNTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
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.
-
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.
-
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.
-
getPage
public int getPage()
Page number, 0 by default
int32 page = 4 [json_name = "page"];- Specified by:
getPagein interfaceSyncRequest.SyncRequestFilterOrBuilder- Returns:
- The page.
-
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.
-
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.
-
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.
-
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.
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SyncRequest.SyncRequestFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SyncRequest.SyncRequestFilter parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SyncRequest.SyncRequestFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static SyncRequest.SyncRequestFilter.Builder newBuilder()
-
newBuilder
public static SyncRequest.SyncRequestFilter.Builder newBuilder(SyncRequest.SyncRequestFilter prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<SyncRequest.SyncRequestFilter,SyncRequest.SyncRequestFilter.Builder>
-
getDefaultInstance
public static SyncRequest.SyncRequestFilter getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SyncRequest.SyncRequestFilter> parser()
-
-