- 0.89.0 (latest)
- 0.87.0
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder extends GeneratedMessageV3.Builder<BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder> implements BoostSpec.ConditionBoostSpec.BoostControlSpecOrBuilderSpecification 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.BoostControlSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BoostSpec.ConditionBoostSpec.BoostControlSpec.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllControlPoints(Iterable<? extends BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint> values)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint> | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
addControlPoints(BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
addControlPoints(BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
addControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)
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];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
addControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)
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];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
addControlPointsBuilder()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder | |
addControlPointsBuilder(int index)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
build()
public BoostSpec.ConditionBoostSpec.BoostControlSpec build()| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec | |
buildPartial()
public BoostSpec.ConditionBoostSpec.BoostControlSpec buildPartial()| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec | |
clear()
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
clearAttributeType()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
clearControlPoints()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
clearField(Descriptors.FieldDescriptor field)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
clearFieldName()
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];
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
clearInterpolationType()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
clone()
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
getAttributeType()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType | The attributeType. | 
getAttributeTypeValue()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for attributeType. | 
getControlPoints(int index)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint | |
getControlPointsBuilder(int index)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder | |
getControlPointsBuilderList()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getControlPointsCount()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getControlPointsList()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| List<ControlPoint> | |
getControlPointsOrBuilder(int index)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder | |
getControlPointsOrBuilderList()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPointOrBuilder> | |
getDefaultInstanceForType()
public BoostSpec.ConditionBoostSpec.BoostControlSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getFieldName()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| String | The fieldName. | 
getFieldNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for fieldName. | 
getInterpolationType()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType | The interpolationType. | 
getInterpolationTypeValue()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for interpolationType. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(BoostSpec.ConditionBoostSpec.BoostControlSpec other)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(BoostSpec.ConditionBoostSpec.BoostControlSpec other)| Parameter | |
|---|---|
| Name | Description | 
| other | BoostSpec.ConditionBoostSpec.BoostControlSpec | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
removeControlPoints(int index)
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];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
setAttributeType(BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeType value)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | BoostSpec.ConditionBoostSpec.BoostControlSpec.AttributeTypeThe attributeType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
setAttributeTypeValue(int value)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for attributeType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
setControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint value)
public 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];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
setControlPoints(int index, BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder builderForValue)
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];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | BoostSpec.ConditionBoostSpec.BoostControlSpec.ControlPoint.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
setFieldName(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe fieldName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
setFieldNameBytes(ByteString value)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setFieldNameBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for fieldName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
setInterpolationType(BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationType value)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | BoostSpec.ConditionBoostSpec.BoostControlSpec.InterpolationTypeThe interpolationType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
setInterpolationTypeValue(int value)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for interpolationType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| BoostSpec.ConditionBoostSpec.BoostControlSpec.Builder | |