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

    Modifier and Type
    Method
    Description
    Name of the signal.
    com.google.protobuf.ByteString
    Name of the signal.
    float
    Float value representing the ranking signal (e.g. 1.25 for BM25).

    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

    • 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.