Class SearchRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SearchRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
org.opensearch.protobufs.SearchRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, SearchRequestOrBuilder
Enclosing class:
SearchRequest

public static final class SearchRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder> implements SearchRequestOrBuilder
Protobuf type org.opensearch.protobufs.SearchRequest
  • Method Details

    • 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.Builder<SearchRequest.Builder>
    • clear

      public SearchRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public SearchRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • setField

      public SearchRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • clearField

      public SearchRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • clearOneof

      public SearchRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • setRepeatedField

      public SearchRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • addRepeatedField

      public SearchRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • mergeFrom

      public SearchRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchRequest.Builder>
    • mergeFrom

      public SearchRequest.Builder mergeFrom(SearchRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • mergeFrom

      public SearchRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchRequest.Builder>
      Throws:
      IOException
    • 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.
    • setIndex

      public SearchRequest.Builder setIndex(int index, String value)
      repeated string index = 1 [json_name = "index"];
      Parameters:
      index - The index to set the value at.
      value - The index to set.
      Returns:
      This builder for chaining.
    • addIndex

      public SearchRequest.Builder addIndex(String value)
      repeated string index = 1 [json_name = "index"];
      Parameters:
      value - The index to add.
      Returns:
      This builder for chaining.
    • addAllIndex

      public SearchRequest.Builder addAllIndex(Iterable<String> values)
      repeated string index = 1 [json_name = "index"];
      Parameters:
      values - The index to add.
      Returns:
      This builder for chaining.
    • clearIndex

      public SearchRequest.Builder clearIndex()
      repeated string index = 1 [json_name = "index"];
      Returns:
      This builder for chaining.
    • addIndexBytes

      public SearchRequest.Builder addIndexBytes(com.google.protobuf.ByteString value)
      repeated string index = 1 [json_name = "index"];
      Parameters:
      value - The bytes of the index to add.
      Returns:
      This builder for chaining.
    • 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.
    • setXSource

      public SearchRequest.Builder setXSource(SourceConfigParam value)
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • setXSource

      public SearchRequest.Builder setXSource(SourceConfigParam.Builder builderForValue)
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • mergeXSource

      public SearchRequest.Builder mergeXSource(SourceConfigParam value)
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • clearXSource

      public SearchRequest.Builder clearXSource()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];
    • getXSourceBuilder

      public SourceConfigParam.Builder getXSourceBuilder()
      optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "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.
    • setXSourceExcludes

      public SearchRequest.Builder setXSourceExcludes(int index, String value)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      index - The index to set the value at.
      value - The xSourceExcludes to set.
      Returns:
      This builder for chaining.
    • addXSourceExcludes

      public SearchRequest.Builder addXSourceExcludes(String value)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      value - The xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • addAllXSourceExcludes

      public SearchRequest.Builder addAllXSourceExcludes(Iterable<String> values)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      values - The xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • clearXSourceExcludes

      public SearchRequest.Builder clearXSourceExcludes()
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Returns:
      This builder for chaining.
    • addXSourceExcludesBytes

      public SearchRequest.Builder addXSourceExcludesBytes(com.google.protobuf.ByteString value)
      repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];
      Parameters:
      value - The bytes of the xSourceExcludes to add.
      Returns:
      This builder for chaining.
    • 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.
    • setXSourceIncludes

      public SearchRequest.Builder setXSourceIncludes(int index, String value)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      index - The index to set the value at.
      value - The xSourceIncludes to set.
      Returns:
      This builder for chaining.
    • addXSourceIncludes

      public SearchRequest.Builder addXSourceIncludes(String value)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      value - The xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • addAllXSourceIncludes

      public SearchRequest.Builder addAllXSourceIncludes(Iterable<String> values)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      values - The xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • clearXSourceIncludes

      public SearchRequest.Builder clearXSourceIncludes()
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Returns:
      This builder for chaining.
    • addXSourceIncludesBytes

      public SearchRequest.Builder addXSourceIncludesBytes(com.google.protobuf.ByteString value)
      repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];
      Parameters:
      value - The bytes of the xSourceIncludes to add.
      Returns:
      This builder for chaining.
    • 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.
    • setAllowNoIndices

      public SearchRequest.Builder setAllowNoIndices(boolean value)
      optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];
      Parameters:
      value - The allowNoIndices to set.
      Returns:
      This builder for chaining.
    • clearAllowNoIndices

      public SearchRequest.Builder clearAllowNoIndices()
      optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];
      Returns:
      This builder for chaining.
    • 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.
    • setAllowPartialSearchResults

      public SearchRequest.Builder setAllowPartialSearchResults(boolean value)
      optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];
      Parameters:
      value - The allowPartialSearchResults to set.
      Returns:
      This builder for chaining.
    • clearAllowPartialSearchResults

      public SearchRequest.Builder clearAllowPartialSearchResults()
      optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];
      Returns:
      This builder for chaining.
    • 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.
    • setAnalyzeWildcard

      public SearchRequest.Builder setAnalyzeWildcard(boolean value)
      optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];
      Parameters:
      value - The analyzeWildcard to set.
      Returns:
      This builder for chaining.
    • clearAnalyzeWildcard

      public SearchRequest.Builder clearAnalyzeWildcard()
      optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];
      Returns:
      This builder for chaining.
    • 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.
    • setBatchedReduceSize

      public SearchRequest.Builder setBatchedReduceSize(int value)
      optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];
      Parameters:
      value - The batchedReduceSize to set.
      Returns:
      This builder for chaining.
    • clearBatchedReduceSize

      public SearchRequest.Builder clearBatchedReduceSize()
      optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];
      Returns:
      This builder for chaining.
    • 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.
    • setCancelAfterTimeInterval

      public SearchRequest.Builder setCancelAfterTimeInterval(String value)
      optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];
      Parameters:
      value - The cancelAfterTimeInterval to set.
      Returns:
      This builder for chaining.
    • clearCancelAfterTimeInterval

      public SearchRequest.Builder clearCancelAfterTimeInterval()
      optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];
      Returns:
      This builder for chaining.
    • setCancelAfterTimeIntervalBytes

      public SearchRequest.Builder setCancelAfterTimeIntervalBytes(com.google.protobuf.ByteString value)
      optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];
      Parameters:
      value - The bytes for cancelAfterTimeInterval to set.
      Returns:
      This builder for chaining.
    • 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.
    • setCcsMinimizeRoundtrips

      public SearchRequest.Builder setCcsMinimizeRoundtrips(boolean value)
      optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];
      Parameters:
      value - The ccsMinimizeRoundtrips to set.
      Returns:
      This builder for chaining.
    • clearCcsMinimizeRoundtrips

      public SearchRequest.Builder clearCcsMinimizeRoundtrips()
      optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];
      Returns:
      This builder for chaining.
    • 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.
    • setDefaultOperatorValue

      public SearchRequest.Builder setDefaultOperatorValue(int value)
      optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];
      Parameters:
      value - The enum numeric value on the wire for defaultOperator to set.
      Returns:
      This builder for chaining.
    • getDefaultOperator

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

      public SearchRequest.Builder setDefaultOperator(Operator value)
      optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];
      Parameters:
      value - The defaultOperator to set.
      Returns:
      This builder for chaining.
    • clearDefaultOperator

      public SearchRequest.Builder clearDefaultOperator()
      optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];
      Returns:
      This builder for chaining.
    • 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.
    • setDf

      public SearchRequest.Builder setDf(String value)
      optional string df = 12 [json_name = "df"];
      Parameters:
      value - The df to set.
      Returns:
      This builder for chaining.
    • clearDf

      public SearchRequest.Builder clearDf()
      optional string df = 12 [json_name = "df"];
      Returns:
      This builder for chaining.
    • setDfBytes

      public SearchRequest.Builder setDfBytes(com.google.protobuf.ByteString value)
      optional string df = 12 [json_name = "df"];
      Parameters:
      value - The bytes for df to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDocvalueFields

      public SearchRequest.Builder setDocvalueFields(int index, String value)
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Parameters:
      index - The index to set the value at.
      value - The docvalueFields to set.
      Returns:
      This builder for chaining.
    • addDocvalueFields

      public SearchRequest.Builder addDocvalueFields(String value)
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Parameters:
      value - The docvalueFields to add.
      Returns:
      This builder for chaining.
    • addAllDocvalueFields

      public SearchRequest.Builder addAllDocvalueFields(Iterable<String> values)
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Parameters:
      values - The docvalueFields to add.
      Returns:
      This builder for chaining.
    • clearDocvalueFields

      public SearchRequest.Builder clearDocvalueFields()
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Returns:
      This builder for chaining.
    • addDocvalueFieldsBytes

      public SearchRequest.Builder addDocvalueFieldsBytes(com.google.protobuf.ByteString value)
      repeated string docvalue_fields = 13 [json_name = "docvalueFields"];
      Parameters:
      value - The bytes of the docvalueFields to add.
      Returns:
      This builder for chaining.
    • 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.
    • setExpandWildcards

      public SearchRequest.Builder setExpandWildcards(int index, ExpandWildcard value)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Parameters:
      index - The index to set the value at.
      value - The expandWildcards to set.
      Returns:
      This builder for chaining.
    • addExpandWildcards

      public SearchRequest.Builder addExpandWildcards(ExpandWildcard value)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Parameters:
      value - The expandWildcards to add.
      Returns:
      This builder for chaining.
    • addAllExpandWildcards

      public SearchRequest.Builder addAllExpandWildcards(Iterable<? extends ExpandWildcard> values)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Parameters:
      values - The expandWildcards to add.
      Returns:
      This builder for chaining.
    • clearExpandWildcards

      public SearchRequest.Builder clearExpandWildcards()
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Returns:
      This builder for chaining.
    • 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.
    • setExpandWildcardsValue

      public SearchRequest.Builder setExpandWildcardsValue(int index, int value)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for expandWildcards to set.
      Returns:
      This builder for chaining.
    • addExpandWildcardsValue

      public SearchRequest.Builder addExpandWildcardsValue(int value)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Parameters:
      value - The enum numeric value on the wire for expandWildcards to add.
      Returns:
      This builder for chaining.
    • addAllExpandWildcardsValue

      public SearchRequest.Builder addAllExpandWildcardsValue(Iterable<Integer> values)
      repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];
      Parameters:
      values - The enum numeric values on the wire for expandWildcards to add.
      Returns:
      This builder for chaining.
    • 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.
    • setIgnoreThrottled

      public SearchRequest.Builder setIgnoreThrottled(boolean value)
      optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];
      Parameters:
      value - The ignoreThrottled to set.
      Returns:
      This builder for chaining.
    • clearIgnoreThrottled

      public SearchRequest.Builder clearIgnoreThrottled()
      optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];
      Returns:
      This builder for chaining.
    • 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.
    • setIgnoreUnavailable

      public SearchRequest.Builder setIgnoreUnavailable(boolean value)
      optional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];
      Parameters:
      value - The ignoreUnavailable to set.
      Returns:
      This builder for chaining.
    • clearIgnoreUnavailable

      public SearchRequest.Builder clearIgnoreUnavailable()
      optional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];
      Returns:
      This builder for chaining.
    • 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.
    • setMaxConcurrentShardRequests

      public SearchRequest.Builder setMaxConcurrentShardRequests(int value)
      optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];
      Parameters:
      value - The maxConcurrentShardRequests to set.
      Returns:
      This builder for chaining.
    • clearMaxConcurrentShardRequests

      public SearchRequest.Builder clearMaxConcurrentShardRequests()
      optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];
      Returns:
      This builder for chaining.
    • 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.
    • setPhaseTook

      public SearchRequest.Builder setPhaseTook(boolean value)
      optional bool phase_took = 18 [json_name = "phaseTook"];
      Parameters:
      value - The phaseTook to set.
      Returns:
      This builder for chaining.
    • clearPhaseTook

      public SearchRequest.Builder clearPhaseTook()
      optional bool phase_took = 18 [json_name = "phaseTook"];
      Returns:
      This builder for chaining.
    • 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.
    • setPreFilterShardSize

      public SearchRequest.Builder setPreFilterShardSize(int value)
      optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];
      Parameters:
      value - The preFilterShardSize to set.
      Returns:
      This builder for chaining.
    • clearPreFilterShardSize

      public SearchRequest.Builder clearPreFilterShardSize()
      optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];
      Returns:
      This builder for chaining.
    • 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.
    • setPreference

      public SearchRequest.Builder setPreference(String value)
      optional string preference = 20 [json_name = "preference"];
      Parameters:
      value - The preference to set.
      Returns:
      This builder for chaining.
    • clearPreference

      public SearchRequest.Builder clearPreference()
      optional string preference = 20 [json_name = "preference"];
      Returns:
      This builder for chaining.
    • setPreferenceBytes

      public SearchRequest.Builder setPreferenceBytes(com.google.protobuf.ByteString value)
      optional string preference = 20 [json_name = "preference"];
      Parameters:
      value - The bytes for preference to set.
      Returns:
      This builder for chaining.
    • 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.
    • setQ

      public SearchRequest.Builder setQ(String value)
      optional string q = 21 [json_name = "q"];
      Parameters:
      value - The q to set.
      Returns:
      This builder for chaining.
    • clearQ

      public SearchRequest.Builder clearQ()
      optional string q = 21 [json_name = "q"];
      Returns:
      This builder for chaining.
    • setQBytes

      public SearchRequest.Builder setQBytes(com.google.protobuf.ByteString value)
      optional string q = 21 [json_name = "q"];
      Parameters:
      value - The bytes for q to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRequestCache

      public SearchRequest.Builder setRequestCache(boolean value)
      optional bool request_cache = 22 [json_name = "requestCache"];
      Parameters:
      value - The requestCache to set.
      Returns:
      This builder for chaining.
    • clearRequestCache

      public SearchRequest.Builder clearRequestCache()
      optional bool request_cache = 22 [json_name = "requestCache"];
      Returns:
      This builder for chaining.
    • 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.
    • setTotalHitsAsInt

      public SearchRequest.Builder setTotalHitsAsInt(boolean value)
      optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];
      Parameters:
      value - The totalHitsAsInt to set.
      Returns:
      This builder for chaining.
    • clearTotalHitsAsInt

      public SearchRequest.Builder clearTotalHitsAsInt()
      optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];
      Returns:
      This builder for chaining.
    • 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.
    • setRouting

      public SearchRequest.Builder setRouting(int index, String value)
      repeated string routing = 24 [json_name = "routing"];
      Parameters:
      index - The index to set the value at.
      value - The routing to set.
      Returns:
      This builder for chaining.
    • addRouting

      public SearchRequest.Builder addRouting(String value)
      repeated string routing = 24 [json_name = "routing"];
      Parameters:
      value - The routing to add.
      Returns:
      This builder for chaining.
    • addAllRouting

      public SearchRequest.Builder addAllRouting(Iterable<String> values)
      repeated string routing = 24 [json_name = "routing"];
      Parameters:
      values - The routing to add.
      Returns:
      This builder for chaining.
    • clearRouting

      public SearchRequest.Builder clearRouting()
      repeated string routing = 24 [json_name = "routing"];
      Returns:
      This builder for chaining.
    • addRoutingBytes

      public SearchRequest.Builder addRoutingBytes(com.google.protobuf.ByteString value)
      repeated string routing = 24 [json_name = "routing"];
      Parameters:
      value - The bytes of the routing to add.
      Returns:
      This builder for chaining.
    • 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.
    • setScroll

      public SearchRequest.Builder setScroll(String value)
      optional string scroll = 25 [json_name = "scroll"];
      Parameters:
      value - The scroll to set.
      Returns:
      This builder for chaining.
    • clearScroll

      public SearchRequest.Builder clearScroll()
      optional string scroll = 25 [json_name = "scroll"];
      Returns:
      This builder for chaining.
    • setScrollBytes

      public SearchRequest.Builder setScrollBytes(com.google.protobuf.ByteString value)
      optional string scroll = 25 [json_name = "scroll"];
      Parameters:
      value - The bytes for scroll to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSearchTypeValue

      public SearchRequest.Builder setSearchTypeValue(int value)
      optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];
      Parameters:
      value - The enum numeric value on the wire for searchType to set.
      Returns:
      This builder for chaining.
    • getSearchType

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

      public SearchRequest.Builder setSearchType(SearchType value)
      optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];
      Parameters:
      value - The searchType to set.
      Returns:
      This builder for chaining.
    • clearSearchType

      public SearchRequest.Builder clearSearchType()
      optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];
      Returns:
      This builder for chaining.
    • 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.
    • setSuggestField

      public SearchRequest.Builder setSuggestField(String value)
      optional string suggest_field = 27 [json_name = "suggestField"];
      Parameters:
      value - The suggestField to set.
      Returns:
      This builder for chaining.
    • clearSuggestField

      public SearchRequest.Builder clearSuggestField()
      optional string suggest_field = 27 [json_name = "suggestField"];
      Returns:
      This builder for chaining.
    • setSuggestFieldBytes

      public SearchRequest.Builder setSuggestFieldBytes(com.google.protobuf.ByteString value)
      optional string suggest_field = 27 [json_name = "suggestField"];
      Parameters:
      value - The bytes for suggestField to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSuggestModeValue

      public SearchRequest.Builder setSuggestModeValue(int value)
      optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];
      Parameters:
      value - The enum numeric value on the wire for suggestMode to set.
      Returns:
      This builder for chaining.
    • getSuggestMode

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

      public SearchRequest.Builder setSuggestMode(SuggestMode value)
      optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];
      Parameters:
      value - The suggestMode to set.
      Returns:
      This builder for chaining.
    • clearSuggestMode

      public SearchRequest.Builder clearSuggestMode()
      optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];
      Returns:
      This builder for chaining.
    • 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.
    • setSuggestSize

      public SearchRequest.Builder setSuggestSize(int value)
      optional int32 suggest_size = 29 [json_name = "suggestSize"];
      Parameters:
      value - The suggestSize to set.
      Returns:
      This builder for chaining.
    • clearSuggestSize

      public SearchRequest.Builder clearSuggestSize()
      optional int32 suggest_size = 29 [json_name = "suggestSize"];
      Returns:
      This builder for chaining.
    • 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.
    • setSuggestText

      public SearchRequest.Builder setSuggestText(String value)
      optional string suggest_text = 30 [json_name = "suggestText"];
      Parameters:
      value - The suggestText to set.
      Returns:
      This builder for chaining.
    • clearSuggestText

      public SearchRequest.Builder clearSuggestText()
      optional string suggest_text = 30 [json_name = "suggestText"];
      Returns:
      This builder for chaining.
    • setSuggestTextBytes

      public SearchRequest.Builder setSuggestTextBytes(com.google.protobuf.ByteString value)
      optional string suggest_text = 30 [json_name = "suggestText"];
      Parameters:
      value - The bytes for suggestText to set.
      Returns:
      This builder for chaining.
    • 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.
    • setTypedKeys

      public SearchRequest.Builder setTypedKeys(boolean value)
      optional bool typed_keys = 31 [json_name = "typedKeys"];
      Parameters:
      value - The typedKeys to set.
      Returns:
      This builder for chaining.
    • clearTypedKeys

      public SearchRequest.Builder clearTypedKeys()
      optional bool typed_keys = 31 [json_name = "typedKeys"];
      Returns:
      This builder for chaining.
    • 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.
    • setSearchRequestBody

      public SearchRequest.Builder setSearchRequestBody(SearchRequestBody value)
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];
    • setSearchRequestBody

      public SearchRequest.Builder setSearchRequestBody(SearchRequestBody.Builder builderForValue)
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];
    • mergeSearchRequestBody

      public SearchRequest.Builder mergeSearchRequestBody(SearchRequestBody value)
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];
    • clearSearchRequestBody

      public SearchRequest.Builder clearSearchRequestBody()
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];
    • getSearchRequestBodyBuilder

      public SearchRequestBody.Builder getSearchRequestBodyBuilder()
      optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "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.
    • setGlobalParams

      public SearchRequest.Builder setGlobalParams(GlobalParams value)
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
    • setGlobalParams

      public SearchRequest.Builder setGlobalParams(GlobalParams.Builder builderForValue)
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
    • mergeGlobalParams

      public SearchRequest.Builder mergeGlobalParams(GlobalParams value)
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
    • clearGlobalParams

      public SearchRequest.Builder clearGlobalParams()
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
    • getGlobalParamsBuilder

      public GlobalParams.Builder getGlobalParamsBuilder()
      optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];
    • getGlobalParamsOrBuilder

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

      public final SearchRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
    • mergeUnknownFields

      public final SearchRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>