Interface InnerHitsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InnerHits, InnerHits.Builder

public interface InnerHitsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasName

      boolean hasName()
      optional string name = 1 [json_name = "name"];
      Returns:
      Whether the name field is set.
    • getName

      String getName()
      optional string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      optional string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • hasSize

      boolean hasSize()
      optional int32 size = 2 [json_name = "size"];
      Returns:
      Whether the size field is set.
    • getSize

      int getSize()
      optional int32 size = 2 [json_name = "size"];
      Returns:
      The size.
    • hasFrom

      boolean hasFrom()
      optional int32 from = 3 [json_name = "from"];
      Returns:
      Whether the from field is set.
    • getFrom

      int getFrom()
      optional int32 from = 3 [json_name = "from"];
      Returns:
      The from.
    • hasCollapse

      boolean hasCollapse()
      optional .org.opensearch.protobufs.FieldCollapse collapse = 4 [json_name = "collapse"];
      Returns:
      Whether the collapse field is set.
    • getCollapse

      FieldCollapse getCollapse()
      optional .org.opensearch.protobufs.FieldCollapse collapse = 4 [json_name = "collapse"];
      Returns:
      The collapse.
    • getCollapseOrBuilder

      FieldCollapseOrBuilder getCollapseOrBuilder()
      optional .org.opensearch.protobufs.FieldCollapse collapse = 4 [json_name = "collapse"];
    • getDocvalueFieldsList

      List<FieldAndFormat> getDocvalueFieldsList()
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 5 [json_name = "docvalueFields"];
    • getDocvalueFields

      FieldAndFormat getDocvalueFields(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 5 [json_name = "docvalueFields"];
    • getDocvalueFieldsCount

      int getDocvalueFieldsCount()
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 5 [json_name = "docvalueFields"];
    • getDocvalueFieldsOrBuilderList

      List<? extends FieldAndFormatOrBuilder> getDocvalueFieldsOrBuilderList()
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 5 [json_name = "docvalueFields"];
    • getDocvalueFieldsOrBuilder

      FieldAndFormatOrBuilder getDocvalueFieldsOrBuilder(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat docvalue_fields = 5 [json_name = "docvalueFields"];
    • hasExplain

      boolean hasExplain()
      optional bool explain = 6 [json_name = "explain"];
      Returns:
      Whether the explain field is set.
    • getExplain

      boolean getExplain()
      optional bool explain = 6 [json_name = "explain"];
      Returns:
      The explain.
    • hasHighlight

      boolean hasHighlight()
      optional .org.opensearch.protobufs.Highlight highlight = 7 [json_name = "highlight"];
      Returns:
      Whether the highlight field is set.
    • getHighlight

      Highlight getHighlight()
      optional .org.opensearch.protobufs.Highlight highlight = 7 [json_name = "highlight"];
      Returns:
      The highlight.
    • getHighlightOrBuilder

      HighlightOrBuilder getHighlightOrBuilder()
      optional .org.opensearch.protobufs.Highlight highlight = 7 [json_name = "highlight"];
    • hasIgnoreUnmapped

      boolean hasIgnoreUnmapped()
      optional bool ignore_unmapped = 8 [json_name = "ignoreUnmapped"];
      Returns:
      Whether the ignoreUnmapped field is set.
    • getIgnoreUnmapped

      boolean getIgnoreUnmapped()
      optional bool ignore_unmapped = 8 [json_name = "ignoreUnmapped"];
      Returns:
      The ignoreUnmapped.
    • getScriptFieldsCount

      int getScriptFieldsCount()
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 9 [json_name = "scriptFields"];
    • containsScriptFields

      boolean containsScriptFields(String key)
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 9 [json_name = "scriptFields"];
    • getScriptFields

      @Deprecated Map<String,ScriptField> getScriptFields()
      Deprecated.
    • getScriptFieldsMap

      Map<String,ScriptField> getScriptFieldsMap()
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 9 [json_name = "scriptFields"];
    • getScriptFieldsOrDefault

      ScriptField getScriptFieldsOrDefault(String key, ScriptField defaultValue)
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 9 [json_name = "scriptFields"];
    • getScriptFieldsOrThrow

      ScriptField getScriptFieldsOrThrow(String key)
      map<string, .org.opensearch.protobufs.ScriptField> script_fields = 9 [json_name = "scriptFields"];
    • hasSeqNoPrimaryTerm

      boolean hasSeqNoPrimaryTerm()
      optional bool seq_no_primary_term = 10 [json_name = "seqNoPrimaryTerm"];
      Returns:
      Whether the seqNoPrimaryTerm field is set.
    • getSeqNoPrimaryTerm

      boolean getSeqNoPrimaryTerm()
      optional bool seq_no_primary_term = 10 [json_name = "seqNoPrimaryTerm"];
      Returns:
      The seqNoPrimaryTerm.
    • getFieldsList

      List<FieldAndFormat> getFieldsList()
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 11 [json_name = "fields"];
    • getFields

      FieldAndFormat getFields(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 11 [json_name = "fields"];
    • getFieldsCount

      int getFieldsCount()
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 11 [json_name = "fields"];
    • getFieldsOrBuilderList

      List<? extends FieldAndFormatOrBuilder> getFieldsOrBuilderList()
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 11 [json_name = "fields"];
    • getFieldsOrBuilder

      FieldAndFormatOrBuilder getFieldsOrBuilder(int index)
      repeated .org.opensearch.protobufs.FieldAndFormat fields = 11 [json_name = "fields"];
    • getSortList

      List<SortCombinations> getSortList()
      repeated .org.opensearch.protobufs.SortCombinations sort = 12 [json_name = "sort"];
    • getSort

      SortCombinations getSort(int index)
      repeated .org.opensearch.protobufs.SortCombinations sort = 12 [json_name = "sort"];
    • getSortCount

      int getSortCount()
      repeated .org.opensearch.protobufs.SortCombinations sort = 12 [json_name = "sort"];
    • getSortOrBuilderList

      List<? extends SortCombinationsOrBuilder> getSortOrBuilderList()
      repeated .org.opensearch.protobufs.SortCombinations sort = 12 [json_name = "sort"];
    • getSortOrBuilder

      SortCombinationsOrBuilder getSortOrBuilder(int index)
      repeated .org.opensearch.protobufs.SortCombinations sort = 12 [json_name = "sort"];
    • hasXSource

      boolean hasXSource()
      optional .org.opensearch.protobufs.SourceConfig x_source = 13 [json_name = "xSource"];
      Returns:
      Whether the xSource field is set.
    • getXSource

      SourceConfig getXSource()
      optional .org.opensearch.protobufs.SourceConfig x_source = 13 [json_name = "xSource"];
      Returns:
      The xSource.
    • getXSourceOrBuilder

      SourceConfigOrBuilder getXSourceOrBuilder()
      optional .org.opensearch.protobufs.SourceConfig x_source = 13 [json_name = "xSource"];
    • getStoredFieldsList

      List<String> getStoredFieldsList()
      repeated string stored_fields = 14 [json_name = "storedFields"];
      Returns:
      A list containing the storedFields.
    • getStoredFieldsCount

      int getStoredFieldsCount()
      repeated string stored_fields = 14 [json_name = "storedFields"];
      Returns:
      The count of storedFields.
    • getStoredFields

      String getStoredFields(int index)
      repeated string stored_fields = 14 [json_name = "storedFields"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The storedFields at the given index.
    • getStoredFieldsBytes

      com.google.protobuf.ByteString getStoredFieldsBytes(int index)
      repeated string stored_fields = 14 [json_name = "storedFields"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the storedFields at the given index.
    • hasTrackScores

      boolean hasTrackScores()
      optional bool track_scores = 15 [json_name = "trackScores"];
      Returns:
      Whether the trackScores field is set.
    • getTrackScores

      boolean getTrackScores()
      optional bool track_scores = 15 [json_name = "trackScores"];
      Returns:
      The trackScores.
    • hasVersion

      boolean hasVersion()
      optional bool version = 16 [json_name = "version"];
      Returns:
      Whether the version field is set.
    • getVersion

      boolean getVersion()
      optional bool version = 16 [json_name = "version"];
      Returns:
      The version.