Package org.opensearch.protobufs
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 Summary
Modifier and TypeMethodDescriptionaddAllDocvalueFields(Iterable<String> values) repeated string docvalue_fields = 13 [json_name = "docvalueFields"];addAllExpandWildcards(Iterable<? extends ExpandWildcard> values) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];addAllExpandWildcardsValue(Iterable<Integer> values) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];addAllIndex(Iterable<String> values) repeated string index = 1 [json_name = "index"];addAllRouting(Iterable<String> values) repeated string routing = 24 [json_name = "routing"];addAllXSourceExcludes(Iterable<String> values) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];addAllXSourceIncludes(Iterable<String> values) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];addDocvalueFields(String value) repeated string docvalue_fields = 13 [json_name = "docvalueFields"];addDocvalueFieldsBytes(com.google.protobuf.ByteString value) repeated string docvalue_fields = 13 [json_name = "docvalueFields"];addExpandWildcards(ExpandWildcard value) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];addExpandWildcardsValue(int value) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];repeated string index = 1 [json_name = "index"];addIndexBytes(com.google.protobuf.ByteString value) repeated string index = 1 [json_name = "index"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRouting(String value) repeated string routing = 24 [json_name = "routing"];addRoutingBytes(com.google.protobuf.ByteString value) repeated string routing = 24 [json_name = "routing"];addXSourceExcludes(String value) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];addXSourceExcludesBytes(com.google.protobuf.ByteString value) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];addXSourceIncludes(String value) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];addXSourceIncludesBytes(com.google.protobuf.ByteString value) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];build()clear()optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];clearDf()optional string df = 12 [json_name = "df"];repeated string docvalue_fields = 13 [json_name = "docvalueFields"];repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];optional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];repeated string index = 1 [json_name = "index"];optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional bool phase_took = 18 [json_name = "phaseTook"];optional string preference = 20 [json_name = "preference"];optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];clearQ()optional string q = 21 [json_name = "q"];optional bool request_cache = 22 [json_name = "requestCache"];repeated string routing = 24 [json_name = "routing"];optional string scroll = 25 [json_name = "scroll"];optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];optional string suggest_field = 27 [json_name = "suggestField"];optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];optional int32 suggest_size = 29 [json_name = "suggestSize"];optional string suggest_text = 30 [json_name = "suggestText"];optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];optional bool typed_keys = 31 [json_name = "typedKeys"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];clone()booleanoptional bool allow_no_indices = 5 [json_name = "allowNoIndices"];booleanoptional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];booleanoptional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];intoptional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];com.google.protobuf.ByteStringoptional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];booleanoptional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];intoptional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDf()optional string df = 12 [json_name = "df"];com.google.protobuf.ByteStringoptional string df = 12 [json_name = "df"];getDocvalueFields(int index) repeated string docvalue_fields = 13 [json_name = "docvalueFields"];com.google.protobuf.ByteStringgetDocvalueFieldsBytes(int index) repeated string docvalue_fields = 13 [json_name = "docvalueFields"];intrepeated string docvalue_fields = 13 [json_name = "docvalueFields"];com.google.protobuf.ProtocolStringListrepeated string docvalue_fields = 13 [json_name = "docvalueFields"];getExpandWildcards(int index) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];intrepeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];intgetExpandWildcardsValue(int index) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];booleanoptional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];booleanoptional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];getIndex(int index) repeated string index = 1 [json_name = "index"];com.google.protobuf.ByteStringgetIndexBytes(int index) repeated string index = 1 [json_name = "index"];intrepeated string index = 1 [json_name = "index"];com.google.protobuf.ProtocolStringListrepeated string index = 1 [json_name = "index"];intoptional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];booleanoptional bool phase_took = 18 [json_name = "phaseTook"];optional string preference = 20 [json_name = "preference"];com.google.protobuf.ByteStringoptional string preference = 20 [json_name = "preference"];intoptional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];getQ()optional string q = 21 [json_name = "q"];com.google.protobuf.ByteStringoptional string q = 21 [json_name = "q"];booleanoptional bool request_cache = 22 [json_name = "requestCache"];getRouting(int index) repeated string routing = 24 [json_name = "routing"];com.google.protobuf.ByteStringgetRoutingBytes(int index) repeated string routing = 24 [json_name = "routing"];intrepeated string routing = 24 [json_name = "routing"];com.google.protobuf.ProtocolStringListrepeated string routing = 24 [json_name = "routing"];optional string scroll = 25 [json_name = "scroll"];com.google.protobuf.ByteStringoptional string scroll = 25 [json_name = "scroll"];optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];intoptional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];optional string suggest_field = 27 [json_name = "suggestField"];com.google.protobuf.ByteStringoptional string suggest_field = 27 [json_name = "suggestField"];optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];intoptional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];intoptional int32 suggest_size = 29 [json_name = "suggestSize"];optional string suggest_text = 30 [json_name = "suggestText"];com.google.protobuf.ByteStringoptional string suggest_text = 30 [json_name = "suggestText"];booleanoptional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];booleanoptional bool typed_keys = 31 [json_name = "typedKeys"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];getXSourceExcludes(int index) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];com.google.protobuf.ByteStringgetXSourceExcludesBytes(int index) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];intrepeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];getXSourceIncludes(int index) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];com.google.protobuf.ByteStringgetXSourceIncludesBytes(int index) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];intrepeated string x_source_includes = 4 [json_name = "xSourceIncludes"];com.google.protobuf.ProtocolStringListrepeated string x_source_includes = 4 [json_name = "xSourceIncludes"];optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];booleanoptional bool allow_no_indices = 5 [json_name = "allowNoIndices"];booleanoptional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];booleanoptional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];booleanoptional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];booleanoptional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];booleanoptional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];booleanoptional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];booleanhasDf()optional string df = 12 [json_name = "df"];booleanoptional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];booleanoptional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];booleanoptional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];booleanoptional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];booleanoptional bool phase_took = 18 [json_name = "phaseTook"];booleanoptional string preference = 20 [json_name = "preference"];booleanoptional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];booleanhasQ()optional string q = 21 [json_name = "q"];booleanoptional bool request_cache = 22 [json_name = "requestCache"];booleanoptional string scroll = 25 [json_name = "scroll"];booleanoptional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];booleanoptional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];booleanoptional string suggest_field = 27 [json_name = "suggestField"];booleanoptional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];booleanoptional int32 suggest_size = 29 [json_name = "suggestSize"];booleanoptional string suggest_text = 30 [json_name = "suggestText"];booleanoptional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];booleanoptional bool typed_keys = 31 [json_name = "typedKeys"];booleanoptional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SearchRequest other) mergeGlobalParams(GlobalParams value) optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];final SearchRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeXSource(SourceConfigParam value) optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];setAllowNoIndices(boolean value) optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];setAllowPartialSearchResults(boolean value) optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];setAnalyzeWildcard(boolean value) optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];setBatchedReduceSize(int value) optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];setCancelAfterTimeInterval(String value) optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];setCancelAfterTimeIntervalBytes(com.google.protobuf.ByteString value) optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];setCcsMinimizeRoundtrips(boolean value) optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];setDefaultOperator(Operator value) optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];setDefaultOperatorValue(int value) optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];optional string df = 12 [json_name = "df"];setDfBytes(com.google.protobuf.ByteString value) optional string df = 12 [json_name = "df"];setDocvalueFields(int index, String value) repeated string docvalue_fields = 13 [json_name = "docvalueFields"];setExpandWildcards(int index, ExpandWildcard value) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];setExpandWildcardsValue(int index, int value) repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];setGlobalParams(GlobalParams value) optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];setGlobalParams(GlobalParams.Builder builderForValue) optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];setIgnoreThrottled(boolean value) optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];setIgnoreUnavailable(boolean value) optional bool ignore_unavailable = 16 [json_name = "ignoreUnavailable"];repeated string index = 1 [json_name = "index"];setMaxConcurrentShardRequests(int value) optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];setPhaseTook(boolean value) optional bool phase_took = 18 [json_name = "phaseTook"];setPreference(String value) optional string preference = 20 [json_name = "preference"];setPreferenceBytes(com.google.protobuf.ByteString value) optional string preference = 20 [json_name = "preference"];setPreFilterShardSize(int value) optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];optional string q = 21 [json_name = "q"];setQBytes(com.google.protobuf.ByteString value) optional string q = 21 [json_name = "q"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestCache(boolean value) optional bool request_cache = 22 [json_name = "requestCache"];setRouting(int index, String value) repeated string routing = 24 [json_name = "routing"];optional string scroll = 25 [json_name = "scroll"];setScrollBytes(com.google.protobuf.ByteString value) optional string scroll = 25 [json_name = "scroll"];optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];setSearchRequestBody(SearchRequestBody.Builder builderForValue) optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];setSearchType(SearchType value) optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];setSearchTypeValue(int value) optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];setSuggestField(String value) optional string suggest_field = 27 [json_name = "suggestField"];setSuggestFieldBytes(com.google.protobuf.ByteString value) optional string suggest_field = 27 [json_name = "suggestField"];setSuggestMode(SuggestMode value) optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];setSuggestModeValue(int value) optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];setSuggestSize(int value) optional int32 suggest_size = 29 [json_name = "suggestSize"];setSuggestText(String value) optional string suggest_text = 30 [json_name = "suggestText"];setSuggestTextBytes(com.google.protobuf.ByteString value) optional string suggest_text = 30 [json_name = "suggestText"];setTotalHitsAsInt(boolean value) optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];setTypedKeys(boolean value) optional bool typed_keys = 31 [json_name = "typedKeys"];final SearchRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setXSource(SourceConfigParam value) optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];setXSource(SourceConfigParam.Builder builderForValue) optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];setXSourceExcludes(int index, String value) repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];setXSourceIncludes(int index, String value) repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
setField
public SearchRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
setRepeatedField
public SearchRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
addRepeatedField
public SearchRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchRequest.Builder>- Throws:
IOException
-
getIndexList
public com.google.protobuf.ProtocolStringList getIndexList()repeated string index = 1 [json_name = "index"];- Specified by:
getIndexListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the index.
-
getIndexCount
public int getIndexCount()repeated string index = 1 [json_name = "index"];- Specified by:
getIndexCountin interfaceSearchRequestOrBuilder- Returns:
- The count of index.
-
getIndex
repeated string index = 1 [json_name = "index"];- Specified by:
getIndexin interfaceSearchRequestOrBuilder- 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:
getIndexBytesin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the index at the given index.
-
setIndex
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
repeated string index = 1 [json_name = "index"];- Parameters:
value- The index to add.- Returns:
- This builder for chaining.
-
addAllIndex
repeated string index = 1 [json_name = "index"];- Parameters:
values- The index to add.- Returns:
- This builder for chaining.
-
clearIndex
repeated string index = 1 [json_name = "index"];- Returns:
- This builder for chaining.
-
addIndexBytes
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:
hasXSourcein interfaceSearchRequestOrBuilder- Returns:
- Whether the xSource field is set.
-
getXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];- Specified by:
getXSourcein interfaceSearchRequestOrBuilder- Returns:
- The xSource.
-
setXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
setXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
mergeXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
clearXSource
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
getXSourceBuilder
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"]; -
getXSourceOrBuilder
optional .org.opensearch.protobufs.SourceConfigParam x_source = 2 [json_name = "xSource"];- Specified by:
getXSourceOrBuilderin interfaceSearchRequestOrBuilder
-
getXSourceExcludesList
public com.google.protobuf.ProtocolStringList getXSourceExcludesList()repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the xSourceExcludes.
-
getXSourceExcludesCount
public int getXSourceExcludesCount()repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesCountin interfaceSearchRequestOrBuilder- Returns:
- The count of xSourceExcludes.
-
getXSourceExcludes
repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Specified by:
getXSourceExcludesin interfaceSearchRequestOrBuilder- 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:
getXSourceExcludesBytesin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceExcludes at the given index.
-
setXSourceExcludes
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
repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Parameters:
value- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceExcludes
repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Parameters:
values- The xSourceExcludes to add.- Returns:
- This builder for chaining.
-
clearXSourceExcludes
repeated string x_source_excludes = 3 [json_name = "xSourceExcludes"];- Returns:
- This builder for chaining.
-
addXSourceExcludesBytes
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:
getXSourceIncludesListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the xSourceIncludes.
-
getXSourceIncludesCount
public int getXSourceIncludesCount()repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesCountin interfaceSearchRequestOrBuilder- Returns:
- The count of xSourceIncludes.
-
getXSourceIncludes
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Specified by:
getXSourceIncludesin interfaceSearchRequestOrBuilder- 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:
getXSourceIncludesBytesin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the xSourceIncludes at the given index.
-
setXSourceIncludes
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
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Parameters:
value- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
addAllXSourceIncludes
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Parameters:
values- The xSourceIncludes to add.- Returns:
- This builder for chaining.
-
clearXSourceIncludes
repeated string x_source_includes = 4 [json_name = "xSourceIncludes"];- Returns:
- This builder for chaining.
-
addXSourceIncludesBytes
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:
hasAllowNoIndicesin interfaceSearchRequestOrBuilder- Returns:
- Whether the allowNoIndices field is set.
-
getAllowNoIndices
public boolean getAllowNoIndices()optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];- Specified by:
getAllowNoIndicesin interfaceSearchRequestOrBuilder- Returns:
- The allowNoIndices.
-
setAllowNoIndices
optional bool allow_no_indices = 5 [json_name = "allowNoIndices"];- Parameters:
value- The allowNoIndices to set.- Returns:
- This builder for chaining.
-
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:
hasAllowPartialSearchResultsin interfaceSearchRequestOrBuilder- Returns:
- Whether the allowPartialSearchResults field is set.
-
getAllowPartialSearchResults
public boolean getAllowPartialSearchResults()optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];- Specified by:
getAllowPartialSearchResultsin interfaceSearchRequestOrBuilder- Returns:
- The allowPartialSearchResults.
-
setAllowPartialSearchResults
optional bool allow_partial_search_results = 6 [json_name = "allowPartialSearchResults"];- Parameters:
value- The allowPartialSearchResults to set.- Returns:
- This builder for chaining.
-
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:
hasAnalyzeWildcardin interfaceSearchRequestOrBuilder- Returns:
- Whether the analyzeWildcard field is set.
-
getAnalyzeWildcard
public boolean getAnalyzeWildcard()optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];- Specified by:
getAnalyzeWildcardin interfaceSearchRequestOrBuilder- Returns:
- The analyzeWildcard.
-
setAnalyzeWildcard
optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];- Parameters:
value- The analyzeWildcard to set.- Returns:
- This builder for chaining.
-
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:
hasBatchedReduceSizein interfaceSearchRequestOrBuilder- Returns:
- Whether the batchedReduceSize field is set.
-
getBatchedReduceSize
public int getBatchedReduceSize()optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];- Specified by:
getBatchedReduceSizein interfaceSearchRequestOrBuilder- Returns:
- The batchedReduceSize.
-
setBatchedReduceSize
optional int32 batched_reduce_size = 8 [json_name = "batchedReduceSize"];- Parameters:
value- The batchedReduceSize to set.- Returns:
- This builder for chaining.
-
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:
hasCancelAfterTimeIntervalin interfaceSearchRequestOrBuilder- Returns:
- Whether the cancelAfterTimeInterval field is set.
-
getCancelAfterTimeInterval
optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];- Specified by:
getCancelAfterTimeIntervalin interfaceSearchRequestOrBuilder- Returns:
- The cancelAfterTimeInterval.
-
getCancelAfterTimeIntervalBytes
public com.google.protobuf.ByteString getCancelAfterTimeIntervalBytes()optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];- Specified by:
getCancelAfterTimeIntervalBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for cancelAfterTimeInterval.
-
setCancelAfterTimeInterval
optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];- Parameters:
value- The cancelAfterTimeInterval to set.- Returns:
- This builder for chaining.
-
clearCancelAfterTimeInterval
optional string cancel_after_time_interval = 9 [json_name = "cancelAfterTimeInterval"];- Returns:
- This builder for chaining.
-
setCancelAfterTimeIntervalBytes
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:
hasCcsMinimizeRoundtripsin interfaceSearchRequestOrBuilder- Returns:
- Whether the ccsMinimizeRoundtrips field is set.
-
getCcsMinimizeRoundtrips
public boolean getCcsMinimizeRoundtrips()optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];- Specified by:
getCcsMinimizeRoundtripsin interfaceSearchRequestOrBuilder- Returns:
- The ccsMinimizeRoundtrips.
-
setCcsMinimizeRoundtrips
optional bool ccs_minimize_roundtrips = 10 [json_name = "ccsMinimizeRoundtrips"];- Parameters:
value- The ccsMinimizeRoundtrips to set.- Returns:
- This builder for chaining.
-
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:
hasDefaultOperatorin interfaceSearchRequestOrBuilder- Returns:
- Whether the defaultOperator field is set.
-
getDefaultOperatorValue
public int getDefaultOperatorValue()optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];- Specified by:
getDefaultOperatorValuein interfaceSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for defaultOperator.
-
setDefaultOperatorValue
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
optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];- Specified by:
getDefaultOperatorin interfaceSearchRequestOrBuilder- Returns:
- The defaultOperator.
-
setDefaultOperator
optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];- Parameters:
value- The defaultOperator to set.- Returns:
- This builder for chaining.
-
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:
hasDfin interfaceSearchRequestOrBuilder- Returns:
- Whether the df field is set.
-
getDf
optional string df = 12 [json_name = "df"];- Specified by:
getDfin interfaceSearchRequestOrBuilder- Returns:
- The df.
-
getDfBytes
public com.google.protobuf.ByteString getDfBytes()optional string df = 12 [json_name = "df"];- Specified by:
getDfBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for df.
-
setDf
optional string df = 12 [json_name = "df"];- Parameters:
value- The df to set.- Returns:
- This builder for chaining.
-
clearDf
optional string df = 12 [json_name = "df"];- Returns:
- This builder for chaining.
-
setDfBytes
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:
getDocvalueFieldsListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the docvalueFields.
-
getDocvalueFieldsCount
public int getDocvalueFieldsCount()repeated string docvalue_fields = 13 [json_name = "docvalueFields"];- Specified by:
getDocvalueFieldsCountin interfaceSearchRequestOrBuilder- Returns:
- The count of docvalueFields.
-
getDocvalueFields
repeated string docvalue_fields = 13 [json_name = "docvalueFields"];- Specified by:
getDocvalueFieldsin interfaceSearchRequestOrBuilder- 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:
getDocvalueFieldsBytesin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the docvalueFields at the given index.
-
setDocvalueFields
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
repeated string docvalue_fields = 13 [json_name = "docvalueFields"];- Parameters:
value- The docvalueFields to add.- Returns:
- This builder for chaining.
-
addAllDocvalueFields
repeated string docvalue_fields = 13 [json_name = "docvalueFields"];- Parameters:
values- The docvalueFields to add.- Returns:
- This builder for chaining.
-
clearDocvalueFields
repeated string docvalue_fields = 13 [json_name = "docvalueFields"];- Returns:
- This builder for chaining.
-
addDocvalueFieldsBytes
repeated string docvalue_fields = 13 [json_name = "docvalueFields"];- Parameters:
value- The bytes of the docvalueFields to add.- Returns:
- This builder for chaining.
-
getExpandWildcardsList
repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];- Specified by:
getExpandWildcardsListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the expandWildcards.
-
getExpandWildcardsCount
public int getExpandWildcardsCount()repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];- Specified by:
getExpandWildcardsCountin interfaceSearchRequestOrBuilder- Returns:
- The count of expandWildcards.
-
getExpandWildcards
repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];- Specified by:
getExpandWildcardsin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The expandWildcards at the given index.
-
setExpandWildcards
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
repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];- Parameters:
value- The expandWildcards to add.- Returns:
- This builder for chaining.
-
addAllExpandWildcards
repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];- Parameters:
values- The expandWildcards to add.- Returns:
- This builder for chaining.
-
clearExpandWildcards
repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];- Returns:
- This builder for chaining.
-
getExpandWildcardsValueList
repeated .org.opensearch.protobufs.ExpandWildcard expand_wildcards = 14 [json_name = "expandWildcards"];- Specified by:
getExpandWildcardsValueListin interfaceSearchRequestOrBuilder- 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:
getExpandWildcardsValuein interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of expandWildcards at the given index.
-
setExpandWildcardsValue
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
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
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:
hasIgnoreThrottledin interfaceSearchRequestOrBuilder- Returns:
- Whether the ignoreThrottled field is set.
-
getIgnoreThrottled
public boolean getIgnoreThrottled()optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];- Specified by:
getIgnoreThrottledin interfaceSearchRequestOrBuilder- Returns:
- The ignoreThrottled.
-
setIgnoreThrottled
optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];- Parameters:
value- The ignoreThrottled to set.- Returns:
- This builder for chaining.
-
clearIgnoreThrottled
optional bool ignore_throttled = 15 [json_name = "ignoreThrottled"];- Returns:
- This builder for chaining.
-
hasMaxConcurrentShardRequests
public boolean hasMaxConcurrentShardRequests()optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];- Specified by:
hasMaxConcurrentShardRequestsin interfaceSearchRequestOrBuilder- Returns:
- Whether the maxConcurrentShardRequests field is set.
-
getMaxConcurrentShardRequests
public int getMaxConcurrentShardRequests()optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];- Specified by:
getMaxConcurrentShardRequestsin interfaceSearchRequestOrBuilder- Returns:
- The maxConcurrentShardRequests.
-
setMaxConcurrentShardRequests
optional int32 max_concurrent_shard_requests = 17 [json_name = "maxConcurrentShardRequests"];- Parameters:
value- The maxConcurrentShardRequests to set.- Returns:
- This builder for chaining.
-
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:
hasPhaseTookin interfaceSearchRequestOrBuilder- Returns:
- Whether the phaseTook field is set.
-
getPhaseTook
public boolean getPhaseTook()optional bool phase_took = 18 [json_name = "phaseTook"];- Specified by:
getPhaseTookin interfaceSearchRequestOrBuilder- Returns:
- The phaseTook.
-
setPhaseTook
optional bool phase_took = 18 [json_name = "phaseTook"];- Parameters:
value- The phaseTook to set.- Returns:
- This builder for chaining.
-
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:
hasPreFilterShardSizein interfaceSearchRequestOrBuilder- Returns:
- Whether the preFilterShardSize field is set.
-
getPreFilterShardSize
public int getPreFilterShardSize()optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];- Specified by:
getPreFilterShardSizein interfaceSearchRequestOrBuilder- Returns:
- The preFilterShardSize.
-
setPreFilterShardSize
optional int32 pre_filter_shard_size = 19 [json_name = "preFilterShardSize"];- Parameters:
value- The preFilterShardSize to set.- Returns:
- This builder for chaining.
-
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:
hasPreferencein interfaceSearchRequestOrBuilder- Returns:
- Whether the preference field is set.
-
getPreference
optional string preference = 20 [json_name = "preference"];- Specified by:
getPreferencein interfaceSearchRequestOrBuilder- Returns:
- The preference.
-
getPreferenceBytes
public com.google.protobuf.ByteString getPreferenceBytes()optional string preference = 20 [json_name = "preference"];- Specified by:
getPreferenceBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for preference.
-
setPreference
optional string preference = 20 [json_name = "preference"];- Parameters:
value- The preference to set.- Returns:
- This builder for chaining.
-
clearPreference
optional string preference = 20 [json_name = "preference"];- Returns:
- This builder for chaining.
-
setPreferenceBytes
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:
hasQin interfaceSearchRequestOrBuilder- Returns:
- Whether the q field is set.
-
getQ
optional string q = 21 [json_name = "q"];- Specified by:
getQin interfaceSearchRequestOrBuilder- Returns:
- The q.
-
getQBytes
public com.google.protobuf.ByteString getQBytes()optional string q = 21 [json_name = "q"];- Specified by:
getQBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for q.
-
setQ
optional string q = 21 [json_name = "q"];- Parameters:
value- The q to set.- Returns:
- This builder for chaining.
-
clearQ
optional string q = 21 [json_name = "q"];- Returns:
- This builder for chaining.
-
setQBytes
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:
hasRequestCachein interfaceSearchRequestOrBuilder- Returns:
- Whether the requestCache field is set.
-
getRequestCache
public boolean getRequestCache()optional bool request_cache = 22 [json_name = "requestCache"];- Specified by:
getRequestCachein interfaceSearchRequestOrBuilder- Returns:
- The requestCache.
-
setRequestCache
optional bool request_cache = 22 [json_name = "requestCache"];- Parameters:
value- The requestCache to set.- Returns:
- This builder for chaining.
-
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:
hasTotalHitsAsIntin interfaceSearchRequestOrBuilder- Returns:
- Whether the totalHitsAsInt field is set.
-
getTotalHitsAsInt
public boolean getTotalHitsAsInt()optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];- Specified by:
getTotalHitsAsIntin interfaceSearchRequestOrBuilder- Returns:
- The totalHitsAsInt.
-
setTotalHitsAsInt
optional bool total_hits_as_int = 23 [json_name = "totalHitsAsInt"];- Parameters:
value- The totalHitsAsInt to set.- Returns:
- This builder for chaining.
-
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:
getRoutingListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the routing.
-
getRoutingCount
public int getRoutingCount()repeated string routing = 24 [json_name = "routing"];- Specified by:
getRoutingCountin interfaceSearchRequestOrBuilder- Returns:
- The count of routing.
-
getRouting
repeated string routing = 24 [json_name = "routing"];- Specified by:
getRoutingin interfaceSearchRequestOrBuilder- 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:
getRoutingBytesin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the routing at the given index.
-
setRouting
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
repeated string routing = 24 [json_name = "routing"];- Parameters:
value- The routing to add.- Returns:
- This builder for chaining.
-
addAllRouting
repeated string routing = 24 [json_name = "routing"];- Parameters:
values- The routing to add.- Returns:
- This builder for chaining.
-
clearRouting
repeated string routing = 24 [json_name = "routing"];- Returns:
- This builder for chaining.
-
addRoutingBytes
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:
hasScrollin interfaceSearchRequestOrBuilder- Returns:
- Whether the scroll field is set.
-
getScroll
optional string scroll = 25 [json_name = "scroll"];- Specified by:
getScrollin interfaceSearchRequestOrBuilder- Returns:
- The scroll.
-
getScrollBytes
public com.google.protobuf.ByteString getScrollBytes()optional string scroll = 25 [json_name = "scroll"];- Specified by:
getScrollBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for scroll.
-
setScroll
optional string scroll = 25 [json_name = "scroll"];- Parameters:
value- The scroll to set.- Returns:
- This builder for chaining.
-
clearScroll
optional string scroll = 25 [json_name = "scroll"];- Returns:
- This builder for chaining.
-
setScrollBytes
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:
hasSearchTypein interfaceSearchRequestOrBuilder- Returns:
- Whether the searchType field is set.
-
getSearchTypeValue
public int getSearchTypeValue()optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];- Specified by:
getSearchTypeValuein interfaceSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for searchType.
-
setSearchTypeValue
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
optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];- Specified by:
getSearchTypein interfaceSearchRequestOrBuilder- Returns:
- The searchType.
-
setSearchType
optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];- Parameters:
value- The searchType to set.- Returns:
- This builder for chaining.
-
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:
hasSuggestFieldin interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestField field is set.
-
getSuggestField
optional string suggest_field = 27 [json_name = "suggestField"];- Specified by:
getSuggestFieldin interfaceSearchRequestOrBuilder- Returns:
- The suggestField.
-
getSuggestFieldBytes
public com.google.protobuf.ByteString getSuggestFieldBytes()optional string suggest_field = 27 [json_name = "suggestField"];- Specified by:
getSuggestFieldBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for suggestField.
-
setSuggestField
optional string suggest_field = 27 [json_name = "suggestField"];- Parameters:
value- The suggestField to set.- Returns:
- This builder for chaining.
-
clearSuggestField
optional string suggest_field = 27 [json_name = "suggestField"];- Returns:
- This builder for chaining.
-
setSuggestFieldBytes
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:
hasSuggestModein interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestMode field is set.
-
getSuggestModeValue
public int getSuggestModeValue()optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];- Specified by:
getSuggestModeValuein interfaceSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for suggestMode.
-
setSuggestModeValue
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
optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];- Specified by:
getSuggestModein interfaceSearchRequestOrBuilder- Returns:
- The suggestMode.
-
setSuggestMode
optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];- Parameters:
value- The suggestMode to set.- Returns:
- This builder for chaining.
-
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:
hasSuggestSizein interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestSize field is set.
-
getSuggestSize
public int getSuggestSize()optional int32 suggest_size = 29 [json_name = "suggestSize"];- Specified by:
getSuggestSizein interfaceSearchRequestOrBuilder- Returns:
- The suggestSize.
-
setSuggestSize
optional int32 suggest_size = 29 [json_name = "suggestSize"];- Parameters:
value- The suggestSize to set.- Returns:
- This builder for chaining.
-
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:
hasSuggestTextin interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestText field is set.
-
getSuggestText
optional string suggest_text = 30 [json_name = "suggestText"];- Specified by:
getSuggestTextin interfaceSearchRequestOrBuilder- Returns:
- The suggestText.
-
getSuggestTextBytes
public com.google.protobuf.ByteString getSuggestTextBytes()optional string suggest_text = 30 [json_name = "suggestText"];- Specified by:
getSuggestTextBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for suggestText.
-
setSuggestText
optional string suggest_text = 30 [json_name = "suggestText"];- Parameters:
value- The suggestText to set.- Returns:
- This builder for chaining.
-
clearSuggestText
optional string suggest_text = 30 [json_name = "suggestText"];- Returns:
- This builder for chaining.
-
setSuggestTextBytes
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:
hasTypedKeysin interfaceSearchRequestOrBuilder- Returns:
- Whether the typedKeys field is set.
-
getTypedKeys
public boolean getTypedKeys()optional bool typed_keys = 31 [json_name = "typedKeys"];- Specified by:
getTypedKeysin interfaceSearchRequestOrBuilder- Returns:
- The typedKeys.
-
setTypedKeys
optional bool typed_keys = 31 [json_name = "typedKeys"];- Parameters:
value- The typedKeys to set.- Returns:
- This builder for chaining.
-
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:
hasSearchRequestBodyin interfaceSearchRequestOrBuilder- Returns:
- Whether the searchRequestBody field is set.
-
getSearchRequestBody
optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];- Specified by:
getSearchRequestBodyin interfaceSearchRequestOrBuilder- Returns:
- The searchRequestBody.
-
setSearchRequestBody
optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"]; -
setSearchRequestBody
optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"]; -
mergeSearchRequestBody
optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"]; -
clearSearchRequestBody
optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"]; -
getSearchRequestBodyBuilder
optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"]; -
getSearchRequestBodyOrBuilder
optional .org.opensearch.protobufs.SearchRequestBody search_request_body = 32 [json_name = "searchRequestBody"];- Specified by:
getSearchRequestBodyOrBuilderin interfaceSearchRequestOrBuilder
-
hasGlobalParams
public boolean hasGlobalParams()optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];- Specified by:
hasGlobalParamsin interfaceSearchRequestOrBuilder- Returns:
- Whether the globalParams field is set.
-
getGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];- Specified by:
getGlobalParamsin interfaceSearchRequestOrBuilder- Returns:
- The globalParams.
-
setGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"]; -
setGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"]; -
mergeGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"]; -
clearGlobalParams
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"]; -
getGlobalParamsBuilder
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"]; -
getGlobalParamsOrBuilder
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];- Specified by:
getGlobalParamsOrBuilderin interfaceSearchRequestOrBuilder
-
setUnknownFields
public final SearchRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-
mergeUnknownFields
public final SearchRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchRequest.Builder>
-