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 TypeMethodDescriptionoptional .ObjectMap fields = 8 [json_name = "fields"];optional .ObjectMap fields = 8 [json_name = "fields"];getHits().HitsMetadata hits = 5 [json_name = "hits"];.HitsMetadata hits = 5 [json_name = "hits"];intoptional int32 num_reduce_phases = 9 [json_name = "numReducePhases"];optional .PhaseTook phase_took = 4 [json_name = "phaseTook"];optional .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 .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];intrepeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];getProcessorResultsOrBuilder(int index) repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];List<? extends ProcessorExecutionDetailOrBuilder> repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"];optional .Profile profile = 10 [json_name = "profile"];optional .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 .ClusterStatistics x_clusters = 7 [json_name = "xClusters"];optional .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"];.ShardStatistics x_shards = 3 [json_name = "xShards"];.ShardStatistics x_shards = 3 [json_name = "xShards"];booleanoptional .ObjectMap fields = 8 [json_name = "fields"];booleanhasHits().HitsMetadata hits = 5 [json_name = "hits"];booleanoptional int32 num_reduce_phases = 9 [json_name = "numReducePhases"];booleanoptional .PhaseTook phase_took = 4 [json_name = "phaseTook"];booleanhasPitId()optional string pit_id = 11 [json_name = "pitId"];booleanoptional .Profile profile = 10 [json_name = "profile"];booleanoptional bool terminated_early = 13 [json_name = "terminatedEarly"];booleanoptional .ClusterStatistics x_clusters = 7 [json_name = "xClusters"];booleanoptional string x_scroll_id = 12 [json_name = "xScrollId"];boolean.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().ShardStatistics x_shards = 3 [json_name = "xShards"];- Returns:
- Whether the xShards field is set.
-
getXShards
ShardStatistics getXShards().ShardStatistics x_shards = 3 [json_name = "xShards"];- Returns:
- The xShards.
-
getXShardsOrBuilder
ShardStatisticsOrBuilder getXShardsOrBuilder().ShardStatistics x_shards = 3 [json_name = "xShards"]; -
hasPhaseTook
boolean hasPhaseTook()optional .PhaseTook phase_took = 4 [json_name = "phaseTook"];- Returns:
- Whether the phaseTook field is set.
-
getPhaseTook
PhaseTook getPhaseTook()optional .PhaseTook phase_took = 4 [json_name = "phaseTook"];- Returns:
- The phaseTook.
-
getPhaseTookOrBuilder
PhaseTookOrBuilder getPhaseTookOrBuilder()optional .PhaseTook phase_took = 4 [json_name = "phaseTook"]; -
hasHits
boolean hasHits().HitsMetadata hits = 5 [json_name = "hits"];- Returns:
- Whether the hits field is set.
-
getHits
HitsMetadata getHits().HitsMetadata hits = 5 [json_name = "hits"];- Returns:
- The hits.
-
getHitsOrBuilder
HitsMetadataOrBuilder getHitsOrBuilder().HitsMetadata hits = 5 [json_name = "hits"]; -
getProcessorResultsList
List<ProcessorExecutionDetail> getProcessorResultsList()repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResults
repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResultsCount
int getProcessorResultsCount()repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResultsOrBuilderList
List<? extends ProcessorExecutionDetailOrBuilder> getProcessorResultsOrBuilderList()repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
getProcessorResultsOrBuilder
repeated .ProcessorExecutionDetail processor_results = 6 [json_name = "processorResults"]; -
hasXClusters
boolean hasXClusters()optional .ClusterStatistics x_clusters = 7 [json_name = "xClusters"];- Returns:
- Whether the xClusters field is set.
-
getXClusters
ClusterStatistics getXClusters()optional .ClusterStatistics x_clusters = 7 [json_name = "xClusters"];- Returns:
- The xClusters.
-
getXClustersOrBuilder
ClusterStatisticsOrBuilder getXClustersOrBuilder()optional .ClusterStatistics x_clusters = 7 [json_name = "xClusters"]; -
hasFields
boolean hasFields()optional .ObjectMap fields = 8 [json_name = "fields"];- Returns:
- Whether the fields field is set.
-
getFields
ObjectMap getFields()optional .ObjectMap fields = 8 [json_name = "fields"];- Returns:
- The fields.
-
getFieldsOrBuilder
ObjectMapOrBuilder getFieldsOrBuilder()optional .ObjectMap fields = 8 [json_name = "fields"]; -
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 .Profile profile = 10 [json_name = "profile"];- Returns:
- Whether the profile field is set.
-
getProfile
Profile getProfile()optional .Profile profile = 10 [json_name = "profile"];- Returns:
- The profile.
-
getProfileOrBuilder
ProfileOrBuilder getProfileOrBuilder()optional .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.
-