Interface HitsOrBuilder

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

public interface HitsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    getIDs(int index)
    repeated int64 IDs = 1;
    int
    repeated int64 IDs = 1;
    repeated int64 IDs = 1;
    com.google.protobuf.ByteString
    getRowData(int index)
    repeated bytes row_data = 2;
    int
    repeated bytes row_data = 2;
    List<com.google.protobuf.ByteString>
    repeated bytes row_data = 2;
    float
    getScores(int index)
    repeated float scores = 3;
    int
    repeated float scores = 3;
    repeated float scores = 3;

    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

    • getIDsList

      List<Long> getIDsList()
      repeated int64 IDs = 1;
      Returns:
      A list containing the iDs.
    • getIDsCount

      int getIDsCount()
      repeated int64 IDs = 1;
      Returns:
      The count of iDs.
    • getIDs

      long getIDs(int index)
      repeated int64 IDs = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The iDs at the given index.
    • getRowDataList

      List<com.google.protobuf.ByteString> getRowDataList()
      repeated bytes row_data = 2;
      Returns:
      A list containing the rowData.
    • getRowDataCount

      int getRowDataCount()
      repeated bytes row_data = 2;
      Returns:
      The count of rowData.
    • getRowData

      com.google.protobuf.ByteString getRowData(int index)
      repeated bytes row_data = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The rowData at the given index.
    • getScoresList

      List<Float> getScoresList()
      repeated float scores = 3;
      Returns:
      A list containing the scores.
    • getScoresCount

      int getScoresCount()
      repeated float scores = 3;
      Returns:
      The count of scores.
    • getScores

      float getScores(int index)
      repeated float scores = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The scores at the given index.