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 Type
    Method
    Description
    getHits(int index)
    repeated .org.opensearch.protobufs.HitsMetadataHitsInner hits = 2 [json_name = "hits"];
    int
    repeated .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"];
    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"];
    optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];
    optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];
    boolean
    optional .org.opensearch.protobufs.HitsMetadataMaxScore max_score = 3 [json_name = "maxScore"];
    boolean
    optional .org.opensearch.protobufs.HitsMetadataTotal total = 1 [json_name = "total"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      HitsMetadataHitsInner getHits(int index)
      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

      HitsMetadataHitsInnerOrBuilder getHitsOrBuilder(int index)
      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"];