public static final class Control.BoostAction.InterpolationBoostSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<Control.BoostAction.InterpolationBoostSpec.Builder> implements Control.BoostAction.InterpolationBoostSpecOrBuilder
Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.Protobuf type
google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpecaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Control.BoostAction.InterpolationBoostSpec.Builder>public Control.BoostAction.InterpolationBoostSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Control.BoostAction.InterpolationBoostSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Control.BoostAction.InterpolationBoostSpec.Builder>public Control.BoostAction.InterpolationBoostSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Control.BoostAction.InterpolationBoostSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Control.BoostAction.InterpolationBoostSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Control.BoostAction.InterpolationBoostSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Control.BoostAction.InterpolationBoostSpec.Builder>public Control.BoostAction.InterpolationBoostSpec.Builder mergeFrom(Control.BoostAction.InterpolationBoostSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Control.BoostAction.InterpolationBoostSpec.Builder>public Control.BoostAction.InterpolationBoostSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Control.BoostAction.InterpolationBoostSpec.Builder>IOExceptionpublic String getFieldName()
Optional. The name of the field whose value will be used to determine the boost amount.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];getFieldName in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic com.google.protobuf.ByteString getFieldNameBytes()
Optional. The name of the field whose value will be used to determine the boost amount.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];getFieldNameBytes in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.Builder setFieldName(String value)
Optional. The name of the field whose value will be used to determine the boost amount.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The fieldName to set.public Control.BoostAction.InterpolationBoostSpec.Builder clearFieldName()
Optional. The name of the field whose value will be used to determine the boost amount.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];public Control.BoostAction.InterpolationBoostSpec.Builder setFieldNameBytes(com.google.protobuf.ByteString value)
Optional. The name of the field whose value will be used to determine the boost amount.
string field_name = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for fieldName to set.public int getAttributeTypeValue()
Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
getAttributeTypeValue in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.Builder setAttributeTypeValue(int value)
Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for attributeType to set.public Control.BoostAction.InterpolationBoostSpec.AttributeType getAttributeType()
Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
getAttributeType in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.Builder setAttributeType(Control.BoostAction.InterpolationBoostSpec.AttributeType value)
Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The attributeType to set.public Control.BoostAction.InterpolationBoostSpec.Builder clearAttributeType()
Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
public int getInterpolationTypeValue()
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getInterpolationTypeValue in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.Builder setInterpolationTypeValue(int value)
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for interpolationType to set.public Control.BoostAction.InterpolationBoostSpec.InterpolationType getInterpolationType()
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getInterpolationType in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.Builder setInterpolationType(Control.BoostAction.InterpolationBoostSpec.InterpolationType value)
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The interpolationType to set.public Control.BoostAction.InterpolationBoostSpec.Builder clearInterpolationType()
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
public List<Control.BoostAction.InterpolationBoostSpec.ControlPoint> getControlPointsList()
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsList in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic int getControlPointsCount()
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsCount in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.ControlPoint getControlPoints(int index)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPoints in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.Builder setControlPoints(int index, Control.BoostAction.InterpolationBoostSpec.ControlPoint value)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder setControlPoints(int index, Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder builderForValue)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder addControlPoints(Control.BoostAction.InterpolationBoostSpec.ControlPoint value)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder addControlPoints(int index, Control.BoostAction.InterpolationBoostSpec.ControlPoint value)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder addControlPoints(Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder builderForValue)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder addControlPoints(int index, Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder builderForValue)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder addAllControlPoints(Iterable<? extends Control.BoostAction.InterpolationBoostSpec.ControlPoint> values)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder clearControlPoints()
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.Builder removeControlPoints(int index)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder getControlPointsBuilder(int index)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.ControlPointOrBuilder getControlPointsOrBuilder(int index)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsOrBuilder in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic List<? extends Control.BoostAction.InterpolationBoostSpec.ControlPointOrBuilder> getControlPointsOrBuilderList()
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsOrBuilderList in interface Control.BoostAction.InterpolationBoostSpecOrBuilderpublic Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder addControlPointsBuilder()
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder addControlPointsBuilder(int index)
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public List<Control.BoostAction.InterpolationBoostSpec.ControlPoint.Builder> getControlPointsBuilderList()
Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.
repeated .google.cloud.discoveryengine.v1.Control.BoostAction.InterpolationBoostSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2026 Google LLC. All rights reserved.