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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getGlobalId()
bytes global_id = 1;
SearchProtocol.Feature
getMatchFeatures(int index)
repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
int
getMatchFeaturesCount()
repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
List<SearchProtocol.Feature>
getMatchFeaturesList()
repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
SearchProtocol.FeatureOrBuilder
getMatchFeaturesOrBuilder(int index)
repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
List<? extends SearchProtocol.FeatureOrBuilder>
getMatchFeaturesOrBuilderList()
repeated .searchlib.searchprotocol.protobuf.Feature match_features = 4;
double
getRelevance()
double relevance = 2;
com.google.protobuf.ByteString
getSortData()
bytes sort_data = 3;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-