Class SearchRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.SearchRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, SearchRequestOrBuilder

public final class SearchRequest extends com.google.protobuf.GeneratedMessageV3 implements SearchRequestOrBuilder
Protobuf type org.opensearch.protobufs.SearchRequest
See Also:
  • Field Details

    • INDEX_FIELD_NUMBER

      public static final int INDEX_FIELD_NUMBER
      See Also:
    • X_SOURCE_FIELD_NUMBER

      public static final int X_SOURCE_FIELD_NUMBER
      See Also:
    • X_SOURCE_EXCLUDES_FIELD_NUMBER

      public static final int X_SOURCE_EXCLUDES_FIELD_NUMBER
      See Also:
    • X_SOURCE_INCLUDES_FIELD_NUMBER

      public static final int X_SOURCE_INCLUDES_FIELD_NUMBER
      See Also:
    • ALLOW_NO_INDICES_FIELD_NUMBER

      public static final int ALLOW_NO_INDICES_FIELD_NUMBER
      See Also:
    • ALLOW_PARTIAL_SEARCH_RESULTS_FIELD_NUMBER

      public static final int ALLOW_PARTIAL_SEARCH_RESULTS_FIELD_NUMBER
      See Also:
    • ANALYZE_WILDCARD_FIELD_NUMBER

      public static final int ANALYZE_WILDCARD_FIELD_NUMBER
      See Also:
    • BATCHED_REDUCE_SIZE_FIELD_NUMBER

      public static final int BATCHED_REDUCE_SIZE_FIELD_NUMBER
      See Also:
    • CANCEL_AFTER_TIME_INTERVAL_FIELD_NUMBER

      public static final int CANCEL_AFTER_TIME_INTERVAL_FIELD_NUMBER
      See Also:
    • CCS_MINIMIZE_ROUNDTRIPS_FIELD_NUMBER

      public static final int CCS_MINIMIZE_ROUNDTRIPS_FIELD_NUMBER
      See Also:
    • DEFAULT_OPERATOR_FIELD_NUMBER

      public static final int DEFAULT_OPERATOR_FIELD_NUMBER
      See Also:
    • DF_FIELD_NUMBER

      public static final int DF_FIELD_NUMBER
      See Also:
    • DOCVALUE_FIELDS_FIELD_NUMBER

      public static final int DOCVALUE_FIELDS_FIELD_NUMBER
      See Also:
    • EXPAND_WILDCARDS_FIELD_NUMBER

      public static final int EXPAND_WILDCARDS_FIELD_NUMBER
      See Also:
    • IGNORE_THROTTLED_FIELD_NUMBER

      public static final int IGNORE_THROTTLED_FIELD_NUMBER
      See Also:
    • IGNORE_UNAVAILABLE_FIELD_NUMBER

      public static final int IGNORE_UNAVAILABLE_FIELD_NUMBER
      See Also:
    • MAX_CONCURRENT_SHARD_REQUESTS_FIELD_NUMBER

      public static final int MAX_CONCURRENT_SHARD_REQUESTS_FIELD_NUMBER
      See Also:
    • PHASE_TOOK_FIELD_NUMBER

      public static final int PHASE_TOOK_FIELD_NUMBER
      See Also:
    • PRE_FILTER_SHARD_SIZE_FIELD_NUMBER

      public static final int PRE_FILTER_SHARD_SIZE_FIELD_NUMBER
      See Also:
    • PREFERENCE_FIELD_NUMBER

      public static final int PREFERENCE_FIELD_NUMBER
      See Also:
    • Q_FIELD_NUMBER

      public static final int Q_FIELD_NUMBER
      See Also:
    • REQUEST_CACHE_FIELD_NUMBER

      public static final int REQUEST_CACHE_FIELD_NUMBER
      See Also:
    • TOTAL_HITS_AS_INT_FIELD_NUMBER

      public static final int TOTAL_HITS_AS_INT_FIELD_NUMBER
      See Also:
    • ROUTING_FIELD_NUMBER

      public static final int ROUTING_FIELD_NUMBER
      See Also:
    • SCROLL_FIELD_NUMBER

      public static final int SCROLL_FIELD_NUMBER
      See Also:
    • SEARCH_TYPE_FIELD_NUMBER

      public static final int SEARCH_TYPE_FIELD_NUMBER
      See Also:
    • SUGGEST_FIELD_FIELD_NUMBER

      public static final int SUGGEST_FIELD_FIELD_NUMBER
      See Also:
    • SUGGEST_MODE_FIELD_NUMBER

      public static final int SUGGEST_MODE_FIELD_NUMBER
      See Also:
    • SUGGEST_SIZE_FIELD_NUMBER

      public static final int SUGGEST_SIZE_FIELD_NUMBER
      See Also:
    • SUGGEST_TEXT_FIELD_NUMBER

      public static final int SUGGEST_TEXT_FIELD_NUMBER
      See Also:
    • TYPED_KEYS_FIELD_NUMBER

      public static final int TYPED_KEYS_FIELD_NUMBER
      See Also:
    • SEARCH_REQUEST_BODY_FIELD_NUMBER

      public static final int SEARCH_REQUEST_BODY_FIELD_NUMBER
      See Also:
    • GLOBAL_PARAMS_FIELD_NUMBER

      public static final int GLOBAL_PARAMS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getIndexList

      public com.google.protobuf.ProtocolStringList getIndexList()
      repeated string index = 1 [json_name = "index"];
      Specified by:
      getIndexList in interface SearchRequestOrBuilder
      Returns:
      A list containing the index.
    • getIndexCount

      public int getIndexCount()
      repeated string index = 1 [json_name = "index"];
      Specified by:
      getIndexCount in interface SearchRequestOrBuilder
      Returns:
      The count of index.
    • getIndex

      public String getIndex(int index)
      repeated string index = 1 [json_name = "index"];
      Specified by:
      getIndex in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The index at the given index.
    • getIndexBytes

      public com.google.protobuf.ByteString getIndexBytes(int index)
      repeated string index = 1 [json_name = "index"];
      Specified by:
      getIndexBytes in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the index at the given index.
    • hasXSource

      public boolean hasXSource()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
      Specified by:
      hasXSource in interface SearchRequestOrBuilder
      Returns:
      Whether the xSource field is set.
    • getXSource

      public SourceConfigParam getXSource()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
      Specified by:
      getXSource in interface SearchRequestOrBuilder
      Returns:
      The xSource.
    • getXSourceOrBuilder

      public SourceConfigParamOrBuilder getXSourceOrBuilder()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
      Specified by:
      getXSourceOrBuilder in interface SearchRequestOrBuilder
    • getXSourceExcludesList

      public com.google.protobuf.ProtocolStringList getXSourceExcludesList()
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesList in interface SearchRequestOrBuilder
      Returns:
      A list containing the xSourceExcludes.
    • getXSourceExcludesCount

      public int getXSourceExcludesCount()
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesCount in interface SearchRequestOrBuilder
      Returns:
      The count of xSourceExcludes.
    • getXSourceExcludes

      public String getXSourceExcludes(int index)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludes in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceExcludes at the given index.
    • getXSourceExcludesBytes

      public com.google.protobuf.ByteString getXSourceExcludesBytes(int index)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Specified by:
      getXSourceExcludesBytes in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceExcludes at the given index.
    • getXSourceIncludesList

      public com.google.protobuf.ProtocolStringList getXSourceIncludesList()
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesList in interface SearchRequestOrBuilder
      Returns:
      A list containing the xSourceIncludes.
    • getXSourceIncludesCount

      public int getXSourceIncludesCount()
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesCount in interface SearchRequestOrBuilder
      Returns:
      The count of xSourceIncludes.
    • getXSourceIncludes

      public String getXSourceIncludes(int index)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludes in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceIncludes at the given index.
    • getXSourceIncludesBytes

      public com.google.protobuf.ByteString getXSourceIncludesBytes(int index)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Specified by:
      getXSourceIncludesBytes in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceIncludes at the given index.
    • hasAllowNoIndices

      public boolean hasAllowNoIndices()
      optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];
      Specified by:
      hasAllowNoIndices in interface SearchRequestOrBuilder
      Returns:
      Whether the allowNoIndices field is set.
    • getAllowNoIndices

      public boolean getAllowNoIndices()
      optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];
      Specified by:
      getAllowNoIndices in interface SearchRequestOrBuilder
      Returns:
      The allowNoIndices.
    • hasAllowPartialSearchResults

      public boolean hasAllowPartialSearchResults()
      optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];
      Specified by:
      hasAllowPartialSearchResults in interface SearchRequestOrBuilder
      Returns:
      Whether the allowPartialSearchResults field is set.
    • getAllowPartialSearchResults

      public boolean getAllowPartialSearchResults()
      optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];
      Specified by:
      getAllowPartialSearchResults in interface SearchRequestOrBuilder
      Returns:
      The allowPartialSearchResults.
    • hasAnalyzeWildcard

      public boolean hasAnalyzeWildcard()
      optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];
      Specified by:
      hasAnalyzeWildcard in interface SearchRequestOrBuilder
      Returns:
      Whether the analyzeWildcard field is set.
    • getAnalyzeWildcard

      public boolean getAnalyzeWildcard()
      optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];
      Specified by:
      getAnalyzeWildcard in interface SearchRequestOrBuilder
      Returns:
      The analyzeWildcard.
    • hasBatchedReduceSize

      public boolean hasBatchedReduceSize()
      optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];
      Specified by:
      hasBatchedReduceSize in interface SearchRequestOrBuilder
      Returns:
      Whether the batchedReduceSize field is set.
    • getBatchedReduceSize

      public int getBatchedReduceSize()
      optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];
      Specified by:
      getBatchedReduceSize in interface SearchRequestOrBuilder
      Returns:
      The batchedReduceSize.
    • hasCancelAfterTimeInterval

      public boolean hasCancelAfterTimeInterval()
      optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];
      Specified by:
      hasCancelAfterTimeInterval in interface SearchRequestOrBuilder
      Returns:
      Whether the cancelAfterTimeInterval field is set.
    • getCancelAfterTimeInterval

      public String getCancelAfterTimeInterval()
      optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];
      Specified by:
      getCancelAfterTimeInterval in interface SearchRequestOrBuilder
      Returns:
      The cancelAfterTimeInterval.
    • getCancelAfterTimeIntervalBytes

      public com.google.protobuf.ByteString getCancelAfterTimeIntervalBytes()
      optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];
      Specified by:
      getCancelAfterTimeIntervalBytes in interface SearchRequestOrBuilder
      Returns:
      The bytes for cancelAfterTimeInterval.
    • hasCcsMinimizeRoundtrips

      public boolean hasCcsMinimizeRoundtrips()
      optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];
      Specified by:
      hasCcsMinimizeRoundtrips in interface SearchRequestOrBuilder
      Returns:
      Whether the ccsMinimizeRoundtrips field is set.
    • getCcsMinimizeRoundtrips

      public boolean getCcsMinimizeRoundtrips()
      optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];
      Specified by:
      getCcsMinimizeRoundtrips in interface SearchRequestOrBuilder
      Returns:
      The ccsMinimizeRoundtrips.
    • hasDefaultOperator

      public boolean hasDefaultOperator()
      optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];
      Specified by:
      hasDefaultOperator in interface SearchRequestOrBuilder
      Returns:
      Whether the defaultOperator field is set.
    • getDefaultOperatorValue

      public int getDefaultOperatorValue()
      optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];
      Specified by:
      getDefaultOperatorValue in interface SearchRequestOrBuilder
      Returns:
      The enum numeric value on the wire for defaultOperator.
    • getDefaultOperator

      public Operator getDefaultOperator()
      optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];
      Specified by:
      getDefaultOperator in interface SearchRequestOrBuilder
      Returns:
      The defaultOperator.
    • hasDf

      public boolean hasDf()
      optional string df = 12 [json_name = "df"];
      Specified by:
      hasDf in interface SearchRequestOrBuilder
      Returns:
      Whether the df field is set.
    • getDf

      public String getDf()
      optional string df = 12 [json_name = "df"];
      Specified by:
      getDf in interface SearchRequestOrBuilder
      Returns:
      The df.
    • getDfBytes

      public com.google.protobuf.ByteString getDfBytes()
      optional string df = 12 [json_name = "df"];
      Specified by:
      getDfBytes in interface SearchRequestOrBuilder
      Returns:
      The bytes for df.
    • getDocvalueFieldsList

      public com.google.protobuf.ProtocolStringList getDocvalueFieldsList()
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Specified by:
      getDocvalueFieldsList in interface SearchRequestOrBuilder
      Returns:
      A list containing the docvalueFields.
    • getDocvalueFieldsCount

      public int getDocvalueFieldsCount()
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Specified by:
      getDocvalueFieldsCount in interface SearchRequestOrBuilder
      Returns:
      The count of docvalueFields.
    • getDocvalueFields

      public String getDocvalueFields(int index)
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Specified by:
      getDocvalueFields in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The docvalueFields at the given index.
    • getDocvalueFieldsBytes

      public com.google.protobuf.ByteString getDocvalueFieldsBytes(int index)
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Specified by:
      getDocvalueFieldsBytes in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the docvalueFields at the given index.
    • getExpandWildcardsList

      public List<ExpandWildcard> getExpandWildcardsList()
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Specified by:
      getExpandWildcardsList in interface SearchRequestOrBuilder
      Returns:
      A list containing the expandWildcards.
    • getExpandWildcardsCount

      public int getExpandWildcardsCount()
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Specified by:
      getExpandWildcardsCount in interface SearchRequestOrBuilder
      Returns:
      The count of expandWildcards.
    • getExpandWildcards

      public ExpandWildcard getExpandWildcards(int index)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Specified by:
      getExpandWildcards in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The expandWildcards at the given index.
    • getExpandWildcardsValueList

      public List<Integer> getExpandWildcardsValueList()
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Specified by:
      getExpandWildcardsValueList in interface SearchRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for expandWildcards.
    • getExpandWildcardsValue

      public int getExpandWildcardsValue(int index)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Specified by:
      getExpandWildcardsValue in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of expandWildcards at the given index.
    • hasIgnoreThrottled

      public boolean hasIgnoreThrottled()
      optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];
      Specified by:
      hasIgnoreThrottled in interface SearchRequestOrBuilder
      Returns:
      Whether the ignoreThrottled field is set.
    • getIgnoreThrottled

      public boolean getIgnoreThrottled()
      optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];
      Specified by:
      getIgnoreThrottled in interface SearchRequestOrBuilder
      Returns:
      The ignoreThrottled.
    • hasIgnoreUnavailable

      public boolean hasIgnoreUnavailable()
      optional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];
      Specified by:
      hasIgnoreUnavailable in interface SearchRequestOrBuilder
      Returns:
      Whether the ignoreUnavailable field is set.
    • getIgnoreUnavailable

      public boolean getIgnoreUnavailable()
      optional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];
      Specified by:
      getIgnoreUnavailable in interface SearchRequestOrBuilder
      Returns:
      The ignoreUnavailable.
    • hasMaxConcurrentShardRequests

      public boolean hasMaxConcurrentShardRequests()
      optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];
      Specified by:
      hasMaxConcurrentShardRequests in interface SearchRequestOrBuilder
      Returns:
      Whether the maxConcurrentShardRequests field is set.
    • getMaxConcurrentShardRequests

      public int getMaxConcurrentShardRequests()
      optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];
      Specified by:
      getMaxConcurrentShardRequests in interface SearchRequestOrBuilder
      Returns:
      The maxConcurrentShardRequests.
    • hasPhaseTook

      public boolean hasPhaseTook()
      optional bool phase_took = 18 [json_name = "phaseTook"];
      Specified by:
      hasPhaseTook in interface SearchRequestOrBuilder
      Returns:
      Whether the phaseTook field is set.
    • getPhaseTook

      public boolean getPhaseTook()
      optional bool phase_took = 18 [json_name = "phaseTook"];
      Specified by:
      getPhaseTook in interface SearchRequestOrBuilder
      Returns:
      The phaseTook.
    • hasPreFilterShardSize

      public boolean hasPreFilterShardSize()
      optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];
      Specified by:
      hasPreFilterShardSize in interface SearchRequestOrBuilder
      Returns:
      Whether the preFilterShardSize field is set.
    • getPreFilterShardSize

      public int getPreFilterShardSize()
      optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];
      Specified by:
      getPreFilterShardSize in interface SearchRequestOrBuilder
      Returns:
      The preFilterShardSize.
    • hasPreference

      public boolean hasPreference()
      optional string preference = 20 [json_name = "preference"];
      Specified by:
      hasPreference in interface SearchRequestOrBuilder
      Returns:
      Whether the preference field is set.
    • getPreference

      public String getPreference()
      optional string preference = 20 [json_name = "preference"];
      Specified by:
      getPreference in interface SearchRequestOrBuilder
      Returns:
      The preference.
    • getPreferenceBytes

      public com.google.protobuf.ByteString getPreferenceBytes()
      optional string preference = 20 [json_name = "preference"];
      Specified by:
      getPreferenceBytes in interface SearchRequestOrBuilder
      Returns:
      The bytes for preference.
    • hasQ

      public boolean hasQ()
      optional string q = 21 [json_name = "q"];
      Specified by:
      hasQ in interface SearchRequestOrBuilder
      Returns:
      Whether the q field is set.
    • getQ

      public String getQ()
      optional string q = 21 [json_name = "q"];
      Specified by:
      getQ in interface SearchRequestOrBuilder
      Returns:
      The q.
    • getQBytes

      public com.google.protobuf.ByteString getQBytes()
      optional string q = 21 [json_name = "q"];
      Specified by:
      getQBytes in interface SearchRequestOrBuilder
      Returns:
      The bytes for q.
    • hasRequestCache

      public boolean hasRequestCache()
      optional bool request_cache = 22 [json_name = "requestCache"];
      Specified by:
      hasRequestCache in interface SearchRequestOrBuilder
      Returns:
      Whether the requestCache field is set.
    • getRequestCache

      public boolean getRequestCache()
      optional bool request_cache = 22 [json_name = "requestCache"];
      Specified by:
      getRequestCache in interface SearchRequestOrBuilder
      Returns:
      The requestCache.
    • hasTotalHitsAsInt

      public boolean hasTotalHitsAsInt()
      optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];
      Specified by:
      hasTotalHitsAsInt in interface SearchRequestOrBuilder
      Returns:
      Whether the totalHitsAsInt field is set.
    • getTotalHitsAsInt

      public boolean getTotalHitsAsInt()
      optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];
      Specified by:
      getTotalHitsAsInt in interface SearchRequestOrBuilder
      Returns:
      The totalHitsAsInt.
    • getRoutingList

      public com.google.protobuf.ProtocolStringList getRoutingList()
      repeated string routing = 24 [json_name = "routing"];
      Specified by:
      getRoutingList in interface SearchRequestOrBuilder
      Returns:
      A list containing the routing.
    • getRoutingCount

      public int getRoutingCount()
      repeated string routing = 24 [json_name = "routing"];
      Specified by:
      getRoutingCount in interface SearchRequestOrBuilder
      Returns:
      The count of routing.
    • getRouting

      public String getRouting(int index)
      repeated string routing = 24 [json_name = "routing"];
      Specified by:
      getRouting in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The routing at the given index.
    • getRoutingBytes

      public com.google.protobuf.ByteString getRoutingBytes(int index)
      repeated string routing = 24 [json_name = "routing"];
      Specified by:
      getRoutingBytes in interface SearchRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the routing at the given index.
    • hasScroll

      public boolean hasScroll()
      optional string scroll = 25 [json_name = "scroll"];
      Specified by:
      hasScroll in interface SearchRequestOrBuilder
      Returns:
      Whether the scroll field is set.
    • getScroll

      public String getScroll()
      optional string scroll = 25 [json_name = "scroll"];
      Specified by:
      getScroll in interface SearchRequestOrBuilder
      Returns:
      The scroll.
    • getScrollBytes

      public com.google.protobuf.ByteString getScrollBytes()
      optional string scroll = 25 [json_name = "scroll"];
      Specified by:
      getScrollBytes in interface SearchRequestOrBuilder
      Returns:
      The bytes for scroll.
    • hasSearchType

      public boolean hasSearchType()
      optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];
      Specified by:
      hasSearchType in interface SearchRequestOrBuilder
      Returns:
      Whether the searchType field is set.
    • getSearchTypeValue

      public int getSearchTypeValue()
      optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];
      Specified by:
      getSearchTypeValue in interface SearchRequestOrBuilder
      Returns:
      The enum numeric value on the wire for searchType.
    • getSearchType

      public SearchType getSearchType()
      optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];
      Specified by:
      getSearchType in interface SearchRequestOrBuilder
      Returns:
      The searchType.
    • hasSuggestField

      public boolean hasSuggestField()
      optional string suggest_field = 27 [json_name = "suggestField"];
      Specified by:
      hasSuggestField in interface SearchRequestOrBuilder
      Returns:
      Whether the suggestField field is set.
    • getSuggestField

      public String getSuggestField()
      optional string suggest_field = 27 [json_name = "suggestField"];
      Specified by:
      getSuggestField in interface SearchRequestOrBuilder
      Returns:
      The suggestField.
    • getSuggestFieldBytes

      public com.google.protobuf.ByteString getSuggestFieldBytes()
      optional string suggest_field = 27 [json_name = "suggestField"];
      Specified by:
      getSuggestFieldBytes in interface SearchRequestOrBuilder
      Returns:
      The bytes for suggestField.
    • hasSuggestMode

      public boolean hasSuggestMode()
      optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];
      Specified by:
      hasSuggestMode in interface SearchRequestOrBuilder
      Returns:
      Whether the suggestMode field is set.
    • getSuggestModeValue

      public int getSuggestModeValue()
      optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];
      Specified by:
      getSuggestModeValue in interface SearchRequestOrBuilder
      Returns:
      The enum numeric value on the wire for suggestMode.
    • getSuggestMode

      public SuggestMode getSuggestMode()
      optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];
      Specified by:
      getSuggestMode in interface SearchRequestOrBuilder
      Returns:
      The suggestMode.
    • hasSuggestSize

      public boolean hasSuggestSize()
      optional int32 suggest_size = 29 [json_name = "suggestSize"];
      Specified by:
      hasSuggestSize in interface SearchRequestOrBuilder
      Returns:
      Whether the suggestSize field is set.
    • getSuggestSize

      public int getSuggestSize()
      optional int32 suggest_size = 29 [json_name = "suggestSize"];
      Specified by:
      getSuggestSize in interface SearchRequestOrBuilder
      Returns:
      The suggestSize.
    • hasSuggestText

      public boolean hasSuggestText()
      optional string suggest_text = 30 [json_name = "suggestText"];
      Specified by:
      hasSuggestText in interface SearchRequestOrBuilder
      Returns:
      Whether the suggestText field is set.
    • getSuggestText

      public String getSuggestText()
      optional string suggest_text = 30 [json_name = "suggestText"];
      Specified by:
      getSuggestText in interface SearchRequestOrBuilder
      Returns:
      The suggestText.
    • getSuggestTextBytes

      public com.google.protobuf.ByteString getSuggestTextBytes()
      optional string suggest_text = 30 [json_name = "suggestText"];
      Specified by:
      getSuggestTextBytes in interface SearchRequestOrBuilder
      Returns:
      The bytes for suggestText.
    • hasTypedKeys

      public boolean hasTypedKeys()
      optional bool typed_keys = 31 [json_name = "typedKeys"];
      Specified by:
      hasTypedKeys in interface SearchRequestOrBuilder
      Returns:
      Whether the typedKeys field is set.
    • getTypedKeys

      public boolean getTypedKeys()
      optional bool typed_keys = 31 [json_name = "typedKeys"];
      Specified by:
      getTypedKeys in interface SearchRequestOrBuilder
      Returns:
      The typedKeys.
    • hasSearchRequestBody

      public boolean hasSearchRequestBody()
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];
      Specified by:
      hasSearchRequestBody in interface SearchRequestOrBuilder
      Returns:
      Whether the searchRequestBody field is set.
    • getSearchRequestBody

      public SearchRequestBody getSearchRequestBody()
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];
      Specified by:
      getSearchRequestBody in interface SearchRequestOrBuilder
      Returns:
      The searchRequestBody.
    • getSearchRequestBodyOrBuilder

      public SearchRequestBodyOrBuilder getSearchRequestBodyOrBuilder()
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];
      Specified by:
      getSearchRequestBodyOrBuilder in interface SearchRequestOrBuilder
    • hasGlobalParams

      public boolean hasGlobalParams()
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
      Specified by:
      hasGlobalParams in interface SearchRequestOrBuilder
      Returns:
      Whether the globalParams field is set.
    • getGlobalParams

      public GlobalParams getGlobalParams()
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
      Specified by:
      getGlobalParams in interface SearchRequestOrBuilder
      Returns:
      The globalParams.
    • getGlobalParamsOrBuilder

      public GlobalParamsOrBuilder getGlobalParamsOrBuilder()
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
      Specified by:
      getGlobalParamsOrBuilder in interface SearchRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SearchRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SearchRequest.Builder newBuilder()
    • newBuilder

      public static SearchRequest.Builder newBuilder(SearchRequest prototype)
    • toBuilder

      public SearchRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SearchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SearchRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SearchRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<SearchRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SearchRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder