Interface WebhookRequest.IntentInfoOrBuilder

    • Method Detail

      • getLastMatchedIntent

        String getLastMatchedIntent()
         Always present. The unique identifier of the last matched
         [intent][google.cloud.dialogflow.cx.v3beta1.Intent].
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/intents/<Intent ID>`.
         
        string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The lastMatchedIntent.
      • getLastMatchedIntentBytes

        com.google.protobuf.ByteString getLastMatchedIntentBytes()
         Always present. The unique identifier of the last matched
         [intent][google.cloud.dialogflow.cx.v3beta1.Intent].
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/intents/<Intent ID>`.
         
        string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for lastMatchedIntent.
      • getDisplayName

        String getDisplayName()
         Always present. The display name of the last matched
         [intent][google.cloud.dialogflow.cx.v3beta1.Intent].
         
        string display_name = 3;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         Always present. The display name of the last matched
         [intent][google.cloud.dialogflow.cx.v3beta1.Intent].
         
        string display_name = 3;
        Returns:
        The bytes for displayName.
      • getParametersCount

        int getParametersCount()
         Parameters identified as a result of intent matching. This is a map of
         the name of the identified parameter to the value of the parameter
         identified from the user's utterance. All parameters defined in the
         matched intent that are identified will be surfaced here.
         
        map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
      • containsParameters

        boolean containsParameters​(String key)
         Parameters identified as a result of intent matching. This is a map of
         the name of the identified parameter to the value of the parameter
         identified from the user's utterance. All parameters defined in the
         matched intent that are identified will be surfaced here.
         
        map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
      • getParametersMap

        Map<String,​WebhookRequest.IntentInfo.IntentParameterValue> getParametersMap()
         Parameters identified as a result of intent matching. This is a map of
         the name of the identified parameter to the value of the parameter
         identified from the user's utterance. All parameters defined in the
         matched intent that are identified will be surfaced here.
         
        map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
      • getParametersOrDefault

        WebhookRequest.IntentInfo.IntentParameterValue getParametersOrDefault​(String key,
                                                                              WebhookRequest.IntentInfo.IntentParameterValue defaultValue)
         Parameters identified as a result of intent matching. This is a map of
         the name of the identified parameter to the value of the parameter
         identified from the user's utterance. All parameters defined in the
         matched intent that are identified will be surfaced here.
         
        map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
      • getParametersOrThrow

        WebhookRequest.IntentInfo.IntentParameterValue getParametersOrThrow​(String key)
         Parameters identified as a result of intent matching. This is a map of
         the name of the identified parameter to the value of the parameter
         identified from the user's utterance. All parameters defined in the
         matched intent that are identified will be surfaced here.
         
        map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
      • getConfidence

        float getConfidence()
         The confidence of the matched intent. Values range from 0.0 (completely
         uncertain) to 1.0 (completely certain).
         
        float confidence = 4;
        Returns:
        The confidence.