public final class RuntimeAnnotation extends GeneratedMessageV3 implements RuntimeAnnotationOrBuilder
An annotation that was generated during the customer and agent interaction.
Protobuf type google.cloud.contactcenterinsights.v1.RuntimeAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ANNOTATION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ANSWER_FEEDBACK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ARTICLE_SUGGESTION_FIELD_NUMBER
public static final int ARTICLE_SUGGESTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CONVERSATION_SUMMARIZATION_SUGGESTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DIALOGFLOW_INTERACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int END_BOUNDARY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FAQ_ANSWER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SMART_COMPOSE_SUGGESTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SMART_REPLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int START_BOUNDARY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static RuntimeAnnotation getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RuntimeAnnotation.Builder newBuilder()
public static RuntimeAnnotation.Builder newBuilder(RuntimeAnnotation prototype)
public static RuntimeAnnotation parseDelimitedFrom(InputStream input)
public static RuntimeAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeAnnotation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static RuntimeAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeAnnotation parseFrom(ByteString data)
public static RuntimeAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeAnnotation parseFrom(CodedInputStream input)
public static RuntimeAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeAnnotation parseFrom(InputStream input)
public static RuntimeAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeAnnotation parseFrom(ByteBuffer data)
public static RuntimeAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RuntimeAnnotation> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
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.
|
public AnswerFeedback getAnswerFeedback()
The feedback that the customer has about the answer in data
.
.google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;
public AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
The feedback that the customer has about the answer in data
.
.google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;
getArticleSuggestion()
public ArticleSuggestionData getArticleSuggestion()
Agent Assist Article Suggestion data.
.google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
getArticleSuggestionOrBuilder()
public ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder()
Agent Assist Article Suggestion data.
.google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
public ConversationSummarizationSuggestionData getConversationSummarizationSuggestion()
Conversation summarization suggestion data.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
public ConversationSummarizationSuggestionDataOrBuilder getConversationSummarizationSuggestionOrBuilder()
Conversation summarization suggestion data.
.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
public Timestamp getCreateTime()
The time at which this annotation was created.
.google.protobuf.Timestamp create_time = 2;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
The time at which this annotation was created.
.google.protobuf.Timestamp create_time = 2;
public RuntimeAnnotation.DataCase getDataCase()
public RuntimeAnnotation getDefaultInstanceForType()
public DialogflowInteractionData getDialogflowInteraction()
Dialogflow interaction data.
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
public DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder()
Dialogflow interaction data.
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
public AnnotationBoundary getEndBoundary()
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;
public AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder()
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;
public FaqAnswerData getFaqAnswer()
Agent Assist FAQ answer data.
.google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;
public FaqAnswerDataOrBuilder getFaqAnswerOrBuilder()
Agent Assist FAQ answer data.
.google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;
public Parser<RuntimeAnnotation> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public SmartComposeSuggestionData getSmartComposeSuggestion()
Agent Assist Smart Compose suggestion data.
.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
public SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder()
Agent Assist Smart Compose suggestion data.
.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
public SmartReplyData getSmartReply()
Agent Assist Smart Reply data.
.google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;
public SmartReplyDataOrBuilder getSmartReplyOrBuilder()
Agent Assist Smart Reply data.
.google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;
public AnnotationBoundary getStartBoundary()
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;
public AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder()
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;
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.
|
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.
|
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.
|
public boolean hasDialogflowInteraction()
Dialogflow interaction data.
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
Returns |
Type |
Description |
boolean |
Whether the dialogflowInteraction field is set.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RuntimeAnnotation.Builder newBuilderForType()
protected RuntimeAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public RuntimeAnnotation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides