/*
 * 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
 *
 * http://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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.contactcenterinsights.v1.model;

/**
 * An annotation that was generated during the customer and agent interaction.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Contact Center AI Insights API. For a detailed
 * explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation extends com.google.api.client.json.GenericJson {

  /**
   * The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conver
   * sationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String annotationId;

  /**
   * The feedback that the customer has about the answer in `data`.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback answerFeedback;

  /**
   * Agent Assist Article Suggestion data.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData articleSuggestion;

  /**
   * Conversation summarization suggestion data.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData conversationSummarizationSuggestion;

  /**
   * The time at which this annotation was created.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private String createTime;

  /**
   * Dialogflow interaction data.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData dialogflowInteraction;

  /**
   * The boundary in the conversation where the annotation ends, inclusive.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary endBoundary;

  /**
   * Agent Assist FAQ answer data.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData faqAnswer;

  /**
   * Agent Assist Smart Compose suggestion data.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData smartComposeSuggestion;

  /**
   * Agent Assist Smart Reply data.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1SmartReplyData smartReply;

  /**
   * The boundary in the conversation where the annotation starts, inclusive.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary startBoundary;

  /**
   * The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conver
   * sationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}
   * @return value or {@code null} for none
   */
  public java.lang.String getAnnotationId() {
    return annotationId;
  }

  /**
   * The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conver
   * sationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}
   * @param annotationId annotationId or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setAnnotationId(java.lang.String annotationId) {
    this.annotationId = annotationId;
    return this;
  }

  /**
   * The feedback that the customer has about the answer in `data`.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback getAnswerFeedback() {
    return answerFeedback;
  }

  /**
   * The feedback that the customer has about the answer in `data`.
   * @param answerFeedback answerFeedback or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setAnswerFeedback(GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback answerFeedback) {
    this.answerFeedback = answerFeedback;
    return this;
  }

  /**
   * Agent Assist Article Suggestion data.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData getArticleSuggestion() {
    return articleSuggestion;
  }

  /**
   * Agent Assist Article Suggestion data.
   * @param articleSuggestion articleSuggestion or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setArticleSuggestion(GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData articleSuggestion) {
    this.articleSuggestion = articleSuggestion;
    return this;
  }

  /**
   * Conversation summarization suggestion data.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData getConversationSummarizationSuggestion() {
    return conversationSummarizationSuggestion;
  }

  /**
   * Conversation summarization suggestion data.
   * @param conversationSummarizationSuggestion conversationSummarizationSuggestion or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setConversationSummarizationSuggestion(GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData conversationSummarizationSuggestion) {
    this.conversationSummarizationSuggestion = conversationSummarizationSuggestion;
    return this;
  }

  /**
   * The time at which this annotation was created.
   * @return value or {@code null} for none
   */
  public String getCreateTime() {
    return createTime;
  }

  /**
   * The time at which this annotation was created.
   * @param createTime createTime or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setCreateTime(String createTime) {
    this.createTime = createTime;
    return this;
  }

  /**
   * Dialogflow interaction data.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData getDialogflowInteraction() {
    return dialogflowInteraction;
  }

  /**
   * Dialogflow interaction data.
   * @param dialogflowInteraction dialogflowInteraction or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setDialogflowInteraction(GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData dialogflowInteraction) {
    this.dialogflowInteraction = dialogflowInteraction;
    return this;
  }

  /**
   * The boundary in the conversation where the annotation ends, inclusive.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary getEndBoundary() {
    return endBoundary;
  }

  /**
   * The boundary in the conversation where the annotation ends, inclusive.
   * @param endBoundary endBoundary or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setEndBoundary(GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary endBoundary) {
    this.endBoundary = endBoundary;
    return this;
  }

  /**
   * Agent Assist FAQ answer data.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData getFaqAnswer() {
    return faqAnswer;
  }

  /**
   * Agent Assist FAQ answer data.
   * @param faqAnswer faqAnswer or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setFaqAnswer(GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData faqAnswer) {
    this.faqAnswer = faqAnswer;
    return this;
  }

  /**
   * Agent Assist Smart Compose suggestion data.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData getSmartComposeSuggestion() {
    return smartComposeSuggestion;
  }

  /**
   * Agent Assist Smart Compose suggestion data.
   * @param smartComposeSuggestion smartComposeSuggestion or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setSmartComposeSuggestion(GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData smartComposeSuggestion) {
    this.smartComposeSuggestion = smartComposeSuggestion;
    return this;
  }

  /**
   * Agent Assist Smart Reply data.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1SmartReplyData getSmartReply() {
    return smartReply;
  }

  /**
   * Agent Assist Smart Reply data.
   * @param smartReply smartReply or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setSmartReply(GoogleCloudContactcenterinsightsV1alpha1SmartReplyData smartReply) {
    this.smartReply = smartReply;
    return this;
  }

  /**
   * The boundary in the conversation where the annotation starts, inclusive.
   * @return value or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary getStartBoundary() {
    return startBoundary;
  }

  /**
   * The boundary in the conversation where the annotation starts, inclusive.
   * @param startBoundary startBoundary or {@code null} for none
   */
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation setStartBoundary(GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary startBoundary) {
    this.startBoundary = startBoundary;
    return this;
  }

  @Override
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation set(String fieldName, Object value) {
    return (GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation) super.set(fieldName, value);
  }

  @Override
  public GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation clone() {
    return (GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation) super.clone();
  }

}
