Class RuntimeAnnotation.Builder (2.52.0)

public static final class RuntimeAnnotation.Builder extends GeneratedMessageV3.Builder<RuntimeAnnotation.Builder> implements RuntimeAnnotationOrBuilder

An annotation that was generated during the customer and agent interaction.

Protobuf type google.cloud.contactcenterinsights.v1.RuntimeAnnotation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

build()

public RuntimeAnnotation build()
Returns
Type Description
RuntimeAnnotation

buildPartial()

public RuntimeAnnotation buildPartial()
Returns
Type Description
RuntimeAnnotation

clear()

public RuntimeAnnotation.Builder clear()
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

clearAnnotationId()

public RuntimeAnnotation.Builder clearAnnotationId()

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
RuntimeAnnotation.Builder

This builder for chaining.

clearAnswerFeedback()

public RuntimeAnnotation.Builder clearAnswerFeedback()

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

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

Returns
Type Description
RuntimeAnnotation.Builder

clearArticleSuggestion()

public RuntimeAnnotation.Builder clearArticleSuggestion()

Agent Assist Article Suggestion data.

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

Returns
Type Description
RuntimeAnnotation.Builder

clearConversationSummarizationSuggestion()

public RuntimeAnnotation.Builder clearConversationSummarizationSuggestion()

Conversation summarization suggestion data.

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

Returns
Type Description
RuntimeAnnotation.Builder

clearCreateTime()

public RuntimeAnnotation.Builder clearCreateTime()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
RuntimeAnnotation.Builder

clearData()

public RuntimeAnnotation.Builder clearData()
Returns
Type Description
RuntimeAnnotation.Builder

clearDialogflowInteraction()

public RuntimeAnnotation.Builder clearDialogflowInteraction()

Dialogflow interaction data.

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

Returns
Type Description
RuntimeAnnotation.Builder

clearEndBoundary()

public RuntimeAnnotation.Builder clearEndBoundary()

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

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

Returns
Type Description
RuntimeAnnotation.Builder

clearFaqAnswer()

public RuntimeAnnotation.Builder clearFaqAnswer()

Agent Assist FAQ answer data.

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

Returns
Type Description
RuntimeAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

public RuntimeAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

clearSmartComposeSuggestion()

public RuntimeAnnotation.Builder clearSmartComposeSuggestion()

Agent Assist Smart Compose suggestion data.

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

Returns
Type Description
RuntimeAnnotation.Builder

clearSmartReply()

public RuntimeAnnotation.Builder clearSmartReply()

Agent Assist Smart Reply data.

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

Returns
Type Description
RuntimeAnnotation.Builder

clearStartBoundary()

public RuntimeAnnotation.Builder clearStartBoundary()

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

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

Returns
Type Description
RuntimeAnnotation.Builder

clearUserInput()

public RuntimeAnnotation.Builder clearUserInput()

Explicit input used for generating the answer

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

Returns
Type Description
RuntimeAnnotation.Builder

clone()

public RuntimeAnnotation.Builder clone()
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

getAnnotationId()

public 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
String

The annotationId.

getAnnotationIdBytes()

public 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
ByteString

The bytes for annotationId.

getAnswerFeedback()

public AnswerFeedback getAnswerFeedback()

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

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

Returns
Type Description
AnswerFeedback

The answerFeedback.

getAnswerFeedbackBuilder()

public AnswerFeedback.Builder getAnswerFeedbackBuilder()

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

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

Returns
Type Description
AnswerFeedback.Builder

getAnswerFeedbackOrBuilder()

public AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()

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

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

Returns
Type Description
AnswerFeedbackOrBuilder

getArticleSuggestion()

public ArticleSuggestionData getArticleSuggestion()

Agent Assist Article Suggestion data.

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

Returns
Type Description
ArticleSuggestionData

The articleSuggestion.

getArticleSuggestionBuilder()

public ArticleSuggestionData.Builder getArticleSuggestionBuilder()

Agent Assist Article Suggestion data.

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

Returns
Type Description
ArticleSuggestionData.Builder

getArticleSuggestionOrBuilder()

public ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder()

Agent Assist Article Suggestion data.

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

Returns
Type Description
ArticleSuggestionDataOrBuilder

getConversationSummarizationSuggestion()

public ConversationSummarizationSuggestionData getConversationSummarizationSuggestion()

Conversation summarization suggestion data.

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

Returns
Type Description
ConversationSummarizationSuggestionData

The conversationSummarizationSuggestion.

getConversationSummarizationSuggestionBuilder()

public ConversationSummarizationSuggestionData.Builder getConversationSummarizationSuggestionBuilder()

Conversation summarization suggestion data.

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

Returns
Type Description
ConversationSummarizationSuggestionData.Builder

getConversationSummarizationSuggestionOrBuilder()

public ConversationSummarizationSuggestionDataOrBuilder getConversationSummarizationSuggestionOrBuilder()

Conversation summarization suggestion data.

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

Returns
Type Description
ConversationSummarizationSuggestionDataOrBuilder

getCreateTime()

public Timestamp getCreateTime()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDataCase()

public RuntimeAnnotation.DataCase getDataCase()
Returns
Type Description
RuntimeAnnotation.DataCase

getDefaultInstanceForType()

public RuntimeAnnotation getDefaultInstanceForType()
Returns
Type Description
RuntimeAnnotation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDialogflowInteraction()

public DialogflowInteractionData getDialogflowInteraction()

Dialogflow interaction data.

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

Returns
Type Description
DialogflowInteractionData

The dialogflowInteraction.

getDialogflowInteractionBuilder()

public DialogflowInteractionData.Builder getDialogflowInteractionBuilder()

Dialogflow interaction data.

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

Returns
Type Description
DialogflowInteractionData.Builder

getDialogflowInteractionOrBuilder()

public DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder()

Dialogflow interaction data.

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

Returns
Type Description
DialogflowInteractionDataOrBuilder

getEndBoundary()

public AnnotationBoundary getEndBoundary()

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

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

Returns
Type Description
AnnotationBoundary

The endBoundary.

getEndBoundaryBuilder()

public AnnotationBoundary.Builder getEndBoundaryBuilder()

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

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

Returns
Type Description
AnnotationBoundary.Builder

getEndBoundaryOrBuilder()

public AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder()

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

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

Returns
Type Description
AnnotationBoundaryOrBuilder

getFaqAnswer()

public FaqAnswerData getFaqAnswer()

Agent Assist FAQ answer data.

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

Returns
Type Description
FaqAnswerData

The faqAnswer.

getFaqAnswerBuilder()

public FaqAnswerData.Builder getFaqAnswerBuilder()

Agent Assist FAQ answer data.

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

Returns
Type Description
FaqAnswerData.Builder

getFaqAnswerOrBuilder()

public FaqAnswerDataOrBuilder getFaqAnswerOrBuilder()

Agent Assist FAQ answer data.

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

Returns
Type Description
FaqAnswerDataOrBuilder

getSmartComposeSuggestion()

public SmartComposeSuggestionData getSmartComposeSuggestion()

Agent Assist Smart Compose suggestion data.

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

Returns
Type Description
SmartComposeSuggestionData

The smartComposeSuggestion.

getSmartComposeSuggestionBuilder()

public SmartComposeSuggestionData.Builder getSmartComposeSuggestionBuilder()

Agent Assist Smart Compose suggestion data.

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

Returns
Type Description
SmartComposeSuggestionData.Builder

getSmartComposeSuggestionOrBuilder()

public SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder()

Agent Assist Smart Compose suggestion data.

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

Returns
Type Description
SmartComposeSuggestionDataOrBuilder

getSmartReply()

public SmartReplyData getSmartReply()

Agent Assist Smart Reply data.

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

Returns
Type Description
SmartReplyData

The smartReply.

getSmartReplyBuilder()

public SmartReplyData.Builder getSmartReplyBuilder()

Agent Assist Smart Reply data.

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

Returns
Type Description
SmartReplyData.Builder

getSmartReplyOrBuilder()

public SmartReplyDataOrBuilder getSmartReplyOrBuilder()

Agent Assist Smart Reply data.

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

Returns
Type Description
SmartReplyDataOrBuilder

getStartBoundary()

public AnnotationBoundary getStartBoundary()

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

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

Returns
Type Description
AnnotationBoundary

The startBoundary.

getStartBoundaryBuilder()

public AnnotationBoundary.Builder getStartBoundaryBuilder()

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

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

Returns
Type Description
AnnotationBoundary.Builder

getStartBoundaryOrBuilder()

public AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder()

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

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

Returns
Type Description
AnnotationBoundaryOrBuilder

getUserInput()

public RuntimeAnnotation.UserInput getUserInput()

Explicit input used for generating the answer

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

Returns
Type Description
RuntimeAnnotation.UserInput

The userInput.

getUserInputBuilder()

public RuntimeAnnotation.UserInput.Builder getUserInputBuilder()

Explicit input used for generating the answer

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

Returns
Type Description
RuntimeAnnotation.UserInput.Builder

getUserInputOrBuilder()

public RuntimeAnnotation.UserInputOrBuilder getUserInputOrBuilder()

Explicit input used for generating the answer

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

Returns
Type Description
RuntimeAnnotation.UserInputOrBuilder

hasAnswerFeedback()

public boolean hasAnswerFeedback()

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

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

Returns
Type Description
boolean

Whether the answerFeedback field is set.

hasArticleSuggestion()

public boolean hasArticleSuggestion()

Agent Assist Article Suggestion data.

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

Returns
Type Description
boolean

Whether the articleSuggestion field is set.

hasConversationSummarizationSuggestion()

public boolean hasConversationSummarizationSuggestion()

Conversation summarization suggestion data.

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

Returns
Type Description
boolean

Whether the conversationSummarizationSuggestion field is set.

hasCreateTime()

public boolean hasCreateTime()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDialogflowInteraction()

public boolean hasDialogflowInteraction()

Dialogflow interaction data.

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

Returns
Type Description
boolean

Whether the dialogflowInteraction field is set.

hasEndBoundary()

public boolean hasEndBoundary()

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

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

Returns
Type Description
boolean

Whether the endBoundary field is set.

hasFaqAnswer()

public boolean hasFaqAnswer()

Agent Assist FAQ answer data.

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

Returns
Type Description
boolean

Whether the faqAnswer field is set.

hasSmartComposeSuggestion()

public boolean hasSmartComposeSuggestion()

Agent Assist Smart Compose suggestion data.

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

Returns
Type Description
boolean

Whether the smartComposeSuggestion field is set.

hasSmartReply()

public boolean hasSmartReply()

Agent Assist Smart Reply data.

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

Returns
Type Description
boolean

Whether the smartReply field is set.

hasStartBoundary()

public boolean hasStartBoundary()

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

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

Returns
Type Description
boolean

Whether the startBoundary field is set.

hasUserInput()

public boolean hasUserInput()

Explicit input used for generating the answer

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

Returns
Type Description
boolean

Whether the userInput field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnswerFeedback(AnswerFeedback value)

public RuntimeAnnotation.Builder mergeAnswerFeedback(AnswerFeedback value)

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

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

Parameter
Name Description
value AnswerFeedback
Returns
Type Description
RuntimeAnnotation.Builder

mergeArticleSuggestion(ArticleSuggestionData value)

public RuntimeAnnotation.Builder mergeArticleSuggestion(ArticleSuggestionData value)

Agent Assist Article Suggestion data.

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

Parameter
Name Description
value ArticleSuggestionData
Returns
Type Description
RuntimeAnnotation.Builder

mergeConversationSummarizationSuggestion(ConversationSummarizationSuggestionData value)

public RuntimeAnnotation.Builder mergeConversationSummarizationSuggestion(ConversationSummarizationSuggestionData value)

Conversation summarization suggestion data.

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

Parameter
Name Description
value ConversationSummarizationSuggestionData
Returns
Type Description
RuntimeAnnotation.Builder

mergeCreateTime(Timestamp value)

public RuntimeAnnotation.Builder mergeCreateTime(Timestamp value)

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RuntimeAnnotation.Builder

mergeDialogflowInteraction(DialogflowInteractionData value)

public RuntimeAnnotation.Builder mergeDialogflowInteraction(DialogflowInteractionData value)

Dialogflow interaction data.

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

Parameter
Name Description
value DialogflowInteractionData
Returns
Type Description
RuntimeAnnotation.Builder

mergeEndBoundary(AnnotationBoundary value)

public RuntimeAnnotation.Builder mergeEndBoundary(AnnotationBoundary value)

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

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

Parameter
Name Description
value AnnotationBoundary
Returns
Type Description
RuntimeAnnotation.Builder

mergeFaqAnswer(FaqAnswerData value)

public RuntimeAnnotation.Builder mergeFaqAnswer(FaqAnswerData value)

Agent Assist FAQ answer data.

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

Parameter
Name Description
value FaqAnswerData
Returns
Type Description
RuntimeAnnotation.Builder

mergeFrom(RuntimeAnnotation other)

public RuntimeAnnotation.Builder mergeFrom(RuntimeAnnotation other)
Parameter
Name Description
other RuntimeAnnotation
Returns
Type Description
RuntimeAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeAnnotation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeAnnotation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

mergeSmartComposeSuggestion(SmartComposeSuggestionData value)

public RuntimeAnnotation.Builder mergeSmartComposeSuggestion(SmartComposeSuggestionData value)

Agent Assist Smart Compose suggestion data.

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

Parameter
Name Description
value SmartComposeSuggestionData
Returns
Type Description
RuntimeAnnotation.Builder

mergeSmartReply(SmartReplyData value)

public RuntimeAnnotation.Builder mergeSmartReply(SmartReplyData value)

Agent Assist Smart Reply data.

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

Parameter
Name Description
value SmartReplyData
Returns
Type Description
RuntimeAnnotation.Builder

mergeStartBoundary(AnnotationBoundary value)

public RuntimeAnnotation.Builder mergeStartBoundary(AnnotationBoundary value)

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

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

Parameter
Name Description
value AnnotationBoundary
Returns
Type Description
RuntimeAnnotation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

mergeUserInput(RuntimeAnnotation.UserInput value)

public RuntimeAnnotation.Builder mergeUserInput(RuntimeAnnotation.UserInput value)

Explicit input used for generating the answer

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

Parameter
Name Description
value RuntimeAnnotation.UserInput
Returns
Type Description
RuntimeAnnotation.Builder

setAnnotationId(String value)

public RuntimeAnnotation.Builder setAnnotationId(String value)

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

string annotation_id = 1;

Parameter
Name Description
value String

The annotationId to set.

Returns
Type Description
RuntimeAnnotation.Builder

This builder for chaining.

setAnnotationIdBytes(ByteString value)

public RuntimeAnnotation.Builder setAnnotationIdBytes(ByteString value)

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

string annotation_id = 1;

Parameter
Name Description
value ByteString

The bytes for annotationId to set.

Returns
Type Description
RuntimeAnnotation.Builder

This builder for chaining.

setAnswerFeedback(AnswerFeedback value)

public RuntimeAnnotation.Builder setAnswerFeedback(AnswerFeedback value)

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

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

Parameter
Name Description
value AnswerFeedback
Returns
Type Description
RuntimeAnnotation.Builder

setAnswerFeedback(AnswerFeedback.Builder builderForValue)

public RuntimeAnnotation.Builder setAnswerFeedback(AnswerFeedback.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AnswerFeedback.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setArticleSuggestion(ArticleSuggestionData value)

public RuntimeAnnotation.Builder setArticleSuggestion(ArticleSuggestionData value)

Agent Assist Article Suggestion data.

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

Parameter
Name Description
value ArticleSuggestionData
Returns
Type Description
RuntimeAnnotation.Builder

setArticleSuggestion(ArticleSuggestionData.Builder builderForValue)

public RuntimeAnnotation.Builder setArticleSuggestion(ArticleSuggestionData.Builder builderForValue)

Agent Assist Article Suggestion data.

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

Parameter
Name Description
builderForValue ArticleSuggestionData.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setConversationSummarizationSuggestion(ConversationSummarizationSuggestionData value)

public RuntimeAnnotation.Builder setConversationSummarizationSuggestion(ConversationSummarizationSuggestionData value)

Conversation summarization suggestion data.

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

Parameter
Name Description
value ConversationSummarizationSuggestionData
Returns
Type Description
RuntimeAnnotation.Builder

setConversationSummarizationSuggestion(ConversationSummarizationSuggestionData.Builder builderForValue)

public RuntimeAnnotation.Builder setConversationSummarizationSuggestion(ConversationSummarizationSuggestionData.Builder builderForValue)

Conversation summarization suggestion data.

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

Parameter
Name Description
builderForValue ConversationSummarizationSuggestionData.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setCreateTime(Timestamp value)

public RuntimeAnnotation.Builder setCreateTime(Timestamp value)

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RuntimeAnnotation.Builder

setCreateTime(Timestamp.Builder builderForValue)

public RuntimeAnnotation.Builder setCreateTime(Timestamp.Builder builderForValue)

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RuntimeAnnotation.Builder

setDialogflowInteraction(DialogflowInteractionData value)

public RuntimeAnnotation.Builder setDialogflowInteraction(DialogflowInteractionData value)

Dialogflow interaction data.

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

Parameter
Name Description
value DialogflowInteractionData
Returns
Type Description
RuntimeAnnotation.Builder

setDialogflowInteraction(DialogflowInteractionData.Builder builderForValue)

public RuntimeAnnotation.Builder setDialogflowInteraction(DialogflowInteractionData.Builder builderForValue)

Dialogflow interaction data.

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

Parameter
Name Description
builderForValue DialogflowInteractionData.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setEndBoundary(AnnotationBoundary value)

public RuntimeAnnotation.Builder setEndBoundary(AnnotationBoundary value)

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

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

Parameter
Name Description
value AnnotationBoundary
Returns
Type Description
RuntimeAnnotation.Builder

setEndBoundary(AnnotationBoundary.Builder builderForValue)

public RuntimeAnnotation.Builder setEndBoundary(AnnotationBoundary.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AnnotationBoundary.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setFaqAnswer(FaqAnswerData value)

public RuntimeAnnotation.Builder setFaqAnswer(FaqAnswerData value)

Agent Assist FAQ answer data.

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

Parameter
Name Description
value FaqAnswerData
Returns
Type Description
RuntimeAnnotation.Builder

setFaqAnswer(FaqAnswerData.Builder builderForValue)

public RuntimeAnnotation.Builder setFaqAnswer(FaqAnswerData.Builder builderForValue)

Agent Assist FAQ answer data.

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

Parameter
Name Description
builderForValue FaqAnswerData.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

setSmartComposeSuggestion(SmartComposeSuggestionData value)

public RuntimeAnnotation.Builder setSmartComposeSuggestion(SmartComposeSuggestionData value)

Agent Assist Smart Compose suggestion data.

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

Parameter
Name Description
value SmartComposeSuggestionData
Returns
Type Description
RuntimeAnnotation.Builder

setSmartComposeSuggestion(SmartComposeSuggestionData.Builder builderForValue)

public RuntimeAnnotation.Builder setSmartComposeSuggestion(SmartComposeSuggestionData.Builder builderForValue)

Agent Assist Smart Compose suggestion data.

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

Parameter
Name Description
builderForValue SmartComposeSuggestionData.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setSmartReply(SmartReplyData value)

public RuntimeAnnotation.Builder setSmartReply(SmartReplyData value)

Agent Assist Smart Reply data.

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

Parameter
Name Description
value SmartReplyData
Returns
Type Description
RuntimeAnnotation.Builder

setSmartReply(SmartReplyData.Builder builderForValue)

public RuntimeAnnotation.Builder setSmartReply(SmartReplyData.Builder builderForValue)

Agent Assist Smart Reply data.

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

Parameter
Name Description
builderForValue SmartReplyData.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setStartBoundary(AnnotationBoundary value)

public RuntimeAnnotation.Builder setStartBoundary(AnnotationBoundary value)

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

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

Parameter
Name Description
value AnnotationBoundary
Returns
Type Description
RuntimeAnnotation.Builder

setStartBoundary(AnnotationBoundary.Builder builderForValue)

public RuntimeAnnotation.Builder setStartBoundary(AnnotationBoundary.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AnnotationBoundary.Builder
Returns
Type Description
RuntimeAnnotation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeAnnotation.Builder
Overrides

setUserInput(RuntimeAnnotation.UserInput value)

public RuntimeAnnotation.Builder setUserInput(RuntimeAnnotation.UserInput value)

Explicit input used for generating the answer

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

Parameter
Name Description
value RuntimeAnnotation.UserInput
Returns
Type Description
RuntimeAnnotation.Builder

setUserInput(RuntimeAnnotation.UserInput.Builder builderForValue)

public RuntimeAnnotation.Builder setUserInput(RuntimeAnnotation.UserInput.Builder builderForValue)

Explicit input used for generating the answer

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

Parameter
Name Description
builderForValue RuntimeAnnotation.UserInput.Builder
Returns
Type Description
RuntimeAnnotation.Builder