Package org.opensearch.protobufs
Class SearchRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.SearchRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,SearchRequestOrBuilder
public final class SearchRequest
extends com.google.protobuf.GeneratedMessageV3
implements SearchRequestOrBuilder
Protobuf type
org.opensearch.protobufs.SearchRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.opensearch.protobufs.SearchRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanoptional 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"];static SearchRequestoptional .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.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"];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"];com.google.protobuf.Parser<SearchRequest> 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.SearchType search_type = 26 [json_name = "searchType"];intoptional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];intoptional 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"];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"];inthashCode()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 booleanstatic SearchRequest.Builderstatic SearchRequest.BuildernewBuilder(SearchRequest prototype) protected SearchRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SearchRequestparseDelimitedFrom(InputStream input) static SearchRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchRequestparseFrom(byte[] data) static SearchRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchRequestparseFrom(com.google.protobuf.ByteString data) static SearchRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchRequestparseFrom(com.google.protobuf.CodedInputStream input) static SearchRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchRequestparseFrom(InputStream input) static SearchRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchRequestparseFrom(ByteBuffer data) static SearchRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER- See Also:
-
X_SOURCE_FIELD_NUMBER
public static final int X_SOURCE_FIELD_NUMBER- See Also:
-
X_SOURCE_EXCLUDES_FIELD_NUMBER
public static final int X_SOURCE_EXCLUDES_FIELD_NUMBER- See Also:
-
X_SOURCE_INCLUDES_FIELD_NUMBER
public static final int X_SOURCE_INCLUDES_FIELD_NUMBER- See Also:
-
ALLOW_NO_INDICES_FIELD_NUMBER
public static final int ALLOW_NO_INDICES_FIELD_NUMBER- See Also:
-
ALLOW_PARTIAL_SEARCH_RESULTS_FIELD_NUMBER
public static final int ALLOW_PARTIAL_SEARCH_RESULTS_FIELD_NUMBER- See Also:
-
ANALYZE_WILDCARD_FIELD_NUMBER
public static final int ANALYZE_WILDCARD_FIELD_NUMBER- See Also:
-
BATCHED_REDUCE_SIZE_FIELD_NUMBER
public static final int BATCHED_REDUCE_SIZE_FIELD_NUMBER- See Also:
-
CANCEL_AFTER_TIME_INTERVAL_FIELD_NUMBER
public static final int CANCEL_AFTER_TIME_INTERVAL_FIELD_NUMBER- See Also:
-
CCS_MINIMIZE_ROUNDTRIPS_FIELD_NUMBER
public static final int CCS_MINIMIZE_ROUNDTRIPS_FIELD_NUMBER- See Also:
-
DEFAULT_OPERATOR_FIELD_NUMBER
public static final int DEFAULT_OPERATOR_FIELD_NUMBER- See Also:
-
DF_FIELD_NUMBER
public static final int DF_FIELD_NUMBER- See Also:
-
DOCVALUE_FIELDS_FIELD_NUMBER
public static final int DOCVALUE_FIELDS_FIELD_NUMBER- See Also:
-
EXPAND_WILDCARDS_FIELD_NUMBER
public static final int EXPAND_WILDCARDS_FIELD_NUMBER- See Also:
-
IGNORE_THROTTLED_FIELD_NUMBER
public static final int IGNORE_THROTTLED_FIELD_NUMBER- See Also:
-
IGNORE_UNAVAILABLE_FIELD_NUMBER
public static final int IGNORE_UNAVAILABLE_FIELD_NUMBER- See Also:
-
MAX_CONCURRENT_SHARD_REQUESTS_FIELD_NUMBER
public static final int MAX_CONCURRENT_SHARD_REQUESTS_FIELD_NUMBER- See Also:
-
PHASE_TOOK_FIELD_NUMBER
public static final int PHASE_TOOK_FIELD_NUMBER- See Also:
-
PRE_FILTER_SHARD_SIZE_FIELD_NUMBER
public static final int PRE_FILTER_SHARD_SIZE_FIELD_NUMBER- See Also:
-
PREFERENCE_FIELD_NUMBER
public static final int PREFERENCE_FIELD_NUMBER- See Also:
-
Q_FIELD_NUMBER
public static final int Q_FIELD_NUMBER- See Also:
-
REQUEST_CACHE_FIELD_NUMBER
public static final int REQUEST_CACHE_FIELD_NUMBER- See Also:
-
TOTAL_HITS_AS_INT_FIELD_NUMBER
public static final int TOTAL_HITS_AS_INT_FIELD_NUMBER- See Also:
-
ROUTING_FIELD_NUMBER
public static final int ROUTING_FIELD_NUMBER- See Also:
-
SCROLL_FIELD_NUMBER
public static final int SCROLL_FIELD_NUMBER- See Also:
-
SEARCH_TYPE_FIELD_NUMBER
public static final int SEARCH_TYPE_FIELD_NUMBER- See Also:
-
SUGGEST_FIELD_FIELD_NUMBER
public static final int SUGGEST_FIELD_FIELD_NUMBER- See Also:
-
SUGGEST_MODE_FIELD_NUMBER
public static final int SUGGEST_MODE_FIELD_NUMBER- See Also:
-
SUGGEST_SIZE_FIELD_NUMBER
public static final int SUGGEST_SIZE_FIELD_NUMBER- See Also:
-
SUGGEST_TEXT_FIELD_NUMBER
public static final int SUGGEST_TEXT_FIELD_NUMBER- See Also:
-
TYPED_KEYS_FIELD_NUMBER
public static final int TYPED_KEYS_FIELD_NUMBER- See Also:
-
SEARCH_REQUEST_BODY_FIELD_NUMBER
public static final int SEARCH_REQUEST_BODY_FIELD_NUMBER- See Also:
-
GLOBAL_PARAMS_FIELD_NUMBER
public static final int GLOBAL_PARAMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getDefaultOperator
optional .org.opensearch.protobufs.Operator default_operator = 11 [json_name = "defaultOperator"];- Specified by:
getDefaultOperatorin interfaceSearchRequestOrBuilder- Returns:
- The defaultOperator.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getSearchType
optional .org.opensearch.protobufs.SearchType search_type = 26 [json_name = "searchType"];- Specified by:
getSearchTypein interfaceSearchRequestOrBuilder- Returns:
- The searchType.
-
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.
-
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.
-
getSuggestMode
optional .org.opensearch.protobufs.SuggestMode suggest_mode = 28 [json_name = "suggestMode"];- Specified by:
getSuggestModein interfaceSearchRequestOrBuilder- Returns:
- The suggestMode.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getGlobalParamsOrBuilder
optional .org.opensearch.protobufs.GlobalParams global_params = 33 [json_name = "globalParams"];- Specified by:
getGlobalParamsOrBuilderin interfaceSearchRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-