Package org.opensearch.protobufs
Interface SearchResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchResponse,SearchResponse.Builder
public interface SearchResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmap<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"];Deprecated.intmap<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"];map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"];getAggregationsOrDefault(String key, Aggregate defaultValue) map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"];map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"];Deprecated.org.opensearch.protobufs.SearchResponse.fields is deprecated.Deprecated.getHits().org.opensearch.protobufs.HitsMetadata hits = 5 [json_name = "hits"];.org.opensearch.protobufs.HitsMetadata hits = 5 [json_name = "hits"];intoptional int32 num_reduce_phases = 9 [json_name = "numReducePhases"];optional .org.opensearch.protobufs.PhaseTook phase_took = 4 [json_name = "phaseTook"];optional .org.opensearch.protobufs.PhaseTook phase_took = 4 [json_name = "phaseTook"];getPitId()optional string pit_id = 11 [json_name = "pitId"];com.google.protobuf.ByteStringoptional string pit_id = 11 [json_name = "pitId"];getProcessorResults(int index) repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];intrepeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];getProcessorResultsOrBuilder(int index) repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];List<? extends ProcessorExecutionDetailOrBuilder> repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];optional .org.opensearch.protobufs.Profile profile = 10 [json_name = "profile"];optional .org.opensearch.protobufs.Profile profile = 10 [json_name = "profile"];booleanoptional bool terminated_early = 13 [json_name = "terminatedEarly"];booleanbool timed_out = 2 [json_name = "timedOut"];longgetTook()int64 took = 1 [json_name = "took"];optional .org.opensearch.protobufs.ClusterStatistics x_clusters = 7 [json_name = "xClusters"];optional .org.opensearch.protobufs.ClusterStatistics x_clusters = 7 [json_name = "xClusters"];optional string x_scroll_id = 12 [json_name = "xScrollId"];com.google.protobuf.ByteStringoptional string x_scroll_id = 12 [json_name = "xScrollId"];.org.opensearch.protobufs.ShardStatistics x_shards = 3 [json_name = "xShards"];.org.opensearch.protobufs.ShardStatistics x_shards = 3 [json_name = "xShards"];booleanDeprecated.org.opensearch.protobufs.SearchResponse.fields is deprecated.booleanhasHits().org.opensearch.protobufs.HitsMetadata hits = 5 [json_name = "hits"];booleanoptional int32 num_reduce_phases = 9 [json_name = "numReducePhases"];booleanoptional .org.opensearch.protobufs.PhaseTook phase_took = 4 [json_name = "phaseTook"];booleanhasPitId()optional string pit_id = 11 [json_name = "pitId"];booleanoptional .org.opensearch.protobufs.Profile profile = 10 [json_name = "profile"];booleanoptional bool terminated_early = 13 [json_name = "terminatedEarly"];booleanoptional .org.opensearch.protobufs.ClusterStatistics x_clusters = 7 [json_name = "xClusters"];booleanoptional string x_scroll_id = 12 [json_name = "xScrollId"];boolean.org.opensearch.protobufs.ShardStatistics x_shards = 3 [json_name = "xShards"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTook
long getTook()int64 took = 1 [json_name = "took"];- Returns:
- The took.
-
getTimedOut
boolean getTimedOut()bool timed_out = 2 [json_name = "timedOut"];- Returns:
- The timedOut.
-
hasXShards
boolean hasXShards().org.opensearch.protobufs.ShardStatistics x_shards = 3 [json_name = "xShards"];- Returns:
- Whether the xShards field is set.
-
getXShards
ShardStatistics getXShards().org.opensearch.protobufs.ShardStatistics x_shards = 3 [json_name = "xShards"];- Returns:
- The xShards.
-
getXShardsOrBuilder
ShardStatisticsOrBuilder getXShardsOrBuilder().org.opensearch.protobufs.ShardStatistics x_shards = 3 [json_name = "xShards"]; -
hasPhaseTook
boolean hasPhaseTook()optional .org.opensearch.protobufs.PhaseTook phase_took = 4 [json_name = "phaseTook"];- Returns:
- Whether the phaseTook field is set.
-
getPhaseTook
PhaseTook getPhaseTook()optional .org.opensearch.protobufs.PhaseTook phase_took = 4 [json_name = "phaseTook"];- Returns:
- The phaseTook.
-
getPhaseTookOrBuilder
PhaseTookOrBuilder getPhaseTookOrBuilder()optional .org.opensearch.protobufs.PhaseTook phase_took = 4 [json_name = "phaseTook"]; -
hasHits
boolean hasHits().org.opensearch.protobufs.HitsMetadata hits = 5 [json_name = "hits"];- Returns:
- Whether the hits field is set.
-
getHits
HitsMetadata getHits().org.opensearch.protobufs.HitsMetadata hits = 5 [json_name = "hits"];- Returns:
- The hits.
-
getHitsOrBuilder
HitsMetadataOrBuilder getHitsOrBuilder().org.opensearch.protobufs.HitsMetadata hits = 5 [json_name = "hits"]; -
getProcessorResultsList
List<ProcessorExecutionDetail> getProcessorResultsList()repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResults
repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResultsCount
int getProcessorResultsCount()repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResultsOrBuilderList
List<? extends ProcessorExecutionDetailOrBuilder> getProcessorResultsOrBuilderList()repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResultsOrBuilder
repeated .org.opensearch.protobufs.ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
hasXClusters
boolean hasXClusters()optional .org.opensearch.protobufs.ClusterStatistics x_clusters = 7 [json_name = "xClusters"];- Returns:
- Whether the xClusters field is set.
-
getXClusters
ClusterStatistics getXClusters()optional .org.opensearch.protobufs.ClusterStatistics x_clusters = 7 [json_name = "xClusters"];- Returns:
- The xClusters.
-
getXClustersOrBuilder
ClusterStatisticsOrBuilder getXClustersOrBuilder()optional .org.opensearch.protobufs.ClusterStatistics x_clusters = 7 [json_name = "xClusters"]; -
hasFields
Deprecated.org.opensearch.protobufs.SearchResponse.fields is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.ObjectMap fields = 8 [json_name = "fields", deprecated = true];- Returns:
- Whether the fields field is set.
-
getFields
Deprecated.org.opensearch.protobufs.SearchResponse.fields is deprecated. See protos/schemas/common.proto;l=0optional .org.opensearch.protobufs.ObjectMap fields = 8 [json_name = "fields", deprecated = true];- Returns:
- The fields.
-
getFieldsOrBuilder
Deprecated.optional .org.opensearch.protobufs.ObjectMap fields = 8 [json_name = "fields", deprecated = true]; -
hasNumReducePhases
boolean hasNumReducePhases()optional int32 num_reduce_phases = 9 [json_name = "numReducePhases"];- Returns:
- Whether the numReducePhases field is set.
-
getNumReducePhases
int getNumReducePhases()optional int32 num_reduce_phases = 9 [json_name = "numReducePhases"];- Returns:
- The numReducePhases.
-
hasProfile
boolean hasProfile()optional .org.opensearch.protobufs.Profile profile = 10 [json_name = "profile"];- Returns:
- Whether the profile field is set.
-
getProfile
Profile getProfile()optional .org.opensearch.protobufs.Profile profile = 10 [json_name = "profile"];- Returns:
- The profile.
-
getProfileOrBuilder
ProfileOrBuilder getProfileOrBuilder()optional .org.opensearch.protobufs.Profile profile = 10 [json_name = "profile"]; -
hasPitId
boolean hasPitId()optional string pit_id = 11 [json_name = "pitId"];- Returns:
- Whether the pitId field is set.
-
getPitId
String getPitId()optional string pit_id = 11 [json_name = "pitId"];- Returns:
- The pitId.
-
getPitIdBytes
com.google.protobuf.ByteString getPitIdBytes()optional string pit_id = 11 [json_name = "pitId"];- Returns:
- The bytes for pitId.
-
hasXScrollId
boolean hasXScrollId()optional string x_scroll_id = 12 [json_name = "xScrollId"];- Returns:
- Whether the xScrollId field is set.
-
getXScrollId
String getXScrollId()optional string x_scroll_id = 12 [json_name = "xScrollId"];- Returns:
- The xScrollId.
-
getXScrollIdBytes
com.google.protobuf.ByteString getXScrollIdBytes()optional string x_scroll_id = 12 [json_name = "xScrollId"];- Returns:
- The bytes for xScrollId.
-
hasTerminatedEarly
boolean hasTerminatedEarly()optional bool terminated_early = 13 [json_name = "terminatedEarly"];- Returns:
- Whether the terminatedEarly field is set.
-
getTerminatedEarly
boolean getTerminatedEarly()optional bool terminated_early = 13 [json_name = "terminatedEarly"];- Returns:
- The terminatedEarly.
-
getAggregationsCount
int getAggregationsCount()map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"]; -
containsAggregations
map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"]; -
getAggregations
Deprecated.UsegetAggregationsMap()instead. -
getAggregationsMap
map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"]; -
getAggregationsOrDefault
map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"]; -
getAggregationsOrThrow
map<string, .org.opensearch.protobufs.Aggregate> aggregations = 14 [json_name = "aggregations"];
-