confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * The event that matched the query. Filled for `EVENT`, `NO_MATCH` and * `NO_INPUT` match types. * * @param string $event */ public function setEvent($event) { $this->event = $event; } /** * @return string */ public function getEvent() { return $this->event; } /** * The Intent that matched the query. Some, not all fields are filled in this * message, including but not limited to: `name` and `display_name`. Only * filled for `INTENT` match type. * * @param GoogleCloudDialogflowCxV3Intent $intent */ public function setIntent(GoogleCloudDialogflowCxV3Intent $intent) { $this->intent = $intent; } /** * @return GoogleCloudDialogflowCxV3Intent */ public function getIntent() { return $this->intent; } /** * Type of this Match. * * Accepted values: MATCH_TYPE_UNSPECIFIED, INTENT, DIRECT_INTENT, * PARAMETER_FILLING, NO_MATCH, NO_INPUT, EVENT, KNOWLEDGE_CONNECTOR, PLAYBOOK * * @param self::MATCH_TYPE_* $matchType */ public function setMatchType($matchType) { $this->matchType = $matchType; } /** * @return self::MATCH_TYPE_* */ public function getMatchType() { return $this->matchType; } /** * The collection of parameters extracted from the query. Depending on your * protocol or client library language, this is a map, associative array, * symbol table, dictionary, or JSON object composed of a collection of * (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter * name * MapValue type: If parameter's entity type is a composite entity then * use map, otherwise, depending on the parameter value type, it could be one * of string, number, boolean, null, list or map. * MapValue value: If * parameter's entity type is a composite entity then use map from composite * entity property names to property values, otherwise, use parameter value. * * @param array[] $parameters */ public function setParameters($parameters) { $this->parameters = $parameters; } /** * @return array[] */ public function getParameters() { return $this->parameters; } /** * Final text input which was matched during MatchIntent. This value can be * different from original input sent in request because of spelling * correction or other processing. * * @param string $resolvedInput */ public function setResolvedInput($resolvedInput) { $this->resolvedInput = $resolvedInput; } /** * @return string */ public function getResolvedInput() { return $this->resolvedInput; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3Match::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Match');