Interface SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint, SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder
Enclosing class:
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec

public static interface SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Can be one of: 1.
    com.google.protobuf.ByteString
    Can be one of: 1.
    float
    The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.

    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

    • getAttributeValue

      String getAttributeValue()
       Can be one of:
       1. The numerical field value.
       2. The duration spec for freshness:
       The value must be formatted as an XSD `dayTimeDuration` value (a
       restricted subset of an ISO 8601 duration value). The pattern for
       this is: `[nD][T[nH][nM][nS]]`.
       
      string attribute_value = 1;
      Returns:
      The attributeValue.
    • getAttributeValueBytes

      com.google.protobuf.ByteString getAttributeValueBytes()
       Can be one of:
       1. The numerical field value.
       2. The duration spec for freshness:
       The value must be formatted as an XSD `dayTimeDuration` value (a
       restricted subset of an ISO 8601 duration value). The pattern for
       this is: `[nD][T[nH][nM][nS]]`.
       
      string attribute_value = 1;
      Returns:
      The bytes for attributeValue.
    • getBoostAmount

      float getBoostAmount()
       The value between -1 to 1 by which to boost the score if the
       attribute_value evaluates to the value specified above.
       
      float boost_amount = 2;
      Returns:
      The boostAmount.