Class ConversationTurn.VirtualAgentOutput.Builder

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

public static final class ConversationTurn.VirtualAgentOutput.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConversationTurn.VirtualAgentOutput.Builder> implements ConversationTurn.VirtualAgentOutputOrBuilder
 The output from the virtual agent.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ConversationTurn.VirtualAgentOutput
  • 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<ConversationTurn.VirtualAgentOutput.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<ConversationTurn.VirtualAgentOutput.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<ConversationTurn.VirtualAgentOutput.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ConversationTurn.VirtualAgentOutput.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<ConversationTurn.VirtualAgentOutput.Builder>
    • mergeFrom

    • isInitialized

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

      public ConversationTurn.VirtualAgentOutput.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<ConversationTurn.VirtualAgentOutput.Builder>
      Throws:
      IOException
    • hasSessionParameters

      public boolean hasSessionParameters()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
      Specified by:
      hasSessionParameters in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      Whether the sessionParameters field is set.
    • getSessionParameters

      public com.google.protobuf.Struct getSessionParameters()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
      Specified by:
      getSessionParameters in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      The sessionParameters.
    • setSessionParameters

      public ConversationTurn.VirtualAgentOutput.Builder setSessionParameters(com.google.protobuf.Struct value)
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
    • setSessionParameters

      public ConversationTurn.VirtualAgentOutput.Builder setSessionParameters(com.google.protobuf.Struct.Builder builderForValue)
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
    • mergeSessionParameters

      public ConversationTurn.VirtualAgentOutput.Builder mergeSessionParameters(com.google.protobuf.Struct value)
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
    • clearSessionParameters

      public ConversationTurn.VirtualAgentOutput.Builder clearSessionParameters()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
    • getSessionParametersBuilder

      public com.google.protobuf.Struct.Builder getSessionParametersBuilder()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
    • getSessionParametersOrBuilder

      public com.google.protobuf.StructOrBuilder getSessionParametersOrBuilder()
       The session parameters available to the bot at this point.
       
      .google.protobuf.Struct session_parameters = 4;
      Specified by:
      getSessionParametersOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getDifferencesList

      public List<TestRunDifference> getDifferencesList()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDifferencesList in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getDifferencesCount

      public int getDifferencesCount()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDifferencesCount in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getDifferences

      public TestRunDifference getDifferences(int index)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDifferences in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • setDifferences

      public ConversationTurn.VirtualAgentOutput.Builder setDifferences(int index, TestRunDifference value)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDifferences

      public ConversationTurn.VirtualAgentOutput.Builder setDifferences(int index, TestRunDifference.Builder builderForValue)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDifferences

       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDifferences

      public ConversationTurn.VirtualAgentOutput.Builder addDifferences(int index, TestRunDifference value)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDifferences

       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDifferences

      public ConversationTurn.VirtualAgentOutput.Builder addDifferences(int index, TestRunDifference.Builder builderForValue)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllDifferences

      public ConversationTurn.VirtualAgentOutput.Builder addAllDifferences(Iterable<? extends TestRunDifference> values)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDifferences

       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeDifferences

      public ConversationTurn.VirtualAgentOutput.Builder removeDifferences(int index)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDifferencesBuilder

      public TestRunDifference.Builder getDifferencesBuilder(int index)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDifferencesOrBuilder

      public TestRunDifferenceOrBuilder getDifferencesOrBuilder(int index)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDifferencesOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getDifferencesOrBuilderList

      public List<? extends TestRunDifferenceOrBuilder> getDifferencesOrBuilderList()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDifferencesOrBuilderList in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • addDifferencesBuilder

      public TestRunDifference.Builder addDifferencesBuilder()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addDifferencesBuilder

      public TestRunDifference.Builder addDifferencesBuilder(int index)
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDifferencesBuilderList

      public List<TestRunDifference.Builder> getDifferencesBuilderList()
       Output only. If this is part of a [result conversation
       turn][TestCaseResult.conversation_turns], the list of differences
       between the original run and the replay for this output, if any.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.TestRunDifference differences = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDiagnosticInfo

      public boolean hasDiagnosticInfo()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      hasDiagnosticInfo in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      Whether the diagnosticInfo field is set.
    • getDiagnosticInfo

      public com.google.protobuf.Struct getDiagnosticInfo()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getDiagnosticInfo in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      The diagnosticInfo.
    • setDiagnosticInfo

      public ConversationTurn.VirtualAgentOutput.Builder setDiagnosticInfo(com.google.protobuf.Struct value)
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
    • setDiagnosticInfo

      public ConversationTurn.VirtualAgentOutput.Builder setDiagnosticInfo(com.google.protobuf.Struct.Builder builderForValue)
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
    • mergeDiagnosticInfo

      public ConversationTurn.VirtualAgentOutput.Builder mergeDiagnosticInfo(com.google.protobuf.Struct value)
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
    • clearDiagnosticInfo

      public ConversationTurn.VirtualAgentOutput.Builder clearDiagnosticInfo()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
    • getDiagnosticInfoBuilder

      public com.google.protobuf.Struct.Builder getDiagnosticInfoBuilder()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
    • getDiagnosticInfoOrBuilder

      public com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder()
       Required. Input only. The diagnostic
       [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
       output for the turn. Required to calculate the testing coverage.
       
      .google.protobuf.Struct diagnostic_info = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getDiagnosticInfoOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • hasTriggeredIntent

      public boolean hasTriggeredIntent()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
      Specified by:
      hasTriggeredIntent in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      Whether the triggeredIntent field is set.
    • getTriggeredIntent

      public Intent getTriggeredIntent()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
      Specified by:
      getTriggeredIntent in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      The triggeredIntent.
    • setTriggeredIntent

      public ConversationTurn.VirtualAgentOutput.Builder setTriggeredIntent(Intent value)
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
    • setTriggeredIntent

      public ConversationTurn.VirtualAgentOutput.Builder setTriggeredIntent(Intent.Builder builderForValue)
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
    • mergeTriggeredIntent

      public ConversationTurn.VirtualAgentOutput.Builder mergeTriggeredIntent(Intent value)
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
    • clearTriggeredIntent

      public ConversationTurn.VirtualAgentOutput.Builder clearTriggeredIntent()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
    • getTriggeredIntentBuilder

      public Intent.Builder getTriggeredIntentBuilder()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
    • getTriggeredIntentOrBuilder

      public IntentOrBuilder getTriggeredIntentOrBuilder()
       The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
       the response. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Intent triggered_intent = 7;
      Specified by:
      getTriggeredIntentOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • hasCurrentPage

      public boolean hasCurrentPage()
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
      Specified by:
      hasCurrentPage in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      Whether the currentPage field is set.
    • getCurrentPage

      public Page getCurrentPage()
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
      Specified by:
      getCurrentPage in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      The currentPage.
    • setCurrentPage

      public ConversationTurn.VirtualAgentOutput.Builder setCurrentPage(Page value)
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
    • setCurrentPage

      public ConversationTurn.VirtualAgentOutput.Builder setCurrentPage(Page.Builder builderForValue)
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
    • mergeCurrentPage

      public ConversationTurn.VirtualAgentOutput.Builder mergeCurrentPage(Page value)
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
    • clearCurrentPage

       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
    • getCurrentPageBuilder

      public Page.Builder getCurrentPageBuilder()
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
    • getCurrentPageOrBuilder

      public PageOrBuilder getCurrentPageOrBuilder()
       The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
       utterance was spoken. Only name and displayName will be set.
       
      .google.cloud.dialogflow.cx.v3beta1.Page current_page = 8;
      Specified by:
      getCurrentPageOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getTextResponsesList

      public List<ResponseMessage.Text> getTextResponsesList()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
      Specified by:
      getTextResponsesList in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getTextResponsesCount

      public int getTextResponsesCount()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
      Specified by:
      getTextResponsesCount in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getTextResponses

      public ResponseMessage.Text getTextResponses(int index)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
      Specified by:
      getTextResponses in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • setTextResponses

      public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text value)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • setTextResponses

      public ConversationTurn.VirtualAgentOutput.Builder setTextResponses(int index, ResponseMessage.Text.Builder builderForValue)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • addTextResponses

       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • addTextResponses

      public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text value)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • addTextResponses

       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • addTextResponses

      public ConversationTurn.VirtualAgentOutput.Builder addTextResponses(int index, ResponseMessage.Text.Builder builderForValue)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • addAllTextResponses

      public ConversationTurn.VirtualAgentOutput.Builder addAllTextResponses(Iterable<? extends ResponseMessage.Text> values)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • clearTextResponses

      public ConversationTurn.VirtualAgentOutput.Builder clearTextResponses()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • removeTextResponses

      public ConversationTurn.VirtualAgentOutput.Builder removeTextResponses(int index)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • getTextResponsesBuilder

      public ResponseMessage.Text.Builder getTextResponsesBuilder(int index)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • getTextResponsesOrBuilder

      public ResponseMessage.TextOrBuilder getTextResponsesOrBuilder(int index)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
      Specified by:
      getTextResponsesOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • getTextResponsesOrBuilderList

      public List<? extends ResponseMessage.TextOrBuilder> getTextResponsesOrBuilderList()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
      Specified by:
      getTextResponsesOrBuilderList in interface ConversationTurn.VirtualAgentOutputOrBuilder
    • addTextResponsesBuilder

      public ResponseMessage.Text.Builder addTextResponsesBuilder()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • addTextResponsesBuilder

      public ResponseMessage.Text.Builder addTextResponsesBuilder(int index)
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • getTextResponsesBuilderList

      public List<ResponseMessage.Text.Builder> getTextResponsesBuilderList()
       The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
       responses from the agent for the turn.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text text_responses = 9;
    • hasStatus

      public boolean hasStatus()
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
      Specified by:
      hasStatus in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
      Specified by:
      getStatus in interface ConversationTurn.VirtualAgentOutputOrBuilder
      Returns:
      The status.
    • setStatus

       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
    • setStatus

      public ConversationTurn.VirtualAgentOutput.Builder setStatus(Status.Builder builderForValue)
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
    • mergeStatus

       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
    • clearStatus

       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
    • getStatusBuilder

      public Status.Builder getStatusBuilder()
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
       Response error from the agent in the test result. If set, other output
       is empty.
       
      .google.rpc.Status status = 10;
      Specified by:
      getStatusOrBuilder in interface ConversationTurn.VirtualAgentOutputOrBuilder