# Interface RuntimeAnnotationOrBuilder (2.93.0)

2.93.0 (latest) 2.91.0 2.88.0 2.87.0 2.85.0 2.83.0 2.82.0 2.81.0 2.80.0 2.78.0 2.76.0 2.75.0 2.74.0 2.73.0 2.72.0 2.70.0 2.68.0 2.67.0 2.64.0 2.63.0 2.62.0 2.60.0 2.59.0 2.58.0 2.57.0 2.56.0 2.55.0 2.54.0 2.53.0 2.52.0 2.51.0 2.49.0 2.48.0 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.10 2.2.7

    public interface RuntimeAnnotationOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAnnotationId()

    public abstract String getAnnotationId()

The unique identifier of the annotation.
Format:
projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}

`string annotation_id = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The annotationId. |

### getAnnotationIdBytes()

    public abstract ByteString getAnnotationIdBytes()

The unique identifier of the annotation.
Format:
projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}

`string annotation_id = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for annotationId. |

### getAnswerFeedback()

    public abstract AnswerFeedback getAnswerFeedback()

The feedback that the customer has about the answer in `data`.

`.google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.AnswerFeedback` | The answerFeedback. |

### getAnswerFeedbackOrBuilder()

    public abstract AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()

The feedback that the customer has about the answer in `data`.

`.google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder` |   |

### getArticleSuggestion()

    public abstract ArticleSuggestionData getArticleSuggestion()

Agent Assist Article Suggestion data.

`.google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData` | The articleSuggestion. |

### getArticleSuggestionOrBuilder()

    public abstract ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder()

Agent Assist Article Suggestion data.

`.google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataOrBuilder` |   |

### getConversationSummarizationSuggestion()

    public abstract ConversationSummarizationSuggestionData getConversationSummarizationSuggestion()

Conversation summarization suggestion data.

`
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData` | The conversationSummarizationSuggestion. |

### getConversationSummarizationSuggestionOrBuilder()

    public abstract ConversationSummarizationSuggestionDataOrBuilder getConversationSummarizationSuggestionOrBuilder()

Conversation summarization suggestion data.

`
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionDataOrBuilder` |   |

### getCreateTime()

    public abstract Timestamp getCreateTime()

The time at which this annotation was created.

`.google.protobuf.Timestamp create_time = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time at which this annotation was created.

`.google.protobuf.Timestamp create_time = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getDataCase()

    public abstract RuntimeAnnotation.DataCase getDataCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.DataCase` |   |

### getDialogflowInteraction()

    public abstract DialogflowInteractionData getDialogflowInteraction()

Dialogflow interaction data.

`
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData` | The dialogflowInteraction. |

### getDialogflowInteractionOrBuilder()

    public abstract DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder()

Dialogflow interaction data.

`
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuilder` |   |

### getEndBoundary()

    public abstract AnnotationBoundary getEndBoundary()

The boundary in the conversation where the annotation ends, inclusive.

`.google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.AnnotationBoundary` | The endBoundary. |

### getEndBoundaryOrBuilder()

    public abstract AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder()

The boundary in the conversation where the annotation ends, inclusive.

`.google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder` |   |

### getFaqAnswer()

    public abstract FaqAnswerData getFaqAnswer()

Agent Assist FAQ answer data.

`.google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.FaqAnswerData` | The faqAnswer. |

### getFaqAnswerOrBuilder()

    public abstract FaqAnswerDataOrBuilder getFaqAnswerOrBuilder()

Agent Assist FAQ answer data.

`.google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder` |   |

### getSmartComposeSuggestion()

    public abstract SmartComposeSuggestionData getSmartComposeSuggestion()

Agent Assist Smart Compose suggestion data.

`
.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData` | The smartComposeSuggestion. |

### getSmartComposeSuggestionOrBuilder()

    public abstract SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder()

Agent Assist Smart Compose suggestion data.

`
.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataOrBuilder` |   |

### getSmartReply()

    public abstract SmartReplyData getSmartReply()

Agent Assist Smart Reply data.

`.google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.SmartReplyData` | The smartReply. |

### getSmartReplyOrBuilder()

    public abstract SmartReplyDataOrBuilder getSmartReplyOrBuilder()

Agent Assist Smart Reply data.

`.google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder` |   |

### getStartBoundary()

    public abstract AnnotationBoundary getStartBoundary()

The boundary in the conversation where the annotation starts, inclusive.

`.google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.AnnotationBoundary` | The startBoundary. |

### getStartBoundaryOrBuilder()

    public abstract AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder()

The boundary in the conversation where the annotation starts, inclusive.

`.google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder` |   |

### getUserInput()

    public abstract RuntimeAnnotation.UserInput getUserInput()

Explicit input used for generating the answer

`.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput user_input = 16;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput` | The userInput. |

### getUserInputOrBuilder()

    public abstract RuntimeAnnotation.UserInputOrBuilder getUserInputOrBuilder()

Explicit input used for generating the answer

`.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput user_input = 16;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInputOrBuilder` |   |

### hasAnswerFeedback()

    public abstract boolean hasAnswerFeedback()

The feedback that the customer has about the answer in `data`.

`.google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the answerFeedback field is set. |

### hasArticleSuggestion()

    public abstract boolean hasArticleSuggestion()

Agent Assist Article Suggestion data.

`.google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the articleSuggestion field is set. |

### hasConversationSummarizationSuggestion()

    public abstract boolean hasConversationSummarizationSuggestion()

Conversation summarization suggestion data.

`
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the conversationSummarizationSuggestion field is set. |

### hasCreateTime()

    public abstract boolean hasCreateTime()

The time at which this annotation was created.

`.google.protobuf.Timestamp create_time = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the createTime field is set. |

### hasDialogflowInteraction()

    public abstract boolean hasDialogflowInteraction()

Dialogflow interaction data.

`
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the dialogflowInteraction field is set. |

### hasEndBoundary()

    public abstract boolean hasEndBoundary()

The boundary in the conversation where the annotation ends, inclusive.

`.google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the endBoundary field is set. |

### hasFaqAnswer()

    public abstract boolean hasFaqAnswer()

Agent Assist FAQ answer data.

`.google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the faqAnswer field is set. |

### hasSmartComposeSuggestion()

    public abstract boolean hasSmartComposeSuggestion()

Agent Assist Smart Compose suggestion data.

`
.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the smartComposeSuggestion field is set. |

### hasSmartReply()

    public abstract boolean hasSmartReply()

Agent Assist Smart Reply data.

`.google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the smartReply field is set. |

### hasStartBoundary()

    public abstract boolean hasStartBoundary()

The boundary in the conversation where the annotation starts, inclusive.

`.google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the startBoundary field is set. |

### hasUserInput()

    public abstract boolean hasUserInput()

Explicit input used for generating the answer

`.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput user_input = 16;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the userInput field is set. |