Interface HighlightDataOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFragments​(int index)
      repeated string fragments = 1;
      com.google.protobuf.ByteString getFragmentsBytes​(int index)
      repeated string fragments = 1;
      int getFragmentsCount()
      repeated string fragments = 1;
      List<String> getFragmentsList()
      repeated string fragments = 1;
      float getScores​(int index)
      repeated float scores = 2;
      int getScoresCount()
      repeated float scores = 2;
      List<Float> getScoresList()
      repeated float scores = 2;
      • 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 Detail

      • getFragmentsList

        List<String> getFragmentsList()
        repeated string fragments = 1;
        Returns:
        A list containing the fragments.
      • getFragmentsCount

        int getFragmentsCount()
        repeated string fragments = 1;
        Returns:
        The count of fragments.
      • getFragments

        String getFragments​(int index)
        repeated string fragments = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The fragments at the given index.
      • getFragmentsBytes

        com.google.protobuf.ByteString getFragmentsBytes​(int index)
        repeated string fragments = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the fragments at the given index.
      • getScoresList

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

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

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