Interface WebhookRequest.IntentInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WebhookRequest.IntentInfo, WebhookRequest.IntentInfo.Builder
Enclosing class:
WebhookRequest

public static interface WebhookRequest.IntentInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLastMatchedIntent

      String getLastMatchedIntent()
       Always present. The unique identifier of the last matched
       [intent][google.cloud.dialogflow.cx.v3beta1.Intent].
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      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;
    • getParameters

      Deprecated.
      Use getParametersMap() instead.
    • 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

       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

       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.