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
SearchRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllDocvalueFields(Iterable<String> values) repeated string docvalue_fields = 14 [json_name = "docvalueFields"];addAllExpandWildcards(Iterable<? extends ExpandWildcard> values) repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];addAllExpandWildcardsValue(Iterable<Integer> values) repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];addAllIndex(Iterable<String> values) repeated string index = 1 [json_name = "index"];addAllRouting(Iterable<String> values) repeated string routing = 29 [json_name = "routing"];addAllStats(Iterable<String> values) repeated string stats = 35 [json_name = "stats"];addAllStoredFields(Iterable<String> values) repeated string stored_fields = 36 [json_name = "storedFields"];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 = 14 [json_name = "docvalueFields"];addDocvalueFieldsBytes(com.google.protobuf.ByteString value) repeated string docvalue_fields = 14 [json_name = "docvalueFields"];addExpandWildcards(ExpandWildcard value) repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];addExpandWildcardsValue(int value) repeated .ExpandWildcard expand_wildcards = 15 [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 = 29 [json_name = "routing"];addRoutingBytes(com.google.protobuf.ByteString value) repeated string routing = 29 [json_name = "routing"];repeated string stats = 35 [json_name = "stats"];addStatsBytes(com.google.protobuf.ByteString value) repeated string stats = 35 [json_name = "stats"];addStoredFields(String value) repeated string stored_fields = 36 [json_name = "storedFields"];addStoredFieldsBytes(com.google.protobuf.ByteString value) repeated string stored_fields = 36 [json_name = "storedFields"];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 string analyzer = 8 [json_name = "analyzer"];optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];optional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];optional bool ccs_minimize_roundtrips = 11 [json_name = "ccsMinimizeRoundtrips"];optional .Operator default_operator = 12 [json_name = "defaultOperator"];clearDf()optional string df = 13 [json_name = "df"];repeated string docvalue_fields = 14 [json_name = "docvalueFields"];repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];optional bool explain = 16 [json_name = "explain"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional int32 from = 17 [json_name = "from"];optional .GlobalParams global_params = 49 [json_name = "globalParams"];optional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];optional bool ignore_unavailable = 19 [json_name = "ignoreUnavailable"];optional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];repeated string index = 1 [json_name = "index"];optional bool lenient = 21 [json_name = "lenient"];optional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional bool phase_took = 23 [json_name = "phaseTook"];optional string preference = 25 [json_name = "preference"];optional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];clearQ()optional string q = 26 [json_name = "q"];.SearchRequestBody request_body = 48 [json_name = "requestBody"];optional bool request_cache = 27 [json_name = "requestCache"];optional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];repeated string routing = 29 [json_name = "routing"];optional string scroll = 30 [json_name = "scroll"];optional string search_pipeline = 31 [json_name = "searchPipeline"];optional .SearchType search_type = 32 [json_name = "searchType"];optional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];optional int32 size = 34 [json_name = "size"];repeated string stats = 35 [json_name = "stats"];repeated string stored_fields = 36 [json_name = "storedFields"];optional string suggest_field = 37 [json_name = "suggestField"];optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];optional int32 suggest_size = 39 [json_name = "suggestSize"];optional string suggest_text = 40 [json_name = "suggestText"];optional int32 terminate_after = 41 [json_name = "terminateAfter"];optional string timeout = 42 [json_name = "timeout"];optional bool track_scores = 43 [json_name = "trackScores"];optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];optional bool typed_keys = 45 [json_name = "typedKeys"];optional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];optional bool version = 47 [json_name = "version"];optional .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"];optional string analyzer = 8 [json_name = "analyzer"];com.google.protobuf.ByteStringoptional string analyzer = 8 [json_name = "analyzer"];booleanoptional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];intoptional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];com.google.protobuf.ByteStringoptional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];booleanoptional bool ccs_minimize_roundtrips = 11 [json_name = "ccsMinimizeRoundtrips"];optional .Operator default_operator = 12 [json_name = "defaultOperator"];intoptional .Operator default_operator = 12 [json_name = "defaultOperator"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDf()optional string df = 13 [json_name = "df"];com.google.protobuf.ByteStringoptional string df = 13 [json_name = "df"];getDocvalueFields(int index) repeated string docvalue_fields = 14 [json_name = "docvalueFields"];com.google.protobuf.ByteStringgetDocvalueFieldsBytes(int index) repeated string docvalue_fields = 14 [json_name = "docvalueFields"];intrepeated string docvalue_fields = 14 [json_name = "docvalueFields"];com.google.protobuf.ProtocolStringListrepeated string docvalue_fields = 14 [json_name = "docvalueFields"];getExpandWildcards(int index) repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];intrepeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];intgetExpandWildcardsValue(int index) repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];booleanoptional bool explain = 16 [json_name = "explain"];intgetFrom()optional int32 from = 17 [json_name = "from"];optional .GlobalParams global_params = 49 [json_name = "globalParams"];optional .GlobalParams global_params = 49 [json_name = "globalParams"];optional .GlobalParams global_params = 49 [json_name = "globalParams"];booleanoptional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];booleanoptional bool ignore_unavailable = 19 [json_name = "ignoreUnavailable"];booleanoptional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];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"];booleanoptional bool lenient = 21 [json_name = "lenient"];intoptional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];booleanoptional bool phase_took = 23 [json_name = "phaseTook"];optional string preference = 25 [json_name = "preference"];com.google.protobuf.ByteStringoptional string preference = 25 [json_name = "preference"];intoptional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];getQ()optional string q = 26 [json_name = "q"];com.google.protobuf.ByteStringoptional string q = 26 [json_name = "q"];.SearchRequestBody request_body = 48 [json_name = "requestBody"];.SearchRequestBody request_body = 48 [json_name = "requestBody"];.SearchRequestBody request_body = 48 [json_name = "requestBody"];booleanoptional bool request_cache = 27 [json_name = "requestCache"];booleanoptional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];getRouting(int index) repeated string routing = 29 [json_name = "routing"];com.google.protobuf.ByteStringgetRoutingBytes(int index) repeated string routing = 29 [json_name = "routing"];intrepeated string routing = 29 [json_name = "routing"];com.google.protobuf.ProtocolStringListrepeated string routing = 29 [json_name = "routing"];optional string scroll = 30 [json_name = "scroll"];com.google.protobuf.ByteStringoptional string scroll = 30 [json_name = "scroll"];optional string search_pipeline = 31 [json_name = "searchPipeline"];com.google.protobuf.ByteStringoptional string search_pipeline = 31 [json_name = "searchPipeline"];optional .SearchType search_type = 32 [json_name = "searchType"];intoptional .SearchType search_type = 32 [json_name = "searchType"];booleanoptional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];intgetSize()optional int32 size = 34 [json_name = "size"];getStats(int index) repeated string stats = 35 [json_name = "stats"];com.google.protobuf.ByteStringgetStatsBytes(int index) repeated string stats = 35 [json_name = "stats"];intrepeated string stats = 35 [json_name = "stats"];com.google.protobuf.ProtocolStringListrepeated string stats = 35 [json_name = "stats"];getStoredFields(int index) repeated string stored_fields = 36 [json_name = "storedFields"];com.google.protobuf.ByteStringgetStoredFieldsBytes(int index) repeated string stored_fields = 36 [json_name = "storedFields"];intrepeated string stored_fields = 36 [json_name = "storedFields"];com.google.protobuf.ProtocolStringListrepeated string stored_fields = 36 [json_name = "storedFields"];optional string suggest_field = 37 [json_name = "suggestField"];com.google.protobuf.ByteStringoptional string suggest_field = 37 [json_name = "suggestField"];optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];intoptional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];intoptional int32 suggest_size = 39 [json_name = "suggestSize"];optional string suggest_text = 40 [json_name = "suggestText"];com.google.protobuf.ByteStringoptional string suggest_text = 40 [json_name = "suggestText"];intoptional int32 terminate_after = 41 [json_name = "terminateAfter"];optional string timeout = 42 [json_name = "timeout"];com.google.protobuf.ByteStringoptional string timeout = 42 [json_name = "timeout"];booleanoptional bool track_scores = 43 [json_name = "trackScores"];optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];booleanoptional bool typed_keys = 45 [json_name = "typedKeys"];booleanoptional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];booleanoptional bool version = 47 [json_name = "version"];optional .SourceConfigParam x_source = 2 [json_name = "xSource"];optional .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 .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 string analyzer = 8 [json_name = "analyzer"];booleanoptional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];booleanoptional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];booleanoptional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];booleanoptional bool ccs_minimize_roundtrips = 11 [json_name = "ccsMinimizeRoundtrips"];booleanoptional .Operator default_operator = 12 [json_name = "defaultOperator"];booleanhasDf()optional string df = 13 [json_name = "df"];booleanoptional bool explain = 16 [json_name = "explain"];booleanhasFrom()optional int32 from = 17 [json_name = "from"];booleanoptional .GlobalParams global_params = 49 [json_name = "globalParams"];booleanoptional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];booleanoptional bool ignore_unavailable = 19 [json_name = "ignoreUnavailable"];booleanoptional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];booleanoptional bool lenient = 21 [json_name = "lenient"];booleanoptional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];booleanoptional bool phase_took = 23 [json_name = "phaseTook"];booleanoptional string preference = 25 [json_name = "preference"];booleanoptional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];booleanhasQ()optional string q = 26 [json_name = "q"];boolean.SearchRequestBody request_body = 48 [json_name = "requestBody"];booleanoptional bool request_cache = 27 [json_name = "requestCache"];booleanoptional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];booleanoptional string scroll = 30 [json_name = "scroll"];booleanoptional string search_pipeline = 31 [json_name = "searchPipeline"];booleanoptional .SearchType search_type = 32 [json_name = "searchType"];booleanoptional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];booleanhasSize()optional int32 size = 34 [json_name = "size"];booleanoptional string suggest_field = 37 [json_name = "suggestField"];booleanoptional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];booleanoptional int32 suggest_size = 39 [json_name = "suggestSize"];booleanoptional string suggest_text = 40 [json_name = "suggestText"];booleanoptional int32 terminate_after = 41 [json_name = "terminateAfter"];booleanoptional string timeout = 42 [json_name = "timeout"];booleanoptional bool track_scores = 43 [json_name = "trackScores"];booleanoptional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];booleanoptional bool typed_keys = 45 [json_name = "typedKeys"];booleanoptional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];booleanoptional bool version = 47 [json_name = "version"];booleanoptional .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 .GlobalParams global_params = 49 [json_name = "globalParams"];.SearchRequestBody request_body = 48 [json_name = "requestBody"];mergeTrackTotalHits(TrackHits value) optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];final SearchRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeXSource(SourceConfigParam value) optional .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"];setAnalyzer(String value) optional string analyzer = 8 [json_name = "analyzer"];setAnalyzerBytes(com.google.protobuf.ByteString value) optional string analyzer = 8 [json_name = "analyzer"];setAnalyzeWildcard(boolean value) optional bool analyze_wildcard = 7 [json_name = "analyzeWildcard"];setBatchedReduceSize(int value) optional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];setCancelAfterTimeInterval(String value) optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];setCancelAfterTimeIntervalBytes(com.google.protobuf.ByteString value) optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];setCcsMinimizeRoundtrips(boolean value) optional bool ccs_minimize_roundtrips = 11 [json_name = "ccsMinimizeRoundtrips"];setDefaultOperator(Operator value) optional .Operator default_operator = 12 [json_name = "defaultOperator"];setDefaultOperatorValue(int value) optional .Operator default_operator = 12 [json_name = "defaultOperator"];optional string df = 13 [json_name = "df"];setDfBytes(com.google.protobuf.ByteString value) optional string df = 13 [json_name = "df"];setDocvalueFields(int index, String value) repeated string docvalue_fields = 14 [json_name = "docvalueFields"];setExpandWildcards(int index, ExpandWildcard value) repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];setExpandWildcardsValue(int index, int value) repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];setExplain(boolean value) optional bool explain = 16 [json_name = "explain"];setFrom(int value) optional int32 from = 17 [json_name = "from"];setGlobalParams(GlobalParams value) optional .GlobalParams global_params = 49 [json_name = "globalParams"];setGlobalParams(GlobalParams.Builder builderForValue) optional .GlobalParams global_params = 49 [json_name = "globalParams"];setIgnoreThrottled(boolean value) optional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];setIgnoreUnavailable(boolean value) optional bool ignore_unavailable = 19 [json_name = "ignoreUnavailable"];setIncludeNamedQueriesScore(boolean value) optional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];repeated string index = 1 [json_name = "index"];setLenient(boolean value) optional bool lenient = 21 [json_name = "lenient"];setMaxConcurrentShardRequests(int value) optional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];setPhaseTook(boolean value) optional bool phase_took = 23 [json_name = "phaseTook"];setPreference(String value) optional string preference = 25 [json_name = "preference"];setPreferenceBytes(com.google.protobuf.ByteString value) optional string preference = 25 [json_name = "preference"];setPreFilterShardSize(int value) optional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];optional string q = 26 [json_name = "q"];setQBytes(com.google.protobuf.ByteString value) optional string q = 26 [json_name = "q"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestBody(SearchRequestBody value) .SearchRequestBody request_body = 48 [json_name = "requestBody"];setRequestBody(SearchRequestBody.Builder builderForValue) .SearchRequestBody request_body = 48 [json_name = "requestBody"];setRequestCache(boolean value) optional bool request_cache = 27 [json_name = "requestCache"];setRestTotalHitsAsInt(boolean value) optional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];setRouting(int index, String value) repeated string routing = 29 [json_name = "routing"];optional string scroll = 30 [json_name = "scroll"];setScrollBytes(com.google.protobuf.ByteString value) optional string scroll = 30 [json_name = "scroll"];setSearchPipeline(String value) optional string search_pipeline = 31 [json_name = "searchPipeline"];setSearchPipelineBytes(com.google.protobuf.ByteString value) optional string search_pipeline = 31 [json_name = "searchPipeline"];setSearchType(SearchType value) optional .SearchType search_type = 32 [json_name = "searchType"];setSearchTypeValue(int value) optional .SearchType search_type = 32 [json_name = "searchType"];setSeqNoPrimaryTerm(boolean value) optional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];setSize(int value) optional int32 size = 34 [json_name = "size"];repeated string stats = 35 [json_name = "stats"];setStoredFields(int index, String value) repeated string stored_fields = 36 [json_name = "storedFields"];setSuggestField(String value) optional string suggest_field = 37 [json_name = "suggestField"];setSuggestFieldBytes(com.google.protobuf.ByteString value) optional string suggest_field = 37 [json_name = "suggestField"];setSuggestMode(SuggestMode value) optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];setSuggestModeValue(int value) optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];setSuggestSize(int value) optional int32 suggest_size = 39 [json_name = "suggestSize"];setSuggestText(String value) optional string suggest_text = 40 [json_name = "suggestText"];setSuggestTextBytes(com.google.protobuf.ByteString value) optional string suggest_text = 40 [json_name = "suggestText"];setTerminateAfter(int value) optional int32 terminate_after = 41 [json_name = "terminateAfter"];setTimeout(String value) optional string timeout = 42 [json_name = "timeout"];setTimeoutBytes(com.google.protobuf.ByteString value) optional string timeout = 42 [json_name = "timeout"];setTrackScores(boolean value) optional bool track_scores = 43 [json_name = "trackScores"];setTrackTotalHits(TrackHits value) optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];setTrackTotalHits(TrackHits.Builder builderForValue) optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];setTypedKeys(boolean value) optional bool typed_keys = 45 [json_name = "typedKeys"];final SearchRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVerbosePipeline(boolean value) optional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];setVersion(boolean value) optional bool version = 47 [json_name = "version"];setXSource(SourceConfigParam value) optional .SourceConfigParam x_source = 2 [json_name = "xSource"];setXSource(SourceConfigParam.Builder builderForValue) optional .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 .SourceConfigParam x_source = 2 [json_name = "xSource"];- Specified by:
hasXSourcein interfaceSearchRequestOrBuilder- Returns:
- Whether the xSource field is set.
-
getXSource
optional .SourceConfigParam x_source = 2 [json_name = "xSource"];- Specified by:
getXSourcein interfaceSearchRequestOrBuilder- Returns:
- The xSource.
-
setXSource
optional .SourceConfigParam x_source = 2 [json_name = "xSource"]; -
setXSource
optional .SourceConfigParam x_source = 2 [json_name = "xSource"]; -
mergeXSource
optional .SourceConfigParam x_source = 2 [json_name = "xSource"]; -
clearXSource
optional .SourceConfigParam x_source = 2 [json_name = "xSource"]; -
getXSourceBuilder
optional .SourceConfigParam x_source = 2 [json_name = "xSource"]; -
getXSourceOrBuilder
optional .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.
-
hasAnalyzer
public boolean hasAnalyzer()optional string analyzer = 8 [json_name = "analyzer"];- Specified by:
hasAnalyzerin interfaceSearchRequestOrBuilder- Returns:
- Whether the analyzer field is set.
-
getAnalyzer
optional string analyzer = 8 [json_name = "analyzer"];- Specified by:
getAnalyzerin interfaceSearchRequestOrBuilder- Returns:
- The analyzer.
-
getAnalyzerBytes
public com.google.protobuf.ByteString getAnalyzerBytes()optional string analyzer = 8 [json_name = "analyzer"];- Specified by:
getAnalyzerBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for analyzer.
-
setAnalyzer
optional string analyzer = 8 [json_name = "analyzer"];- Parameters:
value- The analyzer to set.- Returns:
- This builder for chaining.
-
clearAnalyzer
optional string analyzer = 8 [json_name = "analyzer"];- Returns:
- This builder for chaining.
-
setAnalyzerBytes
optional string analyzer = 8 [json_name = "analyzer"];- Parameters:
value- The bytes for analyzer to set.- Returns:
- This builder for chaining.
-
hasBatchedReduceSize
public boolean hasBatchedReduceSize()optional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];- Specified by:
hasBatchedReduceSizein interfaceSearchRequestOrBuilder- Returns:
- Whether the batchedReduceSize field is set.
-
getBatchedReduceSize
public int getBatchedReduceSize()optional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];- Specified by:
getBatchedReduceSizein interfaceSearchRequestOrBuilder- Returns:
- The batchedReduceSize.
-
setBatchedReduceSize
optional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];- Parameters:
value- The batchedReduceSize to set.- Returns:
- This builder for chaining.
-
clearBatchedReduceSize
optional int32 batched_reduce_size = 9 [json_name = "batchedReduceSize"];- Returns:
- This builder for chaining.
-
hasCancelAfterTimeInterval
public boolean hasCancelAfterTimeInterval()optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];- Specified by:
hasCancelAfterTimeIntervalin interfaceSearchRequestOrBuilder- Returns:
- Whether the cancelAfterTimeInterval field is set.
-
getCancelAfterTimeInterval
optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];- Specified by:
getCancelAfterTimeIntervalin interfaceSearchRequestOrBuilder- Returns:
- The cancelAfterTimeInterval.
-
getCancelAfterTimeIntervalBytes
public com.google.protobuf.ByteString getCancelAfterTimeIntervalBytes()optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];- Specified by:
getCancelAfterTimeIntervalBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for cancelAfterTimeInterval.
-
setCancelAfterTimeInterval
optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];- Parameters:
value- The cancelAfterTimeInterval to set.- Returns:
- This builder for chaining.
-
clearCancelAfterTimeInterval
optional string cancel_after_time_interval = 10 [json_name = "cancelAfterTimeInterval"];- Returns:
- This builder for chaining.
-
setCancelAfterTimeIntervalBytes
optional string cancel_after_time_interval = 10 [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 = 11 [json_name = "ccsMinimizeRoundtrips"];- Specified by:
hasCcsMinimizeRoundtripsin interfaceSearchRequestOrBuilder- Returns:
- Whether the ccsMinimizeRoundtrips field is set.
-
getCcsMinimizeRoundtrips
public boolean getCcsMinimizeRoundtrips()optional bool ccs_minimize_roundtrips = 11 [json_name = "ccsMinimizeRoundtrips"];- Specified by:
getCcsMinimizeRoundtripsin interfaceSearchRequestOrBuilder- Returns:
- The ccsMinimizeRoundtrips.
-
setCcsMinimizeRoundtrips
optional bool ccs_minimize_roundtrips = 11 [json_name = "ccsMinimizeRoundtrips"];- Parameters:
value- The ccsMinimizeRoundtrips to set.- Returns:
- This builder for chaining.
-
clearCcsMinimizeRoundtrips
optional bool ccs_minimize_roundtrips = 11 [json_name = "ccsMinimizeRoundtrips"];- Returns:
- This builder for chaining.
-
hasDefaultOperator
public boolean hasDefaultOperator()optional .Operator default_operator = 12 [json_name = "defaultOperator"];- Specified by:
hasDefaultOperatorin interfaceSearchRequestOrBuilder- Returns:
- Whether the defaultOperator field is set.
-
getDefaultOperatorValue
public int getDefaultOperatorValue()optional .Operator default_operator = 12 [json_name = "defaultOperator"];- Specified by:
getDefaultOperatorValuein interfaceSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for defaultOperator.
-
setDefaultOperatorValue
optional .Operator default_operator = 12 [json_name = "defaultOperator"];- Parameters:
value- The enum numeric value on the wire for defaultOperator to set.- Returns:
- This builder for chaining.
-
getDefaultOperator
optional .Operator default_operator = 12 [json_name = "defaultOperator"];- Specified by:
getDefaultOperatorin interfaceSearchRequestOrBuilder- Returns:
- The defaultOperator.
-
setDefaultOperator
optional .Operator default_operator = 12 [json_name = "defaultOperator"];- Parameters:
value- The defaultOperator to set.- Returns:
- This builder for chaining.
-
clearDefaultOperator
optional .Operator default_operator = 12 [json_name = "defaultOperator"];- Returns:
- This builder for chaining.
-
hasDf
public boolean hasDf()optional string df = 13 [json_name = "df"];- Specified by:
hasDfin interfaceSearchRequestOrBuilder- Returns:
- Whether the df field is set.
-
getDf
optional string df = 13 [json_name = "df"];- Specified by:
getDfin interfaceSearchRequestOrBuilder- Returns:
- The df.
-
getDfBytes
public com.google.protobuf.ByteString getDfBytes()optional string df = 13 [json_name = "df"];- Specified by:
getDfBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for df.
-
setDf
optional string df = 13 [json_name = "df"];- Parameters:
value- The df to set.- Returns:
- This builder for chaining.
-
clearDf
optional string df = 13 [json_name = "df"];- Returns:
- This builder for chaining.
-
setDfBytes
optional string df = 13 [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 = 14 [json_name = "docvalueFields"];- Specified by:
getDocvalueFieldsListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the docvalueFields.
-
getDocvalueFieldsCount
public int getDocvalueFieldsCount()repeated string docvalue_fields = 14 [json_name = "docvalueFields"];- Specified by:
getDocvalueFieldsCountin interfaceSearchRequestOrBuilder- Returns:
- The count of docvalueFields.
-
getDocvalueFields
repeated string docvalue_fields = 14 [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 = 14 [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 = 14 [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 = 14 [json_name = "docvalueFields"];- Parameters:
value- The docvalueFields to add.- Returns:
- This builder for chaining.
-
addAllDocvalueFields
repeated string docvalue_fields = 14 [json_name = "docvalueFields"];- Parameters:
values- The docvalueFields to add.- Returns:
- This builder for chaining.
-
clearDocvalueFields
repeated string docvalue_fields = 14 [json_name = "docvalueFields"];- Returns:
- This builder for chaining.
-
addDocvalueFieldsBytes
repeated string docvalue_fields = 14 [json_name = "docvalueFields"];- Parameters:
value- The bytes of the docvalueFields to add.- Returns:
- This builder for chaining.
-
getExpandWildcardsList
repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Specified by:
getExpandWildcardsListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the expandWildcards.
-
getExpandWildcardsCount
public int getExpandWildcardsCount()repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Specified by:
getExpandWildcardsCountin interfaceSearchRequestOrBuilder- Returns:
- The count of expandWildcards.
-
getExpandWildcards
repeated .ExpandWildcard expand_wildcards = 15 [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 .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Parameters:
index- The index to set the value at.value- The expandWildcards to set.- Returns:
- This builder for chaining.
-
addExpandWildcards
repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Parameters:
value- The expandWildcards to add.- Returns:
- This builder for chaining.
-
addAllExpandWildcards
repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Parameters:
values- The expandWildcards to add.- Returns:
- This builder for chaining.
-
clearExpandWildcards
repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Returns:
- This builder for chaining.
-
getExpandWildcardsValueList
repeated .ExpandWildcard expand_wildcards = 15 [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 .ExpandWildcard expand_wildcards = 15 [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 .ExpandWildcard expand_wildcards = 15 [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 .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Parameters:
value- The enum numeric value on the wire for expandWildcards to add.- Returns:
- This builder for chaining.
-
addAllExpandWildcardsValue
repeated .ExpandWildcard expand_wildcards = 15 [json_name = "expandWildcards"];- Parameters:
values- The enum numeric values on the wire for expandWildcards to add.- Returns:
- This builder for chaining.
-
hasExplain
public boolean hasExplain()optional bool explain = 16 [json_name = "explain"];- Specified by:
hasExplainin interfaceSearchRequestOrBuilder- Returns:
- Whether the explain field is set.
-
getExplain
public boolean getExplain()optional bool explain = 16 [json_name = "explain"];- Specified by:
getExplainin interfaceSearchRequestOrBuilder- Returns:
- The explain.
-
setExplain
optional bool explain = 16 [json_name = "explain"];- Parameters:
value- The explain to set.- Returns:
- This builder for chaining.
-
clearExplain
optional bool explain = 16 [json_name = "explain"];- Returns:
- This builder for chaining.
-
hasFrom
public boolean hasFrom()optional int32 from = 17 [json_name = "from"];- Specified by:
hasFromin interfaceSearchRequestOrBuilder- Returns:
- Whether the from field is set.
-
getFrom
public int getFrom()optional int32 from = 17 [json_name = "from"];- Specified by:
getFromin interfaceSearchRequestOrBuilder- Returns:
- The from.
-
setFrom
optional int32 from = 17 [json_name = "from"];- Parameters:
value- The from to set.- Returns:
- This builder for chaining.
-
clearFrom
optional int32 from = 17 [json_name = "from"];- Returns:
- This builder for chaining.
-
hasIgnoreThrottled
public boolean hasIgnoreThrottled()optional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];- Specified by:
hasIgnoreThrottledin interfaceSearchRequestOrBuilder- Returns:
- Whether the ignoreThrottled field is set.
-
getIgnoreThrottled
public boolean getIgnoreThrottled()optional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];- Specified by:
getIgnoreThrottledin interfaceSearchRequestOrBuilder- Returns:
- The ignoreThrottled.
-
setIgnoreThrottled
optional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];- Parameters:
value- The ignoreThrottled to set.- Returns:
- This builder for chaining.
-
clearIgnoreThrottled
optional bool ignore_throttled = 18 [json_name = "ignoreThrottled"];- Returns:
- This builder for chaining.
-
hasIncludeNamedQueriesScore
public boolean hasIncludeNamedQueriesScore()optional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];- Specified by:
hasIncludeNamedQueriesScorein interfaceSearchRequestOrBuilder- Returns:
- Whether the includeNamedQueriesScore field is set.
-
getIncludeNamedQueriesScore
public boolean getIncludeNamedQueriesScore()optional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];- Specified by:
getIncludeNamedQueriesScorein interfaceSearchRequestOrBuilder- Returns:
- The includeNamedQueriesScore.
-
setIncludeNamedQueriesScore
optional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];- Parameters:
value- The includeNamedQueriesScore to set.- Returns:
- This builder for chaining.
-
clearIncludeNamedQueriesScore
optional bool include_named_queries_score = 20 [json_name = "includeNamedQueriesScore"];- Returns:
- This builder for chaining.
-
hasLenient
public boolean hasLenient()optional bool lenient = 21 [json_name = "lenient"];- Specified by:
hasLenientin interfaceSearchRequestOrBuilder- Returns:
- Whether the lenient field is set.
-
getLenient
public boolean getLenient()optional bool lenient = 21 [json_name = "lenient"];- Specified by:
getLenientin interfaceSearchRequestOrBuilder- Returns:
- The lenient.
-
setLenient
optional bool lenient = 21 [json_name = "lenient"];- Parameters:
value- The lenient to set.- Returns:
- This builder for chaining.
-
clearLenient
optional bool lenient = 21 [json_name = "lenient"];- Returns:
- This builder for chaining.
-
hasMaxConcurrentShardRequests
public boolean hasMaxConcurrentShardRequests()optional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];- Specified by:
hasMaxConcurrentShardRequestsin interfaceSearchRequestOrBuilder- Returns:
- Whether the maxConcurrentShardRequests field is set.
-
getMaxConcurrentShardRequests
public int getMaxConcurrentShardRequests()optional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];- Specified by:
getMaxConcurrentShardRequestsin interfaceSearchRequestOrBuilder- Returns:
- The maxConcurrentShardRequests.
-
setMaxConcurrentShardRequests
optional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];- Parameters:
value- The maxConcurrentShardRequests to set.- Returns:
- This builder for chaining.
-
clearMaxConcurrentShardRequests
optional int32 max_concurrent_shard_requests = 22 [json_name = "maxConcurrentShardRequests"];- Returns:
- This builder for chaining.
-
hasPhaseTook
public boolean hasPhaseTook()optional bool phase_took = 23 [json_name = "phaseTook"];- Specified by:
hasPhaseTookin interfaceSearchRequestOrBuilder- Returns:
- Whether the phaseTook field is set.
-
getPhaseTook
public boolean getPhaseTook()optional bool phase_took = 23 [json_name = "phaseTook"];- Specified by:
getPhaseTookin interfaceSearchRequestOrBuilder- Returns:
- The phaseTook.
-
setPhaseTook
optional bool phase_took = 23 [json_name = "phaseTook"];- Parameters:
value- The phaseTook to set.- Returns:
- This builder for chaining.
-
clearPhaseTook
optional bool phase_took = 23 [json_name = "phaseTook"];- Returns:
- This builder for chaining.
-
hasPreFilterShardSize
public boolean hasPreFilterShardSize()optional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];- Specified by:
hasPreFilterShardSizein interfaceSearchRequestOrBuilder- Returns:
- Whether the preFilterShardSize field is set.
-
getPreFilterShardSize
public int getPreFilterShardSize()optional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];- Specified by:
getPreFilterShardSizein interfaceSearchRequestOrBuilder- Returns:
- The preFilterShardSize.
-
setPreFilterShardSize
optional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];- Parameters:
value- The preFilterShardSize to set.- Returns:
- This builder for chaining.
-
clearPreFilterShardSize
optional int32 pre_filter_shard_size = 24 [json_name = "preFilterShardSize"];- Returns:
- This builder for chaining.
-
hasPreference
public boolean hasPreference()optional string preference = 25 [json_name = "preference"];- Specified by:
hasPreferencein interfaceSearchRequestOrBuilder- Returns:
- Whether the preference field is set.
-
getPreference
optional string preference = 25 [json_name = "preference"];- Specified by:
getPreferencein interfaceSearchRequestOrBuilder- Returns:
- The preference.
-
getPreferenceBytes
public com.google.protobuf.ByteString getPreferenceBytes()optional string preference = 25 [json_name = "preference"];- Specified by:
getPreferenceBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for preference.
-
setPreference
optional string preference = 25 [json_name = "preference"];- Parameters:
value- The preference to set.- Returns:
- This builder for chaining.
-
clearPreference
optional string preference = 25 [json_name = "preference"];- Returns:
- This builder for chaining.
-
setPreferenceBytes
optional string preference = 25 [json_name = "preference"];- Parameters:
value- The bytes for preference to set.- Returns:
- This builder for chaining.
-
hasQ
public boolean hasQ()optional string q = 26 [json_name = "q"];- Specified by:
hasQin interfaceSearchRequestOrBuilder- Returns:
- Whether the q field is set.
-
getQ
optional string q = 26 [json_name = "q"];- Specified by:
getQin interfaceSearchRequestOrBuilder- Returns:
- The q.
-
getQBytes
public com.google.protobuf.ByteString getQBytes()optional string q = 26 [json_name = "q"];- Specified by:
getQBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for q.
-
setQ
optional string q = 26 [json_name = "q"];- Parameters:
value- The q to set.- Returns:
- This builder for chaining.
-
clearQ
optional string q = 26 [json_name = "q"];- Returns:
- This builder for chaining.
-
setQBytes
optional string q = 26 [json_name = "q"];- Parameters:
value- The bytes for q to set.- Returns:
- This builder for chaining.
-
hasRequestCache
public boolean hasRequestCache()optional bool request_cache = 27 [json_name = "requestCache"];- Specified by:
hasRequestCachein interfaceSearchRequestOrBuilder- Returns:
- Whether the requestCache field is set.
-
getRequestCache
public boolean getRequestCache()optional bool request_cache = 27 [json_name = "requestCache"];- Specified by:
getRequestCachein interfaceSearchRequestOrBuilder- Returns:
- The requestCache.
-
setRequestCache
optional bool request_cache = 27 [json_name = "requestCache"];- Parameters:
value- The requestCache to set.- Returns:
- This builder for chaining.
-
clearRequestCache
optional bool request_cache = 27 [json_name = "requestCache"];- Returns:
- This builder for chaining.
-
hasRestTotalHitsAsInt
public boolean hasRestTotalHitsAsInt()optional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];- Specified by:
hasRestTotalHitsAsIntin interfaceSearchRequestOrBuilder- Returns:
- Whether the restTotalHitsAsInt field is set.
-
getRestTotalHitsAsInt
public boolean getRestTotalHitsAsInt()optional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];- Specified by:
getRestTotalHitsAsIntin interfaceSearchRequestOrBuilder- Returns:
- The restTotalHitsAsInt.
-
setRestTotalHitsAsInt
optional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];- Parameters:
value- The restTotalHitsAsInt to set.- Returns:
- This builder for chaining.
-
clearRestTotalHitsAsInt
optional bool rest_total_hits_as_int = 28 [json_name = "restTotalHitsAsInt"];- Returns:
- This builder for chaining.
-
getRoutingList
public com.google.protobuf.ProtocolStringList getRoutingList()repeated string routing = 29 [json_name = "routing"];- Specified by:
getRoutingListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the routing.
-
getRoutingCount
public int getRoutingCount()repeated string routing = 29 [json_name = "routing"];- Specified by:
getRoutingCountin interfaceSearchRequestOrBuilder- Returns:
- The count of routing.
-
getRouting
repeated string routing = 29 [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 = 29 [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 = 29 [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 = 29 [json_name = "routing"];- Parameters:
value- The routing to add.- Returns:
- This builder for chaining.
-
addAllRouting
repeated string routing = 29 [json_name = "routing"];- Parameters:
values- The routing to add.- Returns:
- This builder for chaining.
-
clearRouting
repeated string routing = 29 [json_name = "routing"];- Returns:
- This builder for chaining.
-
addRoutingBytes
repeated string routing = 29 [json_name = "routing"];- Parameters:
value- The bytes of the routing to add.- Returns:
- This builder for chaining.
-
hasScroll
public boolean hasScroll()optional string scroll = 30 [json_name = "scroll"];- Specified by:
hasScrollin interfaceSearchRequestOrBuilder- Returns:
- Whether the scroll field is set.
-
getScroll
optional string scroll = 30 [json_name = "scroll"];- Specified by:
getScrollin interfaceSearchRequestOrBuilder- Returns:
- The scroll.
-
getScrollBytes
public com.google.protobuf.ByteString getScrollBytes()optional string scroll = 30 [json_name = "scroll"];- Specified by:
getScrollBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for scroll.
-
setScroll
optional string scroll = 30 [json_name = "scroll"];- Parameters:
value- The scroll to set.- Returns:
- This builder for chaining.
-
clearScroll
optional string scroll = 30 [json_name = "scroll"];- Returns:
- This builder for chaining.
-
setScrollBytes
optional string scroll = 30 [json_name = "scroll"];- Parameters:
value- The bytes for scroll to set.- Returns:
- This builder for chaining.
-
hasSearchPipeline
public boolean hasSearchPipeline()optional string search_pipeline = 31 [json_name = "searchPipeline"];- Specified by:
hasSearchPipelinein interfaceSearchRequestOrBuilder- Returns:
- Whether the searchPipeline field is set.
-
getSearchPipeline
optional string search_pipeline = 31 [json_name = "searchPipeline"];- Specified by:
getSearchPipelinein interfaceSearchRequestOrBuilder- Returns:
- The searchPipeline.
-
getSearchPipelineBytes
public com.google.protobuf.ByteString getSearchPipelineBytes()optional string search_pipeline = 31 [json_name = "searchPipeline"];- Specified by:
getSearchPipelineBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for searchPipeline.
-
setSearchPipeline
optional string search_pipeline = 31 [json_name = "searchPipeline"];- Parameters:
value- The searchPipeline to set.- Returns:
- This builder for chaining.
-
clearSearchPipeline
optional string search_pipeline = 31 [json_name = "searchPipeline"];- Returns:
- This builder for chaining.
-
setSearchPipelineBytes
optional string search_pipeline = 31 [json_name = "searchPipeline"];- Parameters:
value- The bytes for searchPipeline to set.- Returns:
- This builder for chaining.
-
hasSearchType
public boolean hasSearchType()optional .SearchType search_type = 32 [json_name = "searchType"];- Specified by:
hasSearchTypein interfaceSearchRequestOrBuilder- Returns:
- Whether the searchType field is set.
-
getSearchTypeValue
public int getSearchTypeValue()optional .SearchType search_type = 32 [json_name = "searchType"];- Specified by:
getSearchTypeValuein interfaceSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for searchType.
-
setSearchTypeValue
optional .SearchType search_type = 32 [json_name = "searchType"];- Parameters:
value- The enum numeric value on the wire for searchType to set.- Returns:
- This builder for chaining.
-
getSearchType
optional .SearchType search_type = 32 [json_name = "searchType"];- Specified by:
getSearchTypein interfaceSearchRequestOrBuilder- Returns:
- The searchType.
-
setSearchType
optional .SearchType search_type = 32 [json_name = "searchType"];- Parameters:
value- The searchType to set.- Returns:
- This builder for chaining.
-
clearSearchType
optional .SearchType search_type = 32 [json_name = "searchType"];- Returns:
- This builder for chaining.
-
hasSeqNoPrimaryTerm
public boolean hasSeqNoPrimaryTerm()optional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];- Specified by:
hasSeqNoPrimaryTermin interfaceSearchRequestOrBuilder- Returns:
- Whether the seqNoPrimaryTerm field is set.
-
getSeqNoPrimaryTerm
public boolean getSeqNoPrimaryTerm()optional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];- Specified by:
getSeqNoPrimaryTermin interfaceSearchRequestOrBuilder- Returns:
- The seqNoPrimaryTerm.
-
setSeqNoPrimaryTerm
optional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];- Parameters:
value- The seqNoPrimaryTerm to set.- Returns:
- This builder for chaining.
-
clearSeqNoPrimaryTerm
optional bool seq_no_primary_term = 33 [json_name = "seqNoPrimaryTerm"];- Returns:
- This builder for chaining.
-
hasSize
public boolean hasSize()optional int32 size = 34 [json_name = "size"];- Specified by:
hasSizein interfaceSearchRequestOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public int getSize()optional int32 size = 34 [json_name = "size"];- Specified by:
getSizein interfaceSearchRequestOrBuilder- Returns:
- The size.
-
setSize
optional int32 size = 34 [json_name = "size"];- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
optional int32 size = 34 [json_name = "size"];- Returns:
- This builder for chaining.
-
getStatsList
public com.google.protobuf.ProtocolStringList getStatsList()repeated string stats = 35 [json_name = "stats"];- Specified by:
getStatsListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the stats.
-
getStatsCount
public int getStatsCount()repeated string stats = 35 [json_name = "stats"];- Specified by:
getStatsCountin interfaceSearchRequestOrBuilder- Returns:
- The count of stats.
-
getStats
repeated string stats = 35 [json_name = "stats"];- Specified by:
getStatsin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The stats at the given index.
-
getStatsBytes
public com.google.protobuf.ByteString getStatsBytes(int index) repeated string stats = 35 [json_name = "stats"];- Specified by:
getStatsBytesin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the stats at the given index.
-
setStats
repeated string stats = 35 [json_name = "stats"];- Parameters:
index- The index to set the value at.value- The stats to set.- Returns:
- This builder for chaining.
-
addStats
repeated string stats = 35 [json_name = "stats"];- Parameters:
value- The stats to add.- Returns:
- This builder for chaining.
-
addAllStats
repeated string stats = 35 [json_name = "stats"];- Parameters:
values- The stats to add.- Returns:
- This builder for chaining.
-
clearStats
repeated string stats = 35 [json_name = "stats"];- Returns:
- This builder for chaining.
-
addStatsBytes
repeated string stats = 35 [json_name = "stats"];- Parameters:
value- The bytes of the stats to add.- Returns:
- This builder for chaining.
-
getStoredFieldsList
public com.google.protobuf.ProtocolStringList getStoredFieldsList()repeated string stored_fields = 36 [json_name = "storedFields"];- Specified by:
getStoredFieldsListin interfaceSearchRequestOrBuilder- Returns:
- A list containing the storedFields.
-
getStoredFieldsCount
public int getStoredFieldsCount()repeated string stored_fields = 36 [json_name = "storedFields"];- Specified by:
getStoredFieldsCountin interfaceSearchRequestOrBuilder- Returns:
- The count of storedFields.
-
getStoredFields
repeated string stored_fields = 36 [json_name = "storedFields"];- Specified by:
getStoredFieldsin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The storedFields at the given index.
-
getStoredFieldsBytes
public com.google.protobuf.ByteString getStoredFieldsBytes(int index) repeated string stored_fields = 36 [json_name = "storedFields"];- Specified by:
getStoredFieldsBytesin interfaceSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the storedFields at the given index.
-
setStoredFields
repeated string stored_fields = 36 [json_name = "storedFields"];- Parameters:
index- The index to set the value at.value- The storedFields to set.- Returns:
- This builder for chaining.
-
addStoredFields
repeated string stored_fields = 36 [json_name = "storedFields"];- Parameters:
value- The storedFields to add.- Returns:
- This builder for chaining.
-
addAllStoredFields
repeated string stored_fields = 36 [json_name = "storedFields"];- Parameters:
values- The storedFields to add.- Returns:
- This builder for chaining.
-
clearStoredFields
repeated string stored_fields = 36 [json_name = "storedFields"];- Returns:
- This builder for chaining.
-
addStoredFieldsBytes
repeated string stored_fields = 36 [json_name = "storedFields"];- Parameters:
value- The bytes of the storedFields to add.- Returns:
- This builder for chaining.
-
hasSuggestField
public boolean hasSuggestField()optional string suggest_field = 37 [json_name = "suggestField"];- Specified by:
hasSuggestFieldin interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestField field is set.
-
getSuggestField
optional string suggest_field = 37 [json_name = "suggestField"];- Specified by:
getSuggestFieldin interfaceSearchRequestOrBuilder- Returns:
- The suggestField.
-
getSuggestFieldBytes
public com.google.protobuf.ByteString getSuggestFieldBytes()optional string suggest_field = 37 [json_name = "suggestField"];- Specified by:
getSuggestFieldBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for suggestField.
-
setSuggestField
optional string suggest_field = 37 [json_name = "suggestField"];- Parameters:
value- The suggestField to set.- Returns:
- This builder for chaining.
-
clearSuggestField
optional string suggest_field = 37 [json_name = "suggestField"];- Returns:
- This builder for chaining.
-
setSuggestFieldBytes
optional string suggest_field = 37 [json_name = "suggestField"];- Parameters:
value- The bytes for suggestField to set.- Returns:
- This builder for chaining.
-
hasSuggestMode
public boolean hasSuggestMode()optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];- Specified by:
hasSuggestModein interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestMode field is set.
-
getSuggestModeValue
public int getSuggestModeValue()optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];- Specified by:
getSuggestModeValuein interfaceSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for suggestMode.
-
setSuggestModeValue
optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];- Parameters:
value- The enum numeric value on the wire for suggestMode to set.- Returns:
- This builder for chaining.
-
getSuggestMode
optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];- Specified by:
getSuggestModein interfaceSearchRequestOrBuilder- Returns:
- The suggestMode.
-
setSuggestMode
optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];- Parameters:
value- The suggestMode to set.- Returns:
- This builder for chaining.
-
clearSuggestMode
optional .SuggestMode suggest_mode = 38 [json_name = "suggestMode"];- Returns:
- This builder for chaining.
-
hasSuggestSize
public boolean hasSuggestSize()optional int32 suggest_size = 39 [json_name = "suggestSize"];- Specified by:
hasSuggestSizein interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestSize field is set.
-
getSuggestSize
public int getSuggestSize()optional int32 suggest_size = 39 [json_name = "suggestSize"];- Specified by:
getSuggestSizein interfaceSearchRequestOrBuilder- Returns:
- The suggestSize.
-
setSuggestSize
optional int32 suggest_size = 39 [json_name = "suggestSize"];- Parameters:
value- The suggestSize to set.- Returns:
- This builder for chaining.
-
clearSuggestSize
optional int32 suggest_size = 39 [json_name = "suggestSize"];- Returns:
- This builder for chaining.
-
hasSuggestText
public boolean hasSuggestText()optional string suggest_text = 40 [json_name = "suggestText"];- Specified by:
hasSuggestTextin interfaceSearchRequestOrBuilder- Returns:
- Whether the suggestText field is set.
-
getSuggestText
optional string suggest_text = 40 [json_name = "suggestText"];- Specified by:
getSuggestTextin interfaceSearchRequestOrBuilder- Returns:
- The suggestText.
-
getSuggestTextBytes
public com.google.protobuf.ByteString getSuggestTextBytes()optional string suggest_text = 40 [json_name = "suggestText"];- Specified by:
getSuggestTextBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for suggestText.
-
setSuggestText
optional string suggest_text = 40 [json_name = "suggestText"];- Parameters:
value- The suggestText to set.- Returns:
- This builder for chaining.
-
clearSuggestText
optional string suggest_text = 40 [json_name = "suggestText"];- Returns:
- This builder for chaining.
-
setSuggestTextBytes
optional string suggest_text = 40 [json_name = "suggestText"];- Parameters:
value- The bytes for suggestText to set.- Returns:
- This builder for chaining.
-
hasTerminateAfter
public boolean hasTerminateAfter()optional int32 terminate_after = 41 [json_name = "terminateAfter"];- Specified by:
hasTerminateAfterin interfaceSearchRequestOrBuilder- Returns:
- Whether the terminateAfter field is set.
-
getTerminateAfter
public int getTerminateAfter()optional int32 terminate_after = 41 [json_name = "terminateAfter"];- Specified by:
getTerminateAfterin interfaceSearchRequestOrBuilder- Returns:
- The terminateAfter.
-
setTerminateAfter
optional int32 terminate_after = 41 [json_name = "terminateAfter"];- Parameters:
value- The terminateAfter to set.- Returns:
- This builder for chaining.
-
clearTerminateAfter
optional int32 terminate_after = 41 [json_name = "terminateAfter"];- Returns:
- This builder for chaining.
-
hasTimeout
public boolean hasTimeout()optional string timeout = 42 [json_name = "timeout"];- Specified by:
hasTimeoutin interfaceSearchRequestOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
optional string timeout = 42 [json_name = "timeout"];- Specified by:
getTimeoutin interfaceSearchRequestOrBuilder- Returns:
- The timeout.
-
getTimeoutBytes
public com.google.protobuf.ByteString getTimeoutBytes()optional string timeout = 42 [json_name = "timeout"];- Specified by:
getTimeoutBytesin interfaceSearchRequestOrBuilder- Returns:
- The bytes for timeout.
-
setTimeout
optional string timeout = 42 [json_name = "timeout"];- Parameters:
value- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
optional string timeout = 42 [json_name = "timeout"];- Returns:
- This builder for chaining.
-
setTimeoutBytes
optional string timeout = 42 [json_name = "timeout"];- Parameters:
value- The bytes for timeout to set.- Returns:
- This builder for chaining.
-
hasTrackScores
public boolean hasTrackScores()optional bool track_scores = 43 [json_name = "trackScores"];- Specified by:
hasTrackScoresin interfaceSearchRequestOrBuilder- Returns:
- Whether the trackScores field is set.
-
getTrackScores
public boolean getTrackScores()optional bool track_scores = 43 [json_name = "trackScores"];- Specified by:
getTrackScoresin interfaceSearchRequestOrBuilder- Returns:
- The trackScores.
-
setTrackScores
optional bool track_scores = 43 [json_name = "trackScores"];- Parameters:
value- The trackScores to set.- Returns:
- This builder for chaining.
-
clearTrackScores
optional bool track_scores = 43 [json_name = "trackScores"];- Returns:
- This builder for chaining.
-
hasTrackTotalHits
public boolean hasTrackTotalHits()optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];- Specified by:
hasTrackTotalHitsin interfaceSearchRequestOrBuilder- Returns:
- Whether the trackTotalHits field is set.
-
getTrackTotalHits
optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];- Specified by:
getTrackTotalHitsin interfaceSearchRequestOrBuilder- Returns:
- The trackTotalHits.
-
setTrackTotalHits
optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"]; -
setTrackTotalHits
optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"]; -
mergeTrackTotalHits
optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"]; -
clearTrackTotalHits
optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"]; -
getTrackTotalHitsBuilder
optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"]; -
getTrackTotalHitsOrBuilder
optional .TrackHits track_total_hits = 44 [json_name = "trackTotalHits"];- Specified by:
getTrackTotalHitsOrBuilderin interfaceSearchRequestOrBuilder
-
hasTypedKeys
public boolean hasTypedKeys()optional bool typed_keys = 45 [json_name = "typedKeys"];- Specified by:
hasTypedKeysin interfaceSearchRequestOrBuilder- Returns:
- Whether the typedKeys field is set.
-
getTypedKeys
public boolean getTypedKeys()optional bool typed_keys = 45 [json_name = "typedKeys"];- Specified by:
getTypedKeysin interfaceSearchRequestOrBuilder- Returns:
- The typedKeys.
-
setTypedKeys
optional bool typed_keys = 45 [json_name = "typedKeys"];- Parameters:
value- The typedKeys to set.- Returns:
- This builder for chaining.
-
clearTypedKeys
optional bool typed_keys = 45 [json_name = "typedKeys"];- Returns:
- This builder for chaining.
-
hasVerbosePipeline
public boolean hasVerbosePipeline()optional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];- Specified by:
hasVerbosePipelinein interfaceSearchRequestOrBuilder- Returns:
- Whether the verbosePipeline field is set.
-
getVerbosePipeline
public boolean getVerbosePipeline()optional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];- Specified by:
getVerbosePipelinein interfaceSearchRequestOrBuilder- Returns:
- The verbosePipeline.
-
setVerbosePipeline
optional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];- Parameters:
value- The verbosePipeline to set.- Returns:
- This builder for chaining.
-
clearVerbosePipeline
optional bool verbose_pipeline = 46 [json_name = "verbosePipeline"];- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()optional bool version = 47 [json_name = "version"];- Specified by:
hasVersionin interfaceSearchRequestOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public boolean getVersion()optional bool version = 47 [json_name = "version"];- Specified by:
getVersionin interfaceSearchRequestOrBuilder- Returns:
- The version.
-
setVersion
optional bool version = 47 [json_name = "version"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
optional bool version = 47 [json_name = "version"];- Returns:
- This builder for chaining.
-
hasRequestBody
public boolean hasRequestBody().SearchRequestBody request_body = 48 [json_name = "requestBody"];- Specified by:
hasRequestBodyin interfaceSearchRequestOrBuilder- Returns:
- Whether the requestBody field is set.
-
getRequestBody
.SearchRequestBody request_body = 48 [json_name = "requestBody"];- Specified by:
getRequestBodyin interfaceSearchRequestOrBuilder- Returns:
- The requestBody.
-
setRequestBody
.SearchRequestBody request_body = 48 [json_name = "requestBody"]; -
setRequestBody
.SearchRequestBody request_body = 48 [json_name = "requestBody"]; -
mergeRequestBody
.SearchRequestBody request_body = 48 [json_name = "requestBody"]; -
clearRequestBody
.SearchRequestBody request_body = 48 [json_name = "requestBody"]; -
getRequestBodyBuilder
.SearchRequestBody request_body = 48 [json_name = "requestBody"]; -
getRequestBodyOrBuilder
.SearchRequestBody request_body = 48 [json_name = "requestBody"];- Specified by:
getRequestBodyOrBuilderin interfaceSearchRequestOrBuilder
-
hasGlobalParams
public boolean hasGlobalParams()optional .GlobalParams global_params = 49 [json_name = "globalParams"];- Specified by:
hasGlobalParamsin interfaceSearchRequestOrBuilder- Returns:
- Whether the globalParams field is set.
-
getGlobalParams
optional .GlobalParams global_params = 49 [json_name = "globalParams"];- Specified by:
getGlobalParamsin interfaceSearchRequestOrBuilder- Returns:
- The globalParams.
-
setGlobalParams
optional .GlobalParams global_params = 49 [json_name = "globalParams"]; -
setGlobalParams
optional .GlobalParams global_params = 49 [json_name = "globalParams"]; -
mergeGlobalParams
optional .GlobalParams global_params = 49 [json_name = "globalParams"]; -
clearGlobalParams
optional .GlobalParams global_params = 49 [json_name = "globalParams"]; -
getGlobalParamsBuilder
optional .GlobalParams global_params = 49 [json_name = "globalParams"]; -
getGlobalParamsOrBuilder
optional .GlobalParams global_params = 49 [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>
-