Interface AssistAnswerOrBuilder

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

@Generated public interface AssistAnswerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Immutable. Resource name of the `AssistAnswer`.
       Format:
       `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}`
      
       This field must be a UTF-8 encoded string with a length limit of 1024
       characters.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Immutable. Resource name of the `AssistAnswer`.
       Format:
       `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}`
      
       This field must be a UTF-8 encoded string with a length limit of 1024
       characters.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for name.
    • getStateValue

      int getStateValue()
       State of the answer generation.
       
      .google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      AssistAnswer.State getState()
       State of the answer generation.
       
      .google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;
      Returns:
      The state.
    • getRepliesList

      List<AssistAnswer.Reply> getRepliesList()
       Replies of the assistant.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;
    • getReplies

      AssistAnswer.Reply getReplies(int index)
       Replies of the assistant.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;
    • getRepliesCount

      int getRepliesCount()
       Replies of the assistant.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;
    • getRepliesOrBuilderList

      List<? extends AssistAnswer.ReplyOrBuilder> getRepliesOrBuilderList()
       Replies of the assistant.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;
    • getRepliesOrBuilder

      AssistAnswer.ReplyOrBuilder getRepliesOrBuilder(int index)
       Replies of the assistant.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;
    • getAssistSkippedReasonsList

      List<AssistAnswer.AssistSkippedReason> getAssistSkippedReasonsList()
       Reasons for not answering the assist call.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
      Returns:
      A list containing the assistSkippedReasons.
    • getAssistSkippedReasonsCount

      int getAssistSkippedReasonsCount()
       Reasons for not answering the assist call.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
      Returns:
      The count of assistSkippedReasons.
    • getAssistSkippedReasons

      AssistAnswer.AssistSkippedReason getAssistSkippedReasons(int index)
       Reasons for not answering the assist call.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The assistSkippedReasons at the given index.
    • getAssistSkippedReasonsValueList

      List<Integer> getAssistSkippedReasonsValueList()
       Reasons for not answering the assist call.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
      Returns:
      A list containing the enum numeric values on the wire for assistSkippedReasons.
    • getAssistSkippedReasonsValue

      int getAssistSkippedReasonsValue(int index)
       Reasons for not answering the assist call.
       
      repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of assistSkippedReasons at the given index.