/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2beta1/participant.proto

package com.google.cloud.dialogflow.v2beta1;

public interface SuggestFaqAnswersResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. Answers extracted from FAQ documents.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;</code>
   */
  java.util.List<com.google.cloud.dialogflow.v2beta1.FaqAnswer> getFaqAnswersList();
  /**
   *
   *
   * <pre>
   * Output only. Answers extracted from FAQ documents.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;</code>
   */
  com.google.cloud.dialogflow.v2beta1.FaqAnswer getFaqAnswers(int index);
  /**
   *
   *
   * <pre>
   * Output only. Answers extracted from FAQ documents.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;</code>
   */
  int getFaqAnswersCount();
  /**
   *
   *
   * <pre>
   * Output only. Answers extracted from FAQ documents.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;</code>
   */
  java.util.List<? extends com.google.cloud.dialogflow.v2beta1.FaqAnswerOrBuilder>
      getFaqAnswersOrBuilderList();
  /**
   *
   *
   * <pre>
   * Output only. Answers extracted from FAQ documents.
   * </pre>
   *
   * <code>repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;</code>
   */
  com.google.cloud.dialogflow.v2beta1.FaqAnswerOrBuilder getFaqAnswersOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * The name of the latest conversation message used to compile
   * suggestion for.
   * Format: `projects/&lt;Project ID&gt;/locations/&lt;Location
   * ID&gt;/conversations/&lt;Conversation ID&gt;/messages/&lt;Message ID&gt;`.
   * </pre>
   *
   * <code>string latest_message = 2;</code>
   *
   * @return The latestMessage.
   */
  java.lang.String getLatestMessage();
  /**
   *
   *
   * <pre>
   * The name of the latest conversation message used to compile
   * suggestion for.
   * Format: `projects/&lt;Project ID&gt;/locations/&lt;Location
   * ID&gt;/conversations/&lt;Conversation ID&gt;/messages/&lt;Message ID&gt;`.
   * </pre>
   *
   * <code>string latest_message = 2;</code>
   *
   * @return The bytes for latestMessage.
   */
  com.google.protobuf.ByteString getLatestMessageBytes();

  /**
   *
   *
   * <pre>
   * Number of messages prior to and including
   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message]
   * to compile the suggestion. It may be smaller than the
   * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size]
   * field in the request if there aren't that many messages in the
   * conversation.
   * </pre>
   *
   * <code>int32 context_size = 3;</code>
   *
   * @return The contextSize.
   */
  int getContextSize();
}
