All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.social.SyncRequest Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/social/twitter.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.social;

/**
 * Protobuf type {@code streamlayer.social.SyncRequest}
 */
public  final class SyncRequest extends
    com.google.protobuf.GeneratedMessageLite<
        SyncRequest, SyncRequest.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.social.SyncRequest)
    SyncRequestOrBuilder {
  private SyncRequest() {
  }
  public interface SyncRequestFilterOrBuilder extends
      // @@protoc_insertion_point(interface_extends:streamlayer.social.SyncRequest.SyncRequestFilter)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * 
     * Twitter username to fetch feed for
     * 
* * string account = 1 [json_name = "account"]; * @return The account. */ java.lang.String getAccount(); /** *
     * Twitter username to fetch feed for
     * 
* * string account = 1 [json_name = "account"]; * @return The bytes for account. */ com.google.protobuf.ByteString getAccountBytes(); /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @return A list containing the mentions. */ java.util.List getMentionsList(); /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @return The count of mentions. */ int getMentionsCount(); /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index of the element to return. * @return The mentions at the given index. */ java.lang.String getMentions(int index); /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index of the element to return. * @return The mentions at the given index. */ com.google.protobuf.ByteString getMentionsBytes(int index); /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @return A list containing the hashtags. */ java.util.List getHashtagsList(); /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @return The count of hashtags. */ int getHashtagsCount(); /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index of the element to return. * @return The hashtags at the given index. */ java.lang.String getHashtags(int index); /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index of the element to return. * @return The hashtags at the given index. */ com.google.protobuf.ByteString getHashtagsBytes(int index); /** *
     * Page number, 0 by default
     * 
* * int32 page = 4 [json_name = "page"]; * @return The page. */ int getPage(); /** *
     * Amount of items per page, 25 by default
     * 
* * int32 page_size = 5 [json_name = "pageSize"]; * @return The pageSize. */ int getPageSize(); /** *
     * Pass biggest internal status id for consistent pagination
     * 
* * string cursor = 6 [json_name = "cursor"]; * @return The cursor. */ java.lang.String getCursor(); /** *
     * Pass biggest internal status id for consistent pagination
     * 
* * string cursor = 6 [json_name = "cursor"]; * @return The bytes for cursor. */ com.google.protobuf.ByteString getCursorBytes(); /** *
     * could be asc or desc
     * 
* * string order = 7 [json_name = "order"]; * @return The order. */ java.lang.String getOrder(); /** *
     * could be asc or desc
     * 
* * string order = 7 [json_name = "order"]; * @return The bytes for order. */ com.google.protobuf.ByteString getOrderBytes(); /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @return A list containing the accounts. */ java.util.List getAccountsList(); /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @return The count of accounts. */ int getAccountsCount(); /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index of the element to return. * @return The accounts at the given index. */ java.lang.String getAccounts(int index); /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index of the element to return. * @return The accounts at the given index. */ com.google.protobuf.ByteString getAccountsBytes(int index); } /** * Protobuf type {@code streamlayer.social.SyncRequest.SyncRequestFilter} */ public static final class SyncRequestFilter extends com.google.protobuf.GeneratedMessageLite< SyncRequestFilter, SyncRequestFilter.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.social.SyncRequest.SyncRequestFilter) SyncRequestFilterOrBuilder { private SyncRequestFilter() { account_ = ""; mentions_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); hashtags_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); cursor_ = ""; order_ = ""; accounts_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } public static final int ACCOUNT_FIELD_NUMBER = 1; private java.lang.String account_; /** *
     * Twitter username to fetch feed for
     * 
* * string account = 1 [json_name = "account"]; * @return The account. */ @java.lang.Override public java.lang.String getAccount() { return account_; } /** *
     * Twitter username to fetch feed for
     * 
* * string account = 1 [json_name = "account"]; * @return The bytes for account. */ @java.lang.Override public com.google.protobuf.ByteString getAccountBytes() { return com.google.protobuf.ByteString.copyFromUtf8(account_); } /** *
     * Twitter username to fetch feed for
     * 
* * string account = 1 [json_name = "account"]; * @param value The account to set. */ private void setAccount( java.lang.String value) { java.lang.Class valueClass = value.getClass(); account_ = value; } /** *
     * Twitter username to fetch feed for
     * 
* * string account = 1 [json_name = "account"]; */ private void clearAccount() { account_ = getDefaultInstance().getAccount(); } /** *
     * Twitter username to fetch feed for
     * 
* * string account = 1 [json_name = "account"]; * @param value The bytes for account to set. */ private void setAccountBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); account_ = value.toStringUtf8(); } public static final int MENTIONS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.ProtobufList mentions_; /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @return A list containing the mentions. */ @java.lang.Override public java.util.List getMentionsList() { return mentions_; } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @return The count of mentions. */ @java.lang.Override public int getMentionsCount() { return mentions_.size(); } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index of the element to return. * @return The mentions at the given index. */ @java.lang.Override public java.lang.String getMentions(int index) { return mentions_.get(index); } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index of the value to return. * @return The bytes of the mentions at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getMentionsBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( mentions_.get(index)); } private void ensureMentionsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = mentions_; if (!tmp.isModifiable()) { mentions_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index to set the value at. * @param value The mentions to set. */ private void setMentions( int index, java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureMentionsIsMutable(); mentions_.set(index, value); } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param value The mentions to add. */ private void addMentions( java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureMentionsIsMutable(); mentions_.add(value); } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param values The mentions to add. */ private void addAllMentions( java.lang.Iterable values) { ensureMentionsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, mentions_); } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; */ private void clearMentions() { mentions_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } /** *
     * Array of mentions to search for
     * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param value The bytes of the mentions to add. */ private void addMentionsBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureMentionsIsMutable(); mentions_.add(value.toStringUtf8()); } public static final int HASHTAGS_FIELD_NUMBER = 3; private com.google.protobuf.Internal.ProtobufList hashtags_; /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @return A list containing the hashtags. */ @java.lang.Override public java.util.List getHashtagsList() { return hashtags_; } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @return The count of hashtags. */ @java.lang.Override public int getHashtagsCount() { return hashtags_.size(); } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index of the element to return. * @return The hashtags at the given index. */ @java.lang.Override public java.lang.String getHashtags(int index) { return hashtags_.get(index); } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index of the value to return. * @return The bytes of the hashtags at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getHashtagsBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( hashtags_.get(index)); } private void ensureHashtagsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = hashtags_; if (!tmp.isModifiable()) { hashtags_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index to set the value at. * @param value The hashtags to set. */ private void setHashtags( int index, java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureHashtagsIsMutable(); hashtags_.set(index, value); } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param value The hashtags to add. */ private void addHashtags( java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureHashtagsIsMutable(); hashtags_.add(value); } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param values The hashtags to add. */ private void addAllHashtags( java.lang.Iterable values) { ensureHashtagsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, hashtags_); } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; */ private void clearHashtags() { hashtags_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } /** *
     * Array of hashtags to search for
     * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param value The bytes of the hashtags to add. */ private void addHashtagsBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureHashtagsIsMutable(); hashtags_.add(value.toStringUtf8()); } public static final int PAGE_FIELD_NUMBER = 4; private int page_; /** *
     * Page number, 0 by default
     * 
* * int32 page = 4 [json_name = "page"]; * @return The page. */ @java.lang.Override public int getPage() { return page_; } /** *
     * Page number, 0 by default
     * 
* * int32 page = 4 [json_name = "page"]; * @param value The page to set. */ private void setPage(int value) { page_ = value; } /** *
     * Page number, 0 by default
     * 
* * int32 page = 4 [json_name = "page"]; */ private void clearPage() { page_ = 0; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** *
     * Amount of items per page, 25 by default
     * 
* * int32 page_size = 5 [json_name = "pageSize"]; * @return The pageSize. */ @java.lang.Override public int getPageSize() { return pageSize_; } /** *
     * Amount of items per page, 25 by default
     * 
* * int32 page_size = 5 [json_name = "pageSize"]; * @param value The pageSize to set. */ private void setPageSize(int value) { pageSize_ = value; } /** *
     * Amount of items per page, 25 by default
     * 
* * int32 page_size = 5 [json_name = "pageSize"]; */ private void clearPageSize() { pageSize_ = 0; } public static final int CURSOR_FIELD_NUMBER = 6; private java.lang.String cursor_; /** *
     * Pass biggest internal status id for consistent pagination
     * 
* * string cursor = 6 [json_name = "cursor"]; * @return The cursor. */ @java.lang.Override public java.lang.String getCursor() { return cursor_; } /** *
     * Pass biggest internal status id for consistent pagination
     * 
* * string cursor = 6 [json_name = "cursor"]; * @return The bytes for cursor. */ @java.lang.Override public com.google.protobuf.ByteString getCursorBytes() { return com.google.protobuf.ByteString.copyFromUtf8(cursor_); } /** *
     * Pass biggest internal status id for consistent pagination
     * 
* * string cursor = 6 [json_name = "cursor"]; * @param value The cursor to set. */ private void setCursor( java.lang.String value) { java.lang.Class valueClass = value.getClass(); cursor_ = value; } /** *
     * Pass biggest internal status id for consistent pagination
     * 
* * string cursor = 6 [json_name = "cursor"]; */ private void clearCursor() { cursor_ = getDefaultInstance().getCursor(); } /** *
     * Pass biggest internal status id for consistent pagination
     * 
* * string cursor = 6 [json_name = "cursor"]; * @param value The bytes for cursor to set. */ private void setCursorBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); cursor_ = value.toStringUtf8(); } public static final int ORDER_FIELD_NUMBER = 7; private java.lang.String order_; /** *
     * could be asc or desc
     * 
* * string order = 7 [json_name = "order"]; * @return The order. */ @java.lang.Override public java.lang.String getOrder() { return order_; } /** *
     * could be asc or desc
     * 
* * string order = 7 [json_name = "order"]; * @return The bytes for order. */ @java.lang.Override public com.google.protobuf.ByteString getOrderBytes() { return com.google.protobuf.ByteString.copyFromUtf8(order_); } /** *
     * could be asc or desc
     * 
* * string order = 7 [json_name = "order"]; * @param value The order to set. */ private void setOrder( java.lang.String value) { java.lang.Class valueClass = value.getClass(); order_ = value; } /** *
     * could be asc or desc
     * 
* * string order = 7 [json_name = "order"]; */ private void clearOrder() { order_ = getDefaultInstance().getOrder(); } /** *
     * could be asc or desc
     * 
* * string order = 7 [json_name = "order"]; * @param value The bytes for order to set. */ private void setOrderBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); order_ = value.toStringUtf8(); } public static final int ACCOUNTS_FIELD_NUMBER = 9; private com.google.protobuf.Internal.ProtobufList accounts_; /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @return A list containing the accounts. */ @java.lang.Override public java.util.List getAccountsList() { return accounts_; } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @return The count of accounts. */ @java.lang.Override public int getAccountsCount() { return accounts_.size(); } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index of the element to return. * @return The accounts at the given index. */ @java.lang.Override public java.lang.String getAccounts(int index) { return accounts_.get(index); } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index of the value to return. * @return The bytes of the accounts at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getAccountsBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( accounts_.get(index)); } private void ensureAccountsIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = accounts_; if (!tmp.isModifiable()) { accounts_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index to set the value at. * @param value The accounts to set. */ private void setAccounts( int index, java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureAccountsIsMutable(); accounts_.set(index, value); } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param value The accounts to add. */ private void addAccounts( java.lang.String value) { java.lang.Class valueClass = value.getClass(); ensureAccountsIsMutable(); accounts_.add(value); } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param values The accounts to add. */ private void addAllAccounts( java.lang.Iterable values) { ensureAccountsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, accounts_); } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; */ private void clearAccounts() { accounts_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } /** *
     * Same as account, but an array. If provided OVERRIDES account
     * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param value The bytes of the accounts to add. */ private void addAccountsBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureAccountsIsMutable(); accounts_.add(value.toStringUtf8()); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.social.SyncRequest.SyncRequestFilter prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.social.SyncRequest.SyncRequestFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.social.SyncRequest.SyncRequestFilter, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.social.SyncRequest.SyncRequestFilter) com.streamlayer.social.SyncRequest.SyncRequestFilterOrBuilder { // Construct using com.streamlayer.social.SyncRequest.SyncRequestFilter.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * Twitter username to fetch feed for
       * 
* * string account = 1 [json_name = "account"]; * @return The account. */ @java.lang.Override public java.lang.String getAccount() { return instance.getAccount(); } /** *
       * Twitter username to fetch feed for
       * 
* * string account = 1 [json_name = "account"]; * @return The bytes for account. */ @java.lang.Override public com.google.protobuf.ByteString getAccountBytes() { return instance.getAccountBytes(); } /** *
       * Twitter username to fetch feed for
       * 
* * string account = 1 [json_name = "account"]; * @param value The account to set. * @return This builder for chaining. */ public Builder setAccount( java.lang.String value) { copyOnWrite(); instance.setAccount(value); return this; } /** *
       * Twitter username to fetch feed for
       * 
* * string account = 1 [json_name = "account"]; * @return This builder for chaining. */ public Builder clearAccount() { copyOnWrite(); instance.clearAccount(); return this; } /** *
       * Twitter username to fetch feed for
       * 
* * string account = 1 [json_name = "account"]; * @param value The bytes for account to set. * @return This builder for chaining. */ public Builder setAccountBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setAccountBytes(value); return this; } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @return A list containing the mentions. */ @java.lang.Override public java.util.List getMentionsList() { return java.util.Collections.unmodifiableList( instance.getMentionsList()); } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @return The count of mentions. */ @java.lang.Override public int getMentionsCount() { return instance.getMentionsCount(); } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index of the element to return. * @return The mentions at the given index. */ @java.lang.Override public java.lang.String getMentions(int index) { return instance.getMentions(index); } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index of the value to return. * @return The bytes of the mentions at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getMentionsBytes(int index) { return instance.getMentionsBytes(index); } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param index The index to set the value at. * @param value The mentions to set. * @return This builder for chaining. */ public Builder setMentions( int index, java.lang.String value) { copyOnWrite(); instance.setMentions(index, value); return this; } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param value The mentions to add. * @return This builder for chaining. */ public Builder addMentions( java.lang.String value) { copyOnWrite(); instance.addMentions(value); return this; } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param values The mentions to add. * @return This builder for chaining. */ public Builder addAllMentions( java.lang.Iterable values) { copyOnWrite(); instance.addAllMentions(values); return this; } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @return This builder for chaining. */ public Builder clearMentions() { copyOnWrite(); instance.clearMentions(); return this; } /** *
       * Array of mentions to search for
       * 
* * repeated string mentions = 2 [json_name = "mentions"]; * @param value The bytes of the mentions to add. * @return This builder for chaining. */ public Builder addMentionsBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addMentionsBytes(value); return this; } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @return A list containing the hashtags. */ @java.lang.Override public java.util.List getHashtagsList() { return java.util.Collections.unmodifiableList( instance.getHashtagsList()); } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @return The count of hashtags. */ @java.lang.Override public int getHashtagsCount() { return instance.getHashtagsCount(); } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index of the element to return. * @return The hashtags at the given index. */ @java.lang.Override public java.lang.String getHashtags(int index) { return instance.getHashtags(index); } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index of the value to return. * @return The bytes of the hashtags at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getHashtagsBytes(int index) { return instance.getHashtagsBytes(index); } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param index The index to set the value at. * @param value The hashtags to set. * @return This builder for chaining. */ public Builder setHashtags( int index, java.lang.String value) { copyOnWrite(); instance.setHashtags(index, value); return this; } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param value The hashtags to add. * @return This builder for chaining. */ public Builder addHashtags( java.lang.String value) { copyOnWrite(); instance.addHashtags(value); return this; } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param values The hashtags to add. * @return This builder for chaining. */ public Builder addAllHashtags( java.lang.Iterable values) { copyOnWrite(); instance.addAllHashtags(values); return this; } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @return This builder for chaining. */ public Builder clearHashtags() { copyOnWrite(); instance.clearHashtags(); return this; } /** *
       * Array of hashtags to search for
       * 
* * repeated string hashtags = 3 [json_name = "hashtags"]; * @param value The bytes of the hashtags to add. * @return This builder for chaining. */ public Builder addHashtagsBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addHashtagsBytes(value); return this; } /** *
       * Page number, 0 by default
       * 
* * int32 page = 4 [json_name = "page"]; * @return The page. */ @java.lang.Override public int getPage() { return instance.getPage(); } /** *
       * Page number, 0 by default
       * 
* * int32 page = 4 [json_name = "page"]; * @param value The page to set. * @return This builder for chaining. */ public Builder setPage(int value) { copyOnWrite(); instance.setPage(value); return this; } /** *
       * Page number, 0 by default
       * 
* * int32 page = 4 [json_name = "page"]; * @return This builder for chaining. */ public Builder clearPage() { copyOnWrite(); instance.clearPage(); return this; } /** *
       * Amount of items per page, 25 by default
       * 
* * int32 page_size = 5 [json_name = "pageSize"]; * @return The pageSize. */ @java.lang.Override public int getPageSize() { return instance.getPageSize(); } /** *
       * Amount of items per page, 25 by default
       * 
* * int32 page_size = 5 [json_name = "pageSize"]; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { copyOnWrite(); instance.setPageSize(value); return this; } /** *
       * Amount of items per page, 25 by default
       * 
* * int32 page_size = 5 [json_name = "pageSize"]; * @return This builder for chaining. */ public Builder clearPageSize() { copyOnWrite(); instance.clearPageSize(); return this; } /** *
       * Pass biggest internal status id for consistent pagination
       * 
* * string cursor = 6 [json_name = "cursor"]; * @return The cursor. */ @java.lang.Override public java.lang.String getCursor() { return instance.getCursor(); } /** *
       * Pass biggest internal status id for consistent pagination
       * 
* * string cursor = 6 [json_name = "cursor"]; * @return The bytes for cursor. */ @java.lang.Override public com.google.protobuf.ByteString getCursorBytes() { return instance.getCursorBytes(); } /** *
       * Pass biggest internal status id for consistent pagination
       * 
* * string cursor = 6 [json_name = "cursor"]; * @param value The cursor to set. * @return This builder for chaining. */ public Builder setCursor( java.lang.String value) { copyOnWrite(); instance.setCursor(value); return this; } /** *
       * Pass biggest internal status id for consistent pagination
       * 
* * string cursor = 6 [json_name = "cursor"]; * @return This builder for chaining. */ public Builder clearCursor() { copyOnWrite(); instance.clearCursor(); return this; } /** *
       * Pass biggest internal status id for consistent pagination
       * 
* * string cursor = 6 [json_name = "cursor"]; * @param value The bytes for cursor to set. * @return This builder for chaining. */ public Builder setCursorBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setCursorBytes(value); return this; } /** *
       * could be asc or desc
       * 
* * string order = 7 [json_name = "order"]; * @return The order. */ @java.lang.Override public java.lang.String getOrder() { return instance.getOrder(); } /** *
       * could be asc or desc
       * 
* * string order = 7 [json_name = "order"]; * @return The bytes for order. */ @java.lang.Override public com.google.protobuf.ByteString getOrderBytes() { return instance.getOrderBytes(); } /** *
       * could be asc or desc
       * 
* * string order = 7 [json_name = "order"]; * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder( java.lang.String value) { copyOnWrite(); instance.setOrder(value); return this; } /** *
       * could be asc or desc
       * 
* * string order = 7 [json_name = "order"]; * @return This builder for chaining. */ public Builder clearOrder() { copyOnWrite(); instance.clearOrder(); return this; } /** *
       * could be asc or desc
       * 
* * string order = 7 [json_name = "order"]; * @param value The bytes for order to set. * @return This builder for chaining. */ public Builder setOrderBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setOrderBytes(value); return this; } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @return A list containing the accounts. */ @java.lang.Override public java.util.List getAccountsList() { return java.util.Collections.unmodifiableList( instance.getAccountsList()); } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @return The count of accounts. */ @java.lang.Override public int getAccountsCount() { return instance.getAccountsCount(); } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index of the element to return. * @return The accounts at the given index. */ @java.lang.Override public java.lang.String getAccounts(int index) { return instance.getAccounts(index); } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index of the value to return. * @return The bytes of the accounts at the given index. */ @java.lang.Override public com.google.protobuf.ByteString getAccountsBytes(int index) { return instance.getAccountsBytes(index); } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param index The index to set the value at. * @param value The accounts to set. * @return This builder for chaining. */ public Builder setAccounts( int index, java.lang.String value) { copyOnWrite(); instance.setAccounts(index, value); return this; } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param value The accounts to add. * @return This builder for chaining. */ public Builder addAccounts( java.lang.String value) { copyOnWrite(); instance.addAccounts(value); return this; } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param values The accounts to add. * @return This builder for chaining. */ public Builder addAllAccounts( java.lang.Iterable values) { copyOnWrite(); instance.addAllAccounts(values); return this; } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @return This builder for chaining. */ public Builder clearAccounts() { copyOnWrite(); instance.clearAccounts(); return this; } /** *
       * Same as account, but an array. If provided OVERRIDES account
       * 
* * repeated string accounts = 9 [json_name = "accounts"]; * @param value The bytes of the accounts to add. * @return This builder for chaining. */ public Builder addAccountsBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addAccountsBytes(value); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.social.SyncRequest.SyncRequestFilter) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.social.SyncRequest.SyncRequestFilter(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "account_", "mentions_", "hashtags_", "page_", "pageSize_", "cursor_", "order_", "accounts_", }; java.lang.String info = "\u0000\b\u0000\u0000\u0001\t\b\u0000\u0003\u0000\u0001\u0208\u0002\u021a\u0003\u021a" + "\u0004\u0004\u0005\u0004\u0006\u0208\u0007\u0208\t\u021a"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.social.SyncRequest.SyncRequestFilter.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.social.SyncRequest.SyncRequestFilter) private static final com.streamlayer.social.SyncRequest.SyncRequestFilter DEFAULT_INSTANCE; static { SyncRequestFilter defaultInstance = new SyncRequestFilter(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SyncRequestFilter.class, defaultInstance); } public static com.streamlayer.social.SyncRequest.SyncRequestFilter getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } private int bitField0_; public static final int FILTER_FIELD_NUMBER = 1; private com.streamlayer.social.SyncRequest.SyncRequestFilter filter_; /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ @java.lang.Override public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ @java.lang.Override public com.streamlayer.social.SyncRequest.SyncRequestFilter getFilter() { return filter_ == null ? com.streamlayer.social.SyncRequest.SyncRequestFilter.getDefaultInstance() : filter_; } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ private void setFilter(com.streamlayer.social.SyncRequest.SyncRequestFilter value) { value.getClass(); filter_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeFilter(com.streamlayer.social.SyncRequest.SyncRequestFilter value) { value.getClass(); if (filter_ != null && filter_ != com.streamlayer.social.SyncRequest.SyncRequestFilter.getDefaultInstance()) { filter_ = com.streamlayer.social.SyncRequest.SyncRequestFilter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ private void clearFilter() { filter_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static com.streamlayer.social.SyncRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.social.SyncRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.social.SyncRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.social.SyncRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.social.SyncRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.social.SyncRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.social.SyncRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.social.SyncRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.social.SyncRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.social.SyncRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.social.SyncRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.social.SyncRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.social.SyncRequest prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.social.SyncRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.social.SyncRequest, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.social.SyncRequest) com.streamlayer.social.SyncRequestOrBuilder { // Construct using com.streamlayer.social.SyncRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ @java.lang.Override public boolean hasFilter() { return instance.hasFilter(); } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ @java.lang.Override public com.streamlayer.social.SyncRequest.SyncRequestFilter getFilter() { return instance.getFilter(); } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ public Builder setFilter(com.streamlayer.social.SyncRequest.SyncRequestFilter value) { copyOnWrite(); instance.setFilter(value); return this; } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ public Builder setFilter( com.streamlayer.social.SyncRequest.SyncRequestFilter.Builder builderForValue) { copyOnWrite(); instance.setFilter(builderForValue.build()); return this; } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ public Builder mergeFilter(com.streamlayer.social.SyncRequest.SyncRequestFilter value) { copyOnWrite(); instance.mergeFilter(value); return this; } /** * .streamlayer.social.SyncRequest.SyncRequestFilter filter = 1 [json_name = "filter"]; */ public Builder clearFilter() { copyOnWrite(); instance.clearFilter(); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.social.SyncRequest) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.social.SyncRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "filter_", }; java.lang.String info = "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.social.SyncRequest.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.social.SyncRequest) private static final com.streamlayer.social.SyncRequest DEFAULT_INSTANCE; static { SyncRequest defaultInstance = new SyncRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SyncRequest.class, defaultInstance); } public static com.streamlayer.social.SyncRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy