public static interface SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType |
getAttributeType()
The attribute type to be used to determine the boost amount.
|
int |
getAttributeTypeValue()
The attribute type to be used to determine the boost amount.
|
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint |
getControlPoints(int index)
The control points used to define the curve.
|
int |
getControlPointsCount()
The control points used to define the curve.
|
List<SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint> |
getControlPointsList()
The control points used to define the curve.
|
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder |
getControlPointsOrBuilder(int index)
The control points used to define the curve.
|
List<? extends SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder> |
getControlPointsOrBuilderList()
The control points used to define the curve.
|
String |
getFieldName()
The name of the field whose value will be used to determine the
boost amount.
|
com.google.protobuf.ByteString |
getFieldNameBytes()
The name of the field whose value will be used to determine the
boost amount.
|
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType |
getInterpolationType()
The interpolation type to be applied to connect the control points
listed below.
|
int |
getInterpolationTypeValue()
The interpolation type to be applied to connect the control points
listed below.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getFieldName()
The name of the field whose value will be used to determine the boost amount.
string field_name = 1;com.google.protobuf.ByteString getFieldNameBytes()
The name of the field whose value will be used to determine the boost amount.
string field_name = 1;int getAttributeTypeValue()
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.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2;
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType getAttributeType()
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.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2;
int getInterpolationTypeValue()
The interpolation type to be applied to connect the control points listed below.
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3;
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType getInterpolationType()
The interpolation type to be applied to connect the control points listed below.
.google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3;
List<SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint> getControlPointsList()
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.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4;
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint getControlPoints(int index)
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.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4;
int getControlPointsCount()
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.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4;
List<? extends SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder> getControlPointsOrBuilderList()
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.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4;
SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder getControlPointsOrBuilder(int index)
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.v1beta.SearchRequest.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4;
Copyright © 2025 Google LLC. All rights reserved.