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
Static Fields
public static final int ANNOTATION_ID_FIELD_NUMBER
Field Value
public static final int ANSWER_FEEDBACK_FIELD_NUMBER
Field Value
ARTICLE_SUGGESTION_FIELD_NUMBER
public static final int ARTICLE_SUGGESTION_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DIALOGFLOW_INTERACTION_FIELD_NUMBER
Field Value
public static final int END_BOUNDARY_FIELD_NUMBER
Field Value
public static final int FAQ_ANSWER_FIELD_NUMBER
Field Value
public static final int SMART_COMPOSE_SUGGESTION_FIELD_NUMBER
Field Value
public static final int SMART_REPLY_FIELD_NUMBER
Field Value
public static final int START_BOUNDARY_FIELD_NUMBER
Field Value
Static Methods
public static RuntimeAnnotation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static RuntimeAnnotation.Builder newBuilder()
Returns
public static RuntimeAnnotation.Builder newBuilder(RuntimeAnnotation prototype)
Parameter
Returns
public static RuntimeAnnotation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeAnnotation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static RuntimeAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeAnnotation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static RuntimeAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeAnnotation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RuntimeAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeAnnotation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RuntimeAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RuntimeAnnotation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static RuntimeAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<RuntimeAnnotation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
public AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
The feedback that the customer has about the answer in data
.
.google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;
Returns
getArticleSuggestion()
public ArticleSuggestionData getArticleSuggestion()
Agent Assist Article Suggestion data.
.google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
Returns
getArticleSuggestionOrBuilder()
public ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder()
Agent Assist Article Suggestion data.
.google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
Returns
public Timestamp getCreateTime()
The time at which this annotation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
The time at which this annotation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public RuntimeAnnotation.DataCase getDataCase()
Returns
public RuntimeAnnotation getDefaultInstanceForType()
Returns
public DialogflowInteractionData getDialogflowInteraction()
Dialogflow interaction data.
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
Returns
public DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder()
Dialogflow interaction data.
.google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
Returns
public AnnotationBoundary getEndBoundary()
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;
Returns
public AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder()
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;
Returns
public FaqAnswerData getFaqAnswer()
Agent Assist FAQ answer data.
.google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;
Returns
public FaqAnswerDataOrBuilder getFaqAnswerOrBuilder()
Agent Assist FAQ answer data.
.google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;
Returns
public Parser<RuntimeAnnotation> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public SmartComposeSuggestionData getSmartComposeSuggestion()
Agent Assist Smart Compose suggestion data.
.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
Returns
public SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder()
Agent Assist Smart Compose suggestion data.
.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
Returns
public SmartReplyData getSmartReply()
Agent Assist Smart Reply data.
.google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;
Returns
public SmartReplyDataOrBuilder getSmartReplyOrBuilder()
Agent Assist Smart Reply data.
.google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;
Returns
public AnnotationBoundary getStartBoundary()
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;
Returns
public AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder()
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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 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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RuntimeAnnotation.Builder newBuilderForType()
Returns
protected RuntimeAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public RuntimeAnnotation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions