attributeType = $attributeType; } /** * @return self::ATTRIBUTE_TYPE_* */ public function getAttributeType() { return $this->attributeType; } /** * 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. * * @param GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint[] $controlPoints */ public function setControlPoints($controlPoints) { $this->controlPoints = $controlPoints; } /** * @return GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint[] */ public function getControlPoints() { return $this->controlPoints; } /** * Optional. The name of the field whose value will be used to determine the * boost amount. * * @param string $fieldName */ public function setFieldName($fieldName) { $this->fieldName = $fieldName; } /** * @return string */ public function getFieldName() { return $this->fieldName; } /** * Optional. The interpolation type to be applied to connect the control * points listed below. * * Accepted values: INTERPOLATION_TYPE_UNSPECIFIED, LINEAR * * @param self::INTERPOLATION_TYPE_* $interpolationType */ public function setInterpolationType($interpolationType) { $this->interpolationType = $interpolationType; } /** * @return self::INTERPOLATION_TYPE_* */ public function getInterpolationType() { return $this->interpolationType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec');