Interface SearchResponse.SearchResult.RankSignals.CustomSignalOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SearchResponse.SearchResult.RankSignals.CustomSignal,SearchResponse.SearchResult.RankSignals.CustomSignal.Builder
- Enclosing class:
- SearchResponse.SearchResult.RankSignals
public static interface SearchResponse.SearchResult.RankSignals.CustomSignalOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getName
String getName()Name of the signal.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the signal.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for name.
-
getValue
float getValue()Float value representing the ranking signal (e.g. 1.25 for BM25).
float value = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The value.
-