public static final class BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder> implements BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilder
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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpecgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.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.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(BoostSpec.ConditionBoostSpec.BoostControlSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public BoostSpec.ConditionBoostSpec.BoostControlSpec.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<BoostSpec.ConditionBoostSpec.BoostControlSpec.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 BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic 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 BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.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 BoostSpec.ConditionBoostSpec.BoostControlSpec.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 BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
getAttributeTypeValue in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for attributeType to set.public BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
getAttributeType in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setAttributeType(BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType attribute_type = 2 [(.google.api.field_behavior) = OPTIONAL];
value - The attributeType to set.public BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getInterpolationTypeValue in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setInterpolationTypeValue(int value)
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for interpolationType to set.public BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType getInterpolationType()
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getInterpolationType in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setInterpolationType(BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType value)
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The interpolationType to set.public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearInterpolationType()
Optional. The interpolation type to be applied to connect the control points listed below.
.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType interpolation_type = 3 [(.google.api.field_behavior) = OPTIONAL];
public List<BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsList in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic 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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsCount in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPoints in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addAllControlPoints(Iterable<? extends BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsOrBuilder in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic List<? extends BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
getControlPointsOrBuilderList in interface BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderpublic BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public List<BoostSpec.ConditionBoostSpec.BoostControlSpec.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.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint control_points = 4 [(.google.api.field_behavior) = OPTIONAL];
public final BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>public final BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder>Copyright © 2025 Google LLC. All rights reserved.