Interface Control.BoostAction.InterpolationBoostSpec.ControlPointOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Control.BoostAction.InterpolationBoostSpec.ControlPoint, Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder
Enclosing class:
Control.BoostAction.InterpolationBoostSpec

public static interface Control.BoostAction.InterpolationBoostSpec.ControlPointOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    float
    Optional.

    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()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The attributeValue.
    • getAttributeValueBytes

      com.google.protobuf.ByteString getAttributeValueBytes()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for attributeValue.
    • getBoostAmount

      float getBoostAmount()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The boostAmount.