Interface MatchIntentResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MatchIntentResponse, MatchIntentResponse.Builder

@Generated public interface MatchIntentResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].
    The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].
    getMatches(int index)
    Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
    int
    Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
    Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
    Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
    List<? extends MatchOrBuilder>
    Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
     
    If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
    com.google.protobuf.ByteString
    If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
    If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
    com.google.protobuf.ByteString
    If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
    If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.
    com.google.protobuf.ByteString
    If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.
    If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.
    com.google.protobuf.ByteString
    If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.
    boolean
    The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].
    boolean
    If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
    boolean
    If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
    boolean
    If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain a copy of the event name.
    boolean
    If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasText

      boolean hasText()
       If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
       was provided as input, this field will contain a copy of the text.
       
      string text = 1;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
       was provided as input, this field will contain a copy of the text.
       
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
       was provided as input, this field will contain a copy of the text.
       
      string text = 1;
      Returns:
      The bytes for text.
    • hasTriggerIntent

      boolean hasTriggerIntent()
       If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
       provided as input, this field will contain a copy of the intent
       identifier. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the triggerIntent field is set.
    • getTriggerIntent

      String getTriggerIntent()
       If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
       provided as input, this field will contain a copy of the intent
       identifier. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The triggerIntent.
    • getTriggerIntentBytes

      com.google.protobuf.ByteString getTriggerIntentBytes()
       If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
       provided as input, this field will contain a copy of the intent
       identifier. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for triggerIntent.
    • hasTranscript

      boolean hasTranscript()
       If [natural language speech
       audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
       input, this field will contain the transcript for the audio.
       
      string transcript = 3;
      Returns:
      Whether the transcript field is set.
    • getTranscript

      String getTranscript()
       If [natural language speech
       audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
       input, this field will contain the transcript for the audio.
       
      string transcript = 3;
      Returns:
      The transcript.
    • getTranscriptBytes

      com.google.protobuf.ByteString getTranscriptBytes()
       If [natural language speech
       audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
       input, this field will contain the transcript for the audio.
       
      string transcript = 3;
      Returns:
      The bytes for transcript.
    • hasTriggerEvent

      boolean hasTriggerEvent()
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain a copy of the event name.
       
      string trigger_event = 6;
      Returns:
      Whether the triggerEvent field is set.
    • getTriggerEvent

      String getTriggerEvent()
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain a copy of the event name.
       
      string trigger_event = 6;
      Returns:
      The triggerEvent.
    • getTriggerEventBytes

      com.google.protobuf.ByteString getTriggerEventBytes()
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain a copy of the event name.
       
      string trigger_event = 6;
      Returns:
      The bytes for triggerEvent.
    • getMatchesList

      List<Match> getMatchesList()
       Match results, if more than one, ordered descendingly by the confidence
       we have that the particular intent matches the query.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
    • getMatches

      Match getMatches(int index)
       Match results, if more than one, ordered descendingly by the confidence
       we have that the particular intent matches the query.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
    • getMatchesCount

      int getMatchesCount()
       Match results, if more than one, ordered descendingly by the confidence
       we have that the particular intent matches the query.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
    • getMatchesOrBuilderList

      List<? extends MatchOrBuilder> getMatchesOrBuilderList()
       Match results, if more than one, ordered descendingly by the confidence
       we have that the particular intent matches the query.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
    • getMatchesOrBuilder

      MatchOrBuilder getMatchesOrBuilder(int index)
       Match results, if more than one, ordered descendingly by the confidence
       we have that the particular intent matches the query.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Match matches = 4;
    • hasCurrentPage

      boolean hasCurrentPage()
       The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
      Returns:
      Whether the currentPage field is set.
    • getCurrentPage

      Page getCurrentPage()
       The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
      Returns:
      The currentPage.
    • getCurrentPageOrBuilder

      PageOrBuilder getCurrentPageOrBuilder()
       The current [Page][google.cloud.dialogflow.cx.v3beta1.Page]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 5;
    • getQueryCase