Interface SearchProtocol.HitOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchProtocol.Hit, SearchProtocol.Hit.Builder
Enclosing class:
SearchProtocol

public static interface SearchProtocol.HitOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    bytes global_id = 1;
    getMatchFeatures(int index)
    repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    int
    repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    double
    double relevance = 2;
    com.google.protobuf.ByteString
    bytes sort_data = 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

    • getGlobalId

      com.google.protobuf.ByteString getGlobalId()
      bytes global_id = 1;
      Returns:
      The globalId.
    • getRelevance

      double getRelevance()
      double relevance = 2;
      Returns:
      The relevance.
    • getSortData

      com.google.protobuf.ByteString getSortData()
      bytes sort_data = 3;
      Returns:
      The sortData.
    • getMatchFeaturesList

      List<SearchProtocol.Feature> getMatchFeaturesList()
      repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    • getMatchFeatures

      SearchProtocol.Feature getMatchFeatures(int index)
      repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    • getMatchFeaturesCount

      int getMatchFeaturesCount()
      repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    • getMatchFeaturesOrBuilderList

      List<? extends SearchProtocol.FeatureOrBuilder> getMatchFeaturesOrBuilderList()
      repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
    • getMatchFeaturesOrBuilder

      SearchProtocol.FeatureOrBuilder getMatchFeaturesOrBuilder(int index)
      repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;