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 TypeMethodDescriptioncom.google.protobuf.ByteStringbytes global_id = 1;getMatchFeatures(int index) repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;intrepeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;getMatchFeaturesOrBuilder(int index) repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;List<? extends SearchProtocol.FeatureOrBuilder>repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;doubledouble relevance = 2;com.google.protobuf.ByteStringbytes sort_data = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
-