Package org.opensearch.protobufs
Interface HitsMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HitsMetadata,HitsMetadata.Builder
public interface HitsMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHits(int index) repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"];intrepeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"];repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"];getHitsOrBuilder(int index) repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"];List<? extends HitsMetadataHitsInnerOrBuilder> repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"];optional .org.opensearch.protobufs.HitsMetadataMaxScore max_score = 3 [json_name = "maxScore"];optional .org.opensearch.protobufs.HitsMetadataMaxScore max_score = 3 [json_name = "maxScore"];getTotal()optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];booleanoptional .org.opensearch.protobufs.HitsMetadataMaxScore max_score = 3 [json_name = "maxScore"];booleanhasTotal()optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];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
-
hasTotal
boolean hasTotal()optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];- Returns:
- Whether the total field is set.
-
getTotal
HitsMetadataTotal getTotal()optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];- Returns:
- The total.
-
getTotalOrBuilder
HitsMetadataTotalOrBuilder getTotalOrBuilder()optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"]; -
getHitsList
List<HitsMetadataHitsInner> getHitsList()repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"]; -
getHits
repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"]; -
getHitsCount
int getHitsCount()repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"]; -
getHitsOrBuilderList
List<? extends HitsMetadataHitsInnerOrBuilder> getHitsOrBuilderList()repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"]; -
getHitsOrBuilder
repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"]; -
hasMaxScore
boolean hasMaxScore()optional .org.opensearch.protobufs.HitsMetadataMaxScore max_score = 3 [json_name = "maxScore"];- Returns:
- Whether the maxScore field is set.
-
getMaxScore
HitsMetadataMaxScore getMaxScore()optional .org.opensearch.protobufs.HitsMetadataMaxScore max_score = 3 [json_name = "maxScore"];- Returns:
- The maxScore.
-
getMaxScoreOrBuilder
HitsMetadataMaxScoreOrBuilder getMaxScoreOrBuilder()optional .org.opensearch.protobufs.HitsMetadataMaxScore max_score = 3 [json_name = "maxScore"];
-