Class MatchIntentResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse
All Implemented Interfaces:
MatchIntentResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class MatchIntentResponse extends com.google.protobuf.GeneratedMessage implements MatchIntentResponseOrBuilder
 Response of [MatchIntent][].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Response of [MatchIntent][].
    static enum 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].
    The current [Page][google.cloud.dialogflow.cx.v3beta1.Page].
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    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.
    com.google.protobuf.Parser<MatchIntentResponse>
     
     
    int
     
    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].
    int
     
    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.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<MatchIntentResponse>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • TEXT_FIELD_NUMBER

      public static final int TEXT_FIELD_NUMBER
      See Also:
    • TRIGGER_INTENT_FIELD_NUMBER

      public static final int TRIGGER_INTENT_FIELD_NUMBER
      See Also:
    • TRANSCRIPT_FIELD_NUMBER

      public static final int TRANSCRIPT_FIELD_NUMBER
      See Also:
    • TRIGGER_EVENT_FIELD_NUMBER

      public static final int TRIGGER_EVENT_FIELD_NUMBER
      See Also:
    • MATCHES_FIELD_NUMBER

      public static final int MATCHES_FIELD_NUMBER
      See Also:
    • CURRENT_PAGE_FIELD_NUMBER

      public static final int CURRENT_PAGE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getQueryCase

      public MatchIntentResponse.QueryCase getQueryCase()
      Specified by:
      getQueryCase in interface MatchIntentResponseOrBuilder
    • hasText

      public 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;
      Specified by:
      hasText in interface MatchIntentResponseOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public 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;
      Specified by:
      getText in interface MatchIntentResponseOrBuilder
      Returns:
      The text.
    • getTextBytes

      public 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;
      Specified by:
      getTextBytes in interface MatchIntentResponseOrBuilder
      Returns:
      The bytes for text.
    • hasTriggerIntent

      public 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) = { ... }
      Specified by:
      hasTriggerIntent in interface MatchIntentResponseOrBuilder
      Returns:
      Whether the triggerIntent field is set.
    • getTriggerIntent

      public 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) = { ... }
      Specified by:
      getTriggerIntent in interface MatchIntentResponseOrBuilder
      Returns:
      The triggerIntent.
    • getTriggerIntentBytes

      public 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) = { ... }
      Specified by:
      getTriggerIntentBytes in interface MatchIntentResponseOrBuilder
      Returns:
      The bytes for triggerIntent.
    • hasTranscript

      public 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;
      Specified by:
      hasTranscript in interface MatchIntentResponseOrBuilder
      Returns:
      Whether the transcript field is set.
    • getTranscript

      public 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;
      Specified by:
      getTranscript in interface MatchIntentResponseOrBuilder
      Returns:
      The transcript.
    • getTranscriptBytes

      public 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;
      Specified by:
      getTranscriptBytes in interface MatchIntentResponseOrBuilder
      Returns:
      The bytes for transcript.
    • hasTriggerEvent

      public 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;
      Specified by:
      hasTriggerEvent in interface MatchIntentResponseOrBuilder
      Returns:
      Whether the triggerEvent field is set.
    • getTriggerEvent

      public 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;
      Specified by:
      getTriggerEvent in interface MatchIntentResponseOrBuilder
      Returns:
      The triggerEvent.
    • getTriggerEventBytes

      public 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;
      Specified by:
      getTriggerEventBytes in interface MatchIntentResponseOrBuilder
      Returns:
      The bytes for triggerEvent.
    • getMatchesList

      public 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;
      Specified by:
      getMatchesList in interface MatchIntentResponseOrBuilder
    • getMatchesOrBuilderList

      public 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;
      Specified by:
      getMatchesOrBuilderList in interface MatchIntentResponseOrBuilder
    • getMatchesCount

      public 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;
      Specified by:
      getMatchesCount in interface MatchIntentResponseOrBuilder
    • getMatches

      public 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;
      Specified by:
      getMatches in interface MatchIntentResponseOrBuilder
    • getMatchesOrBuilder

      public 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;
      Specified by:
      getMatchesOrBuilder in interface MatchIntentResponseOrBuilder
    • hasCurrentPage

      public 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;
      Specified by:
      hasCurrentPage in interface MatchIntentResponseOrBuilder
      Returns:
      Whether the currentPage field is set.
    • getCurrentPage

      public 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;
      Specified by:
      getCurrentPage in interface MatchIntentResponseOrBuilder
      Returns:
      The currentPage.
    • getCurrentPageOrBuilder

      public 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;
      Specified by:
      getCurrentPageOrBuilder in interface MatchIntentResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MatchIntentResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchIntentResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchIntentResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchIntentResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchIntentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchIntentResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MatchIntentResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MatchIntentResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MatchIntentResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MatchIntentResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MatchIntentResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MatchIntentResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MatchIntentResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MatchIntentResponse.Builder newBuilder()
    • newBuilder

      public static MatchIntentResponse.Builder newBuilder(MatchIntentResponse prototype)
    • toBuilder

      public MatchIntentResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MatchIntentResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MatchIntentResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MatchIntentResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<MatchIntentResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public MatchIntentResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder