Class QueryResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryResult.Builder>
com.google.cloud.dialogflow.cx.v3beta1.QueryResult.Builder
All Implemented Interfaces:
QueryResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueryResult

public static final class QueryResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryResult.Builder> implements QueryResultOrBuilder
 Represents the result of a conversational query.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.QueryResult
  • 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.Builder<QueryResult.Builder>
    • clear

      public QueryResult.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<QueryResult.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<QueryResult.Builder>
    • getDefaultInstanceForType

      public QueryResult getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public QueryResult build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public QueryResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public QueryResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryResult.Builder>
    • mergeFrom

      public QueryResult.Builder mergeFrom(QueryResult other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<QueryResult.Builder>
    • mergeFrom

      public QueryResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryResult.Builder>
      Throws:
      IOException
    • getQueryCase

      public QueryResult.QueryCase getQueryCase()
      Specified by:
      getQueryCase in interface QueryResultOrBuilder
    • clearQuery

      public QueryResult.Builder clearQuery()
    • 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 QueryResultOrBuilder
      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 QueryResultOrBuilder
      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 QueryResultOrBuilder
      Returns:
      The bytes for text.
    • setText

      public QueryResult.Builder setText(String value)
       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;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public QueryResult.Builder clearText()
       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:
      This builder for chaining.
    • setTextBytes

      public QueryResult.Builder setTextBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.
    • 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 = 11 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasTriggerIntent in interface QueryResultOrBuilder
      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 = 11 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTriggerIntent in interface QueryResultOrBuilder
      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 = 11 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTriggerIntentBytes in interface QueryResultOrBuilder
      Returns:
      The bytes for triggerIntent.
    • setTriggerIntent

      public QueryResult.Builder setTriggerIntent(String value)
       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 = 11 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The triggerIntent to set.
      Returns:
      This builder for chaining.
    • clearTriggerIntent

      public QueryResult.Builder clearTriggerIntent()
       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 = 11 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTriggerIntentBytes

      public QueryResult.Builder setTriggerIntentBytes(com.google.protobuf.ByteString value)
       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 = 11 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for triggerIntent to set.
      Returns:
      This builder for chaining.
    • 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 = 12;
      Specified by:
      hasTranscript in interface QueryResultOrBuilder
      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 = 12;
      Specified by:
      getTranscript in interface QueryResultOrBuilder
      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 = 12;
      Specified by:
      getTranscriptBytes in interface QueryResultOrBuilder
      Returns:
      The bytes for transcript.
    • setTranscript

      public QueryResult.Builder setTranscript(String value)
       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 = 12;
      Parameters:
      value - The transcript to set.
      Returns:
      This builder for chaining.
    • clearTranscript

      public QueryResult.Builder clearTranscript()
       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 = 12;
      Returns:
      This builder for chaining.
    • setTranscriptBytes

      public QueryResult.Builder setTranscriptBytes(com.google.protobuf.ByteString value)
       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 = 12;
      Parameters:
      value - The bytes for transcript to set.
      Returns:
      This builder for chaining.
    • hasTriggerEvent

      public boolean hasTriggerEvent()
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Specified by:
      hasTriggerEvent in interface QueryResultOrBuilder
      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 the name of the event.
       
      string trigger_event = 14;
      Specified by:
      getTriggerEvent in interface QueryResultOrBuilder
      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 the name of the event.
       
      string trigger_event = 14;
      Specified by:
      getTriggerEventBytes in interface QueryResultOrBuilder
      Returns:
      The bytes for triggerEvent.
    • setTriggerEvent

      public QueryResult.Builder setTriggerEvent(String value)
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Parameters:
      value - The triggerEvent to set.
      Returns:
      This builder for chaining.
    • clearTriggerEvent

      public QueryResult.Builder clearTriggerEvent()
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Returns:
      This builder for chaining.
    • setTriggerEventBytes

      public QueryResult.Builder setTriggerEventBytes(com.google.protobuf.ByteString value)
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Parameters:
      value - The bytes for triggerEvent to set.
      Returns:
      This builder for chaining.
    • hasDtmf

      public boolean hasDtmf()
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
      Specified by:
      hasDtmf in interface QueryResultOrBuilder
      Returns:
      Whether the dtmf field is set.
    • getDtmf

      public DtmfInput getDtmf()
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
      Specified by:
      getDtmf in interface QueryResultOrBuilder
      Returns:
      The dtmf.
    • setDtmf

      public QueryResult.Builder setDtmf(DtmfInput value)
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
    • setDtmf

      public QueryResult.Builder setDtmf(DtmfInput.Builder builderForValue)
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
    • mergeDtmf

      public QueryResult.Builder mergeDtmf(DtmfInput value)
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
    • clearDtmf

      public QueryResult.Builder clearDtmf()
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
    • getDtmfBuilder

      public DtmfInput.Builder getDtmfBuilder()
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
    • getDtmfOrBuilder

      public DtmfInputOrBuilder getDtmfOrBuilder()
       If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain a copy of the
       [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput].
       
      .google.cloud.dialogflow.cx.v3beta1.DtmfInput dtmf = 23;
      Specified by:
      getDtmfOrBuilder in interface QueryResultOrBuilder
    • getLanguageCode

      public String getLanguageCode()
       The language that was triggered during intent detection.
       See [Language
       Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
       for a list of the currently supported language codes.
       
      string language_code = 2;
      Specified by:
      getLanguageCode in interface QueryResultOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       The language that was triggered during intent detection.
       See [Language
       Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
       for a list of the currently supported language codes.
       
      string language_code = 2;
      Specified by:
      getLanguageCodeBytes in interface QueryResultOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public QueryResult.Builder setLanguageCode(String value)
       The language that was triggered during intent detection.
       See [Language
       Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
       for a list of the currently supported language codes.
       
      string language_code = 2;
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public QueryResult.Builder clearLanguageCode()
       The language that was triggered during intent detection.
       See [Language
       Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
       for a list of the currently supported language codes.
       
      string language_code = 2;
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public QueryResult.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       The language that was triggered during intent detection.
       See [Language
       Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
       for a list of the currently supported language codes.
       
      string language_code = 2;
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • hasParameters

      public boolean hasParameters()
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
      Specified by:
      hasParameters in interface QueryResultOrBuilder
      Returns:
      Whether the parameters field is set.
    • getParameters

      public com.google.protobuf.Struct getParameters()
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
      Specified by:
      getParameters in interface QueryResultOrBuilder
      Returns:
      The parameters.
    • setParameters

      public QueryResult.Builder setParameters(com.google.protobuf.Struct value)
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
    • setParameters

      public QueryResult.Builder setParameters(com.google.protobuf.Struct.Builder builderForValue)
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
    • mergeParameters

      public QueryResult.Builder mergeParameters(com.google.protobuf.Struct value)
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
    • clearParameters

      public QueryResult.Builder clearParameters()
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
    • getParametersBuilder

      public com.google.protobuf.Struct.Builder getParametersBuilder()
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
    • getParametersOrBuilder

      public com.google.protobuf.StructOrBuilder getParametersOrBuilder()
       The collected [session
       parameters][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].
      
       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.
       
      .google.protobuf.Struct parameters = 3;
      Specified by:
      getParametersOrBuilder in interface QueryResultOrBuilder
    • getResponseMessagesList

      public List<ResponseMessage> getResponseMessagesList()
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
      Specified by:
      getResponseMessagesList in interface QueryResultOrBuilder
    • getResponseMessagesCount

      public int getResponseMessagesCount()
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
      Specified by:
      getResponseMessagesCount in interface QueryResultOrBuilder
    • getResponseMessages

      public ResponseMessage getResponseMessages(int index)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
      Specified by:
      getResponseMessages in interface QueryResultOrBuilder
    • setResponseMessages

      public QueryResult.Builder setResponseMessages(int index, ResponseMessage value)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • setResponseMessages

      public QueryResult.Builder setResponseMessages(int index, ResponseMessage.Builder builderForValue)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • addResponseMessages

      public QueryResult.Builder addResponseMessages(ResponseMessage value)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • addResponseMessages

      public QueryResult.Builder addResponseMessages(int index, ResponseMessage value)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • addResponseMessages

      public QueryResult.Builder addResponseMessages(ResponseMessage.Builder builderForValue)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • addResponseMessages

      public QueryResult.Builder addResponseMessages(int index, ResponseMessage.Builder builderForValue)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • addAllResponseMessages

      public QueryResult.Builder addAllResponseMessages(Iterable<? extends ResponseMessage> values)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • clearResponseMessages

      public QueryResult.Builder clearResponseMessages()
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • removeResponseMessages

      public QueryResult.Builder removeResponseMessages(int index)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • getResponseMessagesBuilder

      public ResponseMessage.Builder getResponseMessagesBuilder(int index)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • getResponseMessagesOrBuilder

      public ResponseMessageOrBuilder getResponseMessagesOrBuilder(int index)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
      Specified by:
      getResponseMessagesOrBuilder in interface QueryResultOrBuilder
    • getResponseMessagesOrBuilderList

      public List<? extends ResponseMessageOrBuilder> getResponseMessagesOrBuilderList()
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
      Specified by:
      getResponseMessagesOrBuilderList in interface QueryResultOrBuilder
    • addResponseMessagesBuilder

      public ResponseMessage.Builder addResponseMessagesBuilder()
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • addResponseMessagesBuilder

      public ResponseMessage.Builder addResponseMessagesBuilder(int index)
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • getResponseMessagesBuilderList

      public List<ResponseMessage.Builder> getResponseMessagesBuilderList()
       The list of rich messages returned to the client. Responses vary from
       simple text messages to more sophisticated, structured payloads used
       to drive complex logic.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage response_messages = 4;
    • getWebhookIdsList

      public com.google.protobuf.ProtocolStringList getWebhookIdsList()
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Specified by:
      getWebhookIdsList in interface QueryResultOrBuilder
      Returns:
      A list containing the webhookIds.
    • getWebhookIdsCount

      public int getWebhookIdsCount()
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Specified by:
      getWebhookIdsCount in interface QueryResultOrBuilder
      Returns:
      The count of webhookIds.
    • getWebhookIds

      public String getWebhookIds(int index)
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Specified by:
      getWebhookIds in interface QueryResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The webhookIds at the given index.
    • getWebhookIdsBytes

      public com.google.protobuf.ByteString getWebhookIdsBytes(int index)
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Specified by:
      getWebhookIdsBytes in interface QueryResultOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the webhookIds at the given index.
    • setWebhookIds

      public QueryResult.Builder setWebhookIds(int index, String value)
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Parameters:
      index - The index to set the value at.
      value - The webhookIds to set.
      Returns:
      This builder for chaining.
    • addWebhookIds

      public QueryResult.Builder addWebhookIds(String value)
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Parameters:
      value - The webhookIds to add.
      Returns:
      This builder for chaining.
    • addAllWebhookIds

      public QueryResult.Builder addAllWebhookIds(Iterable<String> values)
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Parameters:
      values - The webhookIds to add.
      Returns:
      This builder for chaining.
    • clearWebhookIds

      public QueryResult.Builder clearWebhookIds()
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Returns:
      This builder for chaining.
    • addWebhookIdsBytes

      public QueryResult.Builder addWebhookIdsBytes(com.google.protobuf.ByteString value)
       The list of webhook ids in the order of call sequence.
       
      repeated string webhook_ids = 25;
      Parameters:
      value - The bytes of the webhookIds to add.
      Returns:
      This builder for chaining.
    • getWebhookDisplayNamesList

      public com.google.protobuf.ProtocolStringList getWebhookDisplayNamesList()
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Specified by:
      getWebhookDisplayNamesList in interface QueryResultOrBuilder
      Returns:
      A list containing the webhookDisplayNames.
    • getWebhookDisplayNamesCount

      public int getWebhookDisplayNamesCount()
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Specified by:
      getWebhookDisplayNamesCount in interface QueryResultOrBuilder
      Returns:
      The count of webhookDisplayNames.
    • getWebhookDisplayNames

      public String getWebhookDisplayNames(int index)
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Specified by:
      getWebhookDisplayNames in interface QueryResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The webhookDisplayNames at the given index.
    • getWebhookDisplayNamesBytes

      public com.google.protobuf.ByteString getWebhookDisplayNamesBytes(int index)
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Specified by:
      getWebhookDisplayNamesBytes in interface QueryResultOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the webhookDisplayNames at the given index.
    • setWebhookDisplayNames

      public QueryResult.Builder setWebhookDisplayNames(int index, String value)
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Parameters:
      index - The index to set the value at.
      value - The webhookDisplayNames to set.
      Returns:
      This builder for chaining.
    • addWebhookDisplayNames

      public QueryResult.Builder addWebhookDisplayNames(String value)
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Parameters:
      value - The webhookDisplayNames to add.
      Returns:
      This builder for chaining.
    • addAllWebhookDisplayNames

      public QueryResult.Builder addAllWebhookDisplayNames(Iterable<String> values)
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Parameters:
      values - The webhookDisplayNames to add.
      Returns:
      This builder for chaining.
    • clearWebhookDisplayNames

      public QueryResult.Builder clearWebhookDisplayNames()
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Returns:
      This builder for chaining.
    • addWebhookDisplayNamesBytes

      public QueryResult.Builder addWebhookDisplayNamesBytes(com.google.protobuf.ByteString value)
       The list of webhook display names in the order of call sequence.
       
      repeated string webhook_display_names = 26;
      Parameters:
      value - The bytes of the webhookDisplayNames to add.
      Returns:
      This builder for chaining.
    • getWebhookLatenciesList

      public List<com.google.protobuf.Duration> getWebhookLatenciesList()
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
      Specified by:
      getWebhookLatenciesList in interface QueryResultOrBuilder
    • getWebhookLatenciesCount

      public int getWebhookLatenciesCount()
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
      Specified by:
      getWebhookLatenciesCount in interface QueryResultOrBuilder
    • getWebhookLatencies

      public com.google.protobuf.Duration getWebhookLatencies(int index)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
      Specified by:
      getWebhookLatencies in interface QueryResultOrBuilder
    • setWebhookLatencies

      public QueryResult.Builder setWebhookLatencies(int index, com.google.protobuf.Duration value)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • setWebhookLatencies

      public QueryResult.Builder setWebhookLatencies(int index, com.google.protobuf.Duration.Builder builderForValue)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • addWebhookLatencies

      public QueryResult.Builder addWebhookLatencies(com.google.protobuf.Duration value)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • addWebhookLatencies

      public QueryResult.Builder addWebhookLatencies(int index, com.google.protobuf.Duration value)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • addWebhookLatencies

      public QueryResult.Builder addWebhookLatencies(com.google.protobuf.Duration.Builder builderForValue)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • addWebhookLatencies

      public QueryResult.Builder addWebhookLatencies(int index, com.google.protobuf.Duration.Builder builderForValue)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • addAllWebhookLatencies

      public QueryResult.Builder addAllWebhookLatencies(Iterable<? extends com.google.protobuf.Duration> values)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • clearWebhookLatencies

      public QueryResult.Builder clearWebhookLatencies()
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • removeWebhookLatencies

      public QueryResult.Builder removeWebhookLatencies(int index)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • getWebhookLatenciesBuilder

      public com.google.protobuf.Duration.Builder getWebhookLatenciesBuilder(int index)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • getWebhookLatenciesOrBuilder

      public com.google.protobuf.DurationOrBuilder getWebhookLatenciesOrBuilder(int index)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
      Specified by:
      getWebhookLatenciesOrBuilder in interface QueryResultOrBuilder
    • getWebhookLatenciesOrBuilderList

      public List<? extends com.google.protobuf.DurationOrBuilder> getWebhookLatenciesOrBuilderList()
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
      Specified by:
      getWebhookLatenciesOrBuilderList in interface QueryResultOrBuilder
    • addWebhookLatenciesBuilder

      public com.google.protobuf.Duration.Builder addWebhookLatenciesBuilder()
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • addWebhookLatenciesBuilder

      public com.google.protobuf.Duration.Builder addWebhookLatenciesBuilder(int index)
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • getWebhookLatenciesBuilderList

      public List<com.google.protobuf.Duration.Builder> getWebhookLatenciesBuilderList()
       The list of webhook latencies in the order of call sequence.
       
      repeated .google.protobuf.Duration webhook_latencies = 27;
    • getWebhookTagsList

      public com.google.protobuf.ProtocolStringList getWebhookTagsList()
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Specified by:
      getWebhookTagsList in interface QueryResultOrBuilder
      Returns:
      A list containing the webhookTags.
    • getWebhookTagsCount

      public int getWebhookTagsCount()
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Specified by:
      getWebhookTagsCount in interface QueryResultOrBuilder
      Returns:
      The count of webhookTags.
    • getWebhookTags

      public String getWebhookTags(int index)
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Specified by:
      getWebhookTags in interface QueryResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The webhookTags at the given index.
    • getWebhookTagsBytes

      public com.google.protobuf.ByteString getWebhookTagsBytes(int index)
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Specified by:
      getWebhookTagsBytes in interface QueryResultOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the webhookTags at the given index.
    • setWebhookTags

      public QueryResult.Builder setWebhookTags(int index, String value)
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Parameters:
      index - The index to set the value at.
      value - The webhookTags to set.
      Returns:
      This builder for chaining.
    • addWebhookTags

      public QueryResult.Builder addWebhookTags(String value)
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Parameters:
      value - The webhookTags to add.
      Returns:
      This builder for chaining.
    • addAllWebhookTags

      public QueryResult.Builder addAllWebhookTags(Iterable<String> values)
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Parameters:
      values - The webhookTags to add.
      Returns:
      This builder for chaining.
    • clearWebhookTags

      public QueryResult.Builder clearWebhookTags()
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Returns:
      This builder for chaining.
    • addWebhookTagsBytes

      public QueryResult.Builder addWebhookTagsBytes(com.google.protobuf.ByteString value)
       The list of webhook tags in the order of call sequence.
       
      repeated string webhook_tags = 29;
      Parameters:
      value - The bytes of the webhookTags to add.
      Returns:
      This builder for chaining.
    • getWebhookStatusesList

      public List<Status> getWebhookStatusesList()
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
      Specified by:
      getWebhookStatusesList in interface QueryResultOrBuilder
    • getWebhookStatusesCount

      public int getWebhookStatusesCount()
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
      Specified by:
      getWebhookStatusesCount in interface QueryResultOrBuilder
    • getWebhookStatuses

      public Status getWebhookStatuses(int index)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
      Specified by:
      getWebhookStatuses in interface QueryResultOrBuilder
    • setWebhookStatuses

      public QueryResult.Builder setWebhookStatuses(int index, Status value)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • setWebhookStatuses

      public QueryResult.Builder setWebhookStatuses(int index, Status.Builder builderForValue)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • addWebhookStatuses

      public QueryResult.Builder addWebhookStatuses(Status value)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • addWebhookStatuses

      public QueryResult.Builder addWebhookStatuses(int index, Status value)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • addWebhookStatuses

      public QueryResult.Builder addWebhookStatuses(Status.Builder builderForValue)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • addWebhookStatuses

      public QueryResult.Builder addWebhookStatuses(int index, Status.Builder builderForValue)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • addAllWebhookStatuses

      public QueryResult.Builder addAllWebhookStatuses(Iterable<? extends Status> values)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • clearWebhookStatuses

      public QueryResult.Builder clearWebhookStatuses()
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • removeWebhookStatuses

      public QueryResult.Builder removeWebhookStatuses(int index)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • getWebhookStatusesBuilder

      public Status.Builder getWebhookStatusesBuilder(int index)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • getWebhookStatusesOrBuilder

      public StatusOrBuilder getWebhookStatusesOrBuilder(int index)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
      Specified by:
      getWebhookStatusesOrBuilder in interface QueryResultOrBuilder
    • getWebhookStatusesOrBuilderList

      public List<? extends StatusOrBuilder> getWebhookStatusesOrBuilderList()
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
      Specified by:
      getWebhookStatusesOrBuilderList in interface QueryResultOrBuilder
    • addWebhookStatusesBuilder

      public Status.Builder addWebhookStatusesBuilder()
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • addWebhookStatusesBuilder

      public Status.Builder addWebhookStatusesBuilder(int index)
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • getWebhookStatusesBuilderList

      public List<Status.Builder> getWebhookStatusesBuilderList()
       The list of webhook call status in the order of call sequence.
       
      repeated .google.rpc.Status webhook_statuses = 13;
    • getWebhookPayloadsList

      public List<com.google.protobuf.Struct> getWebhookPayloadsList()
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
      Specified by:
      getWebhookPayloadsList in interface QueryResultOrBuilder
    • getWebhookPayloadsCount

      public int getWebhookPayloadsCount()
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
      Specified by:
      getWebhookPayloadsCount in interface QueryResultOrBuilder
    • getWebhookPayloads

      public com.google.protobuf.Struct getWebhookPayloads(int index)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
      Specified by:
      getWebhookPayloads in interface QueryResultOrBuilder
    • setWebhookPayloads

      public QueryResult.Builder setWebhookPayloads(int index, com.google.protobuf.Struct value)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • setWebhookPayloads

      public QueryResult.Builder setWebhookPayloads(int index, com.google.protobuf.Struct.Builder builderForValue)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • addWebhookPayloads

      public QueryResult.Builder addWebhookPayloads(com.google.protobuf.Struct value)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • addWebhookPayloads

      public QueryResult.Builder addWebhookPayloads(int index, com.google.protobuf.Struct value)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • addWebhookPayloads

      public QueryResult.Builder addWebhookPayloads(com.google.protobuf.Struct.Builder builderForValue)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • addWebhookPayloads

      public QueryResult.Builder addWebhookPayloads(int index, com.google.protobuf.Struct.Builder builderForValue)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • addAllWebhookPayloads

      public QueryResult.Builder addAllWebhookPayloads(Iterable<? extends com.google.protobuf.Struct> values)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • clearWebhookPayloads

      public QueryResult.Builder clearWebhookPayloads()
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • removeWebhookPayloads

      public QueryResult.Builder removeWebhookPayloads(int index)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • getWebhookPayloadsBuilder

      public com.google.protobuf.Struct.Builder getWebhookPayloadsBuilder(int index)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • getWebhookPayloadsOrBuilder

      public com.google.protobuf.StructOrBuilder getWebhookPayloadsOrBuilder(int index)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
      Specified by:
      getWebhookPayloadsOrBuilder in interface QueryResultOrBuilder
    • getWebhookPayloadsOrBuilderList

      public List<? extends com.google.protobuf.StructOrBuilder> getWebhookPayloadsOrBuilderList()
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
      Specified by:
      getWebhookPayloadsOrBuilderList in interface QueryResultOrBuilder
    • addWebhookPayloadsBuilder

      public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder()
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • addWebhookPayloadsBuilder

      public com.google.protobuf.Struct.Builder addWebhookPayloadsBuilder(int index)
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • getWebhookPayloadsBuilderList

      public List<com.google.protobuf.Struct.Builder> getWebhookPayloadsBuilderList()
       The list of webhook payload in
       [WebhookResponse.payload][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.payload],
       in the order of call sequence. If some webhook call fails or doesn't return
       any payload, an empty `Struct` would be used instead.
       
      repeated .google.protobuf.Struct webhook_payloads = 6;
    • 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 = 7;
      Specified by:
      hasCurrentPage in interface QueryResultOrBuilder
      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 = 7;
      Specified by:
      getCurrentPage in interface QueryResultOrBuilder
      Returns:
      The currentPage.
    • setCurrentPage

      public QueryResult.Builder setCurrentPage(Page value)
       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 = 7;
    • setCurrentPage

      public QueryResult.Builder setCurrentPage(Page.Builder builderForValue)
       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 = 7;
    • mergeCurrentPage

      public QueryResult.Builder mergeCurrentPage(Page value)
       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 = 7;
    • clearCurrentPage

      public QueryResult.Builder clearCurrentPage()
       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 = 7;
    • getCurrentPageBuilder

      public Page.Builder getCurrentPageBuilder()
       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 = 7;
    • 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 = 7;
      Specified by:
      getCurrentPageOrBuilder in interface QueryResultOrBuilder
    • hasCurrentFlow

      public boolean hasCurrentFlow()
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
      Specified by:
      hasCurrentFlow in interface QueryResultOrBuilder
      Returns:
      Whether the currentFlow field is set.
    • getCurrentFlow

      public Flow getCurrentFlow()
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
      Specified by:
      getCurrentFlow in interface QueryResultOrBuilder
      Returns:
      The currentFlow.
    • setCurrentFlow

      public QueryResult.Builder setCurrentFlow(Flow value)
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
    • setCurrentFlow

      public QueryResult.Builder setCurrentFlow(Flow.Builder builderForValue)
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
    • mergeCurrentFlow

      public QueryResult.Builder mergeCurrentFlow(Flow value)
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
    • clearCurrentFlow

      public QueryResult.Builder clearCurrentFlow()
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
    • getCurrentFlowBuilder

      public Flow.Builder getCurrentFlowBuilder()
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
    • getCurrentFlowOrBuilder

      public FlowOrBuilder getCurrentFlowOrBuilder()
       The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all
       fields are filled in this message, including but not limited to `name` and
       `display_name`.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow current_flow = 31;
      Specified by:
      getCurrentFlowOrBuilder in interface QueryResultOrBuilder
    • hasIntent

      @Deprecated public boolean hasIntent()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
      Specified by:
      hasIntent in interface QueryResultOrBuilder
      Returns:
      Whether the intent field is set.
    • getIntent

      @Deprecated public Intent getIntent()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.QueryResult.intent is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1111
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
      Specified by:
      getIntent in interface QueryResultOrBuilder
      Returns:
      The intent.
    • setIntent

      @Deprecated public QueryResult.Builder setIntent(Intent value)
      Deprecated.
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
    • setIntent

      @Deprecated public QueryResult.Builder setIntent(Intent.Builder builderForValue)
      Deprecated.
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
    • mergeIntent

      @Deprecated public QueryResult.Builder mergeIntent(Intent value)
      Deprecated.
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
    • clearIntent

      @Deprecated public QueryResult.Builder clearIntent()
      Deprecated.
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
    • getIntentBuilder

      @Deprecated public Intent.Builder getIntentBuilder()
      Deprecated.
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
    • getIntentOrBuilder

      @Deprecated public IntentOrBuilder getIntentOrBuilder()
      Deprecated.
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the
       conversational query. Some, not all fields are filled in this message,
       including but not limited to: `name` and `display_name`. This field is
       deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent intent = 8 [deprecated = true];
      Specified by:
      getIntentOrBuilder in interface QueryResultOrBuilder
    • getIntentDetectionConfidence

      @Deprecated public float getIntentDetectionConfidence()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
       The intent detection confidence. Values range from 0.0 (completely
       uncertain) to 1.0 (completely certain).
       This value is for informational purpose only and is only used to
       help match the best intent within the classification threshold.
       This value may change for the same end-user expression at any time due to a
       model retraining or change in implementation.
       This field is deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      float intent_detection_confidence = 9 [deprecated = true];
      Specified by:
      getIntentDetectionConfidence in interface QueryResultOrBuilder
      Returns:
      The intentDetectionConfidence.
    • setIntentDetectionConfidence

      @Deprecated public QueryResult.Builder setIntentDetectionConfidence(float value)
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
       The intent detection confidence. Values range from 0.0 (completely
       uncertain) to 1.0 (completely certain).
       This value is for informational purpose only and is only used to
       help match the best intent within the classification threshold.
       This value may change for the same end-user expression at any time due to a
       model retraining or change in implementation.
       This field is deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      float intent_detection_confidence = 9 [deprecated = true];
      Parameters:
      value - The intentDetectionConfidence to set.
      Returns:
      This builder for chaining.
    • clearIntentDetectionConfidence

      @Deprecated public QueryResult.Builder clearIntentDetectionConfidence()
      Deprecated.
      google.cloud.dialogflow.cx.v3beta1.QueryResult.intent_detection_confidence is deprecated. See google/cloud/dialogflow/cx/v3beta1/session.proto;l=1122
       The intent detection confidence. Values range from 0.0 (completely
       uncertain) to 1.0 (completely certain).
       This value is for informational purpose only and is only used to
       help match the best intent within the classification threshold.
       This value may change for the same end-user expression at any time due to a
       model retraining or change in implementation.
       This field is deprecated, please use
       [QueryResult.match][google.cloud.dialogflow.cx.v3beta1.QueryResult.match]
       instead.
       
      float intent_detection_confidence = 9 [deprecated = true];
      Returns:
      This builder for chaining.
    • hasMatch

      public boolean hasMatch()
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
      Specified by:
      hasMatch in interface QueryResultOrBuilder
      Returns:
      Whether the match field is set.
    • getMatch

      public Match getMatch()
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
      Specified by:
      getMatch in interface QueryResultOrBuilder
      Returns:
      The match.
    • setMatch

      public QueryResult.Builder setMatch(Match value)
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
    • setMatch

      public QueryResult.Builder setMatch(Match.Builder builderForValue)
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
    • mergeMatch

      public QueryResult.Builder mergeMatch(Match value)
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
    • clearMatch

      public QueryResult.Builder clearMatch()
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
    • getMatchBuilder

      public Match.Builder getMatchBuilder()
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
    • getMatchOrBuilder

      public MatchOrBuilder getMatchOrBuilder()
       Intent match result, could be an intent or an event.
       
      .google.cloud.dialogflow.cx.v3beta1.Match match = 15;
      Specified by:
      getMatchOrBuilder in interface QueryResultOrBuilder
    • hasDiagnosticInfo

      public boolean hasDiagnosticInfo()
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
      Specified by:
      hasDiagnosticInfo in interface QueryResultOrBuilder
      Returns:
      Whether the diagnosticInfo field is set.
    • getDiagnosticInfo

      public com.google.protobuf.Struct getDiagnosticInfo()
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
      Specified by:
      getDiagnosticInfo in interface QueryResultOrBuilder
      Returns:
      The diagnosticInfo.
    • setDiagnosticInfo

      public QueryResult.Builder setDiagnosticInfo(com.google.protobuf.Struct value)
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
    • setDiagnosticInfo

      public QueryResult.Builder setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForValue)
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
    • mergeDiagnosticInfo

      public QueryResult.Builder mergeDiagnosticInfo(com.google.protobuf.Struct value)
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
    • clearDiagnosticInfo

      public QueryResult.Builder clearDiagnosticInfo()
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
    • getDiagnosticInfoBuilder

      public com.google.protobuf.Struct.Builder getDiagnosticInfoBuilder()
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
    • getDiagnosticInfoOrBuilder

      public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder()
       The free-form diagnostic info. For example, this field could contain
       webhook call latency. The fields of this data can change without notice,
       so you should not write code that depends on its structure.
      
       One of the fields is called "Alternative Matched Intents", which may
       aid with debugging. The following describes these intent results:
      
       - The list is empty if no intent was matched to end-user input.
       - Only intents that are referenced in the currently active flow are
       included.
       - The matched intent is included.
       - Other intents that could have matched end-user input, but did not match
       because they are referenced by intent routes that are out of
       [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
       are included.
       - Other intents referenced by intent routes in scope that matched end-user
       input, but had a lower confidence score.
       
      .google.protobuf.Struct diagnostic_info = 10;
      Specified by:
      getDiagnosticInfoOrBuilder in interface QueryResultOrBuilder
    • hasGenerativeInfo

      public boolean hasGenerativeInfo()
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
      Specified by:
      hasGenerativeInfo in interface QueryResultOrBuilder
      Returns:
      Whether the generativeInfo field is set.
    • getGenerativeInfo

      public GenerativeInfo getGenerativeInfo()
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
      Specified by:
      getGenerativeInfo in interface QueryResultOrBuilder
      Returns:
      The generativeInfo.
    • setGenerativeInfo

      public QueryResult.Builder setGenerativeInfo(GenerativeInfo value)
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
    • setGenerativeInfo

      public QueryResult.Builder setGenerativeInfo(GenerativeInfo.Builder builderForValue)
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
    • mergeGenerativeInfo

      public QueryResult.Builder mergeGenerativeInfo(GenerativeInfo value)
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
    • clearGenerativeInfo

      public QueryResult.Builder clearGenerativeInfo()
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
    • getGenerativeInfoBuilder

      public GenerativeInfo.Builder getGenerativeInfoBuilder()
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
    • getGenerativeInfoOrBuilder

      public GenerativeInfoOrBuilder getGenerativeInfoOrBuilder()
       The information of a query if handled by generative agent resources.
       
      .google.cloud.dialogflow.cx.v3beta1.GenerativeInfo generative_info = 33;
      Specified by:
      getGenerativeInfoOrBuilder in interface QueryResultOrBuilder
    • hasSentimentAnalysisResult

      public boolean hasSentimentAnalysisResult()
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
      Specified by:
      hasSentimentAnalysisResult in interface QueryResultOrBuilder
      Returns:
      Whether the sentimentAnalysisResult field is set.
    • getSentimentAnalysisResult

      public SentimentAnalysisResult getSentimentAnalysisResult()
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
      Specified by:
      getSentimentAnalysisResult in interface QueryResultOrBuilder
      Returns:
      The sentimentAnalysisResult.
    • setSentimentAnalysisResult

      public QueryResult.Builder setSentimentAnalysisResult(SentimentAnalysisResult value)
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
    • setSentimentAnalysisResult

      public QueryResult.Builder setSentimentAnalysisResult(SentimentAnalysisResult.Builder builderForValue)
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
    • mergeSentimentAnalysisResult

      public QueryResult.Builder mergeSentimentAnalysisResult(SentimentAnalysisResult value)
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
    • clearSentimentAnalysisResult

      public QueryResult.Builder clearSentimentAnalysisResult()
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
    • getSentimentAnalysisResultBuilder

      public SentimentAnalysisResult.Builder getSentimentAnalysisResultBuilder()
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
    • getSentimentAnalysisResultOrBuilder

      public SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder()
       The sentiment analyss result, which depends on
       [`analyze_query_text_sentiment`]
       [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment],
       specified in the request.
       
      .google.cloud.dialogflow.cx.v3beta1.SentimentAnalysisResult sentiment_analysis_result = 17;
      Specified by:
      getSentimentAnalysisResultOrBuilder in interface QueryResultOrBuilder
    • hasAdvancedSettings

      public boolean hasAdvancedSettings()
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
      Specified by:
      hasAdvancedSettings in interface QueryResultOrBuilder
      Returns:
      Whether the advancedSettings field is set.
    • getAdvancedSettings

      public AdvancedSettings getAdvancedSettings()
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
      Specified by:
      getAdvancedSettings in interface QueryResultOrBuilder
      Returns:
      The advancedSettings.
    • setAdvancedSettings

      public QueryResult.Builder setAdvancedSettings(AdvancedSettings value)
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
    • setAdvancedSettings

      public QueryResult.Builder setAdvancedSettings(AdvancedSettings.Builder builderForValue)
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
    • mergeAdvancedSettings

      public QueryResult.Builder mergeAdvancedSettings(AdvancedSettings value)
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
    • clearAdvancedSettings

      public QueryResult.Builder clearAdvancedSettings()
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
    • getAdvancedSettingsBuilder

      public AdvancedSettings.Builder getAdvancedSettingsBuilder()
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
    • getAdvancedSettingsOrBuilder

      public AdvancedSettingsOrBuilder getAdvancedSettingsOrBuilder()
       Returns the current advanced settings including IVR settings. Even though
       the operations configured by these settings are performed by Dialogflow,
       the client may need to perform special logic at the moment. For example, if
       Dialogflow exports audio to Google Cloud Storage, then the client may need
       to wait for the resulting object to appear in the bucket before proceeding.
       
      .google.cloud.dialogflow.cx.v3beta1.AdvancedSettings advanced_settings = 21;
      Specified by:
      getAdvancedSettingsOrBuilder in interface QueryResultOrBuilder
    • getAllowAnswerFeedback

      public boolean getAllowAnswerFeedback()
       Indicates whether the Thumbs up/Thumbs down rating controls are need to be
       shown for the response in the Dialogflow Messenger widget.
       
      bool allow_answer_feedback = 32;
      Specified by:
      getAllowAnswerFeedback in interface QueryResultOrBuilder
      Returns:
      The allowAnswerFeedback.
    • setAllowAnswerFeedback

      public QueryResult.Builder setAllowAnswerFeedback(boolean value)
       Indicates whether the Thumbs up/Thumbs down rating controls are need to be
       shown for the response in the Dialogflow Messenger widget.
       
      bool allow_answer_feedback = 32;
      Parameters:
      value - The allowAnswerFeedback to set.
      Returns:
      This builder for chaining.
    • clearAllowAnswerFeedback

      public QueryResult.Builder clearAllowAnswerFeedback()
       Indicates whether the Thumbs up/Thumbs down rating controls are need to be
       shown for the response in the Dialogflow Messenger widget.
       
      bool allow_answer_feedback = 32;
      Returns:
      This builder for chaining.
    • hasDataStoreConnectionSignals

      public boolean hasDataStoreConnectionSignals()
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDataStoreConnectionSignals in interface QueryResultOrBuilder
      Returns:
      Whether the dataStoreConnectionSignals field is set.
    • getDataStoreConnectionSignals

      public DataStoreConnectionSignals getDataStoreConnectionSignals()
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataStoreConnectionSignals in interface QueryResultOrBuilder
      Returns:
      The dataStoreConnectionSignals.
    • setDataStoreConnectionSignals

      public QueryResult.Builder setDataStoreConnectionSignals(DataStoreConnectionSignals value)
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
    • setDataStoreConnectionSignals

      public QueryResult.Builder setDataStoreConnectionSignals(DataStoreConnectionSignals.Builder builderForValue)
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDataStoreConnectionSignals

      public QueryResult.Builder mergeDataStoreConnectionSignals(DataStoreConnectionSignals value)
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
    • clearDataStoreConnectionSignals

      public QueryResult.Builder clearDataStoreConnectionSignals()
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
    • getDataStoreConnectionSignalsBuilder

      public DataStoreConnectionSignals.Builder getDataStoreConnectionSignalsBuilder()
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
    • getDataStoreConnectionSignalsOrBuilder

      public DataStoreConnectionSignalsOrBuilder getDataStoreConnectionSignalsOrBuilder()
       Optional. Data store connection feature output signals.
       Filled only when data stores are involved in serving the query.
       
      .google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals data_store_connection_signals = 35 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataStoreConnectionSignalsOrBuilder in interface QueryResultOrBuilder
    • getTraceBlocksList

      public List<TraceBlock> getTraceBlocksList()
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTraceBlocksList in interface QueryResultOrBuilder
    • getTraceBlocksCount

      public int getTraceBlocksCount()
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTraceBlocksCount in interface QueryResultOrBuilder
    • getTraceBlocks

      public TraceBlock getTraceBlocks(int index)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTraceBlocks in interface QueryResultOrBuilder
    • setTraceBlocks

      public QueryResult.Builder setTraceBlocks(int index, TraceBlock value)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • setTraceBlocks

      public QueryResult.Builder setTraceBlocks(int index, TraceBlock.Builder builderForValue)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • addTraceBlocks

      public QueryResult.Builder addTraceBlocks(TraceBlock value)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • addTraceBlocks

      public QueryResult.Builder addTraceBlocks(int index, TraceBlock value)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • addTraceBlocks

      public QueryResult.Builder addTraceBlocks(TraceBlock.Builder builderForValue)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • addTraceBlocks

      public QueryResult.Builder addTraceBlocks(int index, TraceBlock.Builder builderForValue)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • addAllTraceBlocks

      public QueryResult.Builder addAllTraceBlocks(Iterable<? extends TraceBlock> values)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • clearTraceBlocks

      public QueryResult.Builder clearTraceBlocks()
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • removeTraceBlocks

      public QueryResult.Builder removeTraceBlocks(int index)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • getTraceBlocksBuilder

      public TraceBlock.Builder getTraceBlocksBuilder(int index)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • getTraceBlocksOrBuilder

      public TraceBlockOrBuilder getTraceBlocksOrBuilder(int index)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTraceBlocksOrBuilder in interface QueryResultOrBuilder
    • getTraceBlocksOrBuilderList

      public List<? extends TraceBlockOrBuilder> getTraceBlocksOrBuilderList()
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTraceBlocksOrBuilderList in interface QueryResultOrBuilder
    • addTraceBlocksBuilder

      public TraceBlock.Builder addTraceBlocksBuilder()
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • addTraceBlocksBuilder

      public TraceBlock.Builder addTraceBlocksBuilder(int index)
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];
    • getTraceBlocksBuilderList

      public List<TraceBlock.Builder> getTraceBlocksBuilderList()
       Optional. Contains the sequence of trace blocks from the current
       conversation turn. Trace blocks are ordered chronologically and contain
       detailed traces of runtime behavior such as tool calls, LLM calls, flow and
       playbook invocations, agent utterances and user utterances.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TraceBlock trace_blocks = 37 [(.google.api.field_behavior) = OPTIONAL];