public static interface SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeValue()
Can be one of:
1.
|
com.google.protobuf.ByteString |
getAttributeValueBytes()
Can be one of:
1.
|
float |
getBoostAmount()
The value between -1 to 1 by which to boost the score if the
attribute_value evaluates to the value specified above.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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;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;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;Copyright © 2024 Google LLC. All rights reserved.