Class RuntimeAnnotation (2.13.0)

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

ANNOTATION_ID_FIELD_NUMBER

public static final int ANNOTATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ANSWER_FEEDBACK_FIELD_NUMBER

public static final int ANSWER_FEEDBACK_FIELD_NUMBER
Field Value
TypeDescription
int

ARTICLE_SUGGESTION_FIELD_NUMBER

public static final int ARTICLE_SUGGESTION_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DIALOGFLOW_INTERACTION_FIELD_NUMBER

public static final int DIALOGFLOW_INTERACTION_FIELD_NUMBER
Field Value
TypeDescription
int

END_BOUNDARY_FIELD_NUMBER

public static final int END_BOUNDARY_FIELD_NUMBER
Field Value
TypeDescription
int

FAQ_ANSWER_FIELD_NUMBER

public static final int FAQ_ANSWER_FIELD_NUMBER
Field Value
TypeDescription
int

SMART_COMPOSE_SUGGESTION_FIELD_NUMBER

public static final int SMART_COMPOSE_SUGGESTION_FIELD_NUMBER
Field Value
TypeDescription
int

SMART_REPLY_FIELD_NUMBER

public static final int SMART_REPLY_FIELD_NUMBER
Field Value
TypeDescription
int

START_BOUNDARY_FIELD_NUMBER

public static final int START_BOUNDARY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuntimeAnnotation getDefaultInstance()
Returns
TypeDescription
RuntimeAnnotation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RuntimeAnnotation.Builder newBuilder()
Returns
TypeDescription
RuntimeAnnotation.Builder

newBuilder(RuntimeAnnotation prototype)

public static RuntimeAnnotation.Builder newBuilder(RuntimeAnnotation prototype)
Parameter
NameDescription
prototypeRuntimeAnnotation
Returns
TypeDescription
RuntimeAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeAnnotation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RuntimeAnnotation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeAnnotation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeAnnotation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RuntimeAnnotation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RuntimeAnnotation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeAnnotation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RuntimeAnnotation> parser()
Returns
TypeDescription
Parser<RuntimeAnnotation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
TypeDescription
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
TypeDescription
AnswerFeedback

The answerFeedback.

getAnswerFeedbackOrBuilder()

public AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()

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

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

Returns
TypeDescription
AnswerFeedbackOrBuilder

getArticleSuggestion()

public ArticleSuggestionData getArticleSuggestion()

Agent Assist Article Suggestion data.

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

Returns
TypeDescription
ArticleSuggestionData

The articleSuggestion.

getArticleSuggestionOrBuilder()

public ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder()

Agent Assist Article Suggestion data.

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

Returns
TypeDescription
ArticleSuggestionDataOrBuilder

getCreateTime()

public Timestamp getCreateTime()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDataCase()

public RuntimeAnnotation.DataCase getDataCase()
Returns
TypeDescription
RuntimeAnnotation.DataCase

getDefaultInstanceForType()

public RuntimeAnnotation getDefaultInstanceForType()
Returns
TypeDescription
RuntimeAnnotation

getDialogflowInteraction()

public DialogflowInteractionData getDialogflowInteraction()

Dialogflow interaction data.

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

Returns
TypeDescription
DialogflowInteractionData

The dialogflowInteraction.

getDialogflowInteractionOrBuilder()

public DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder()

Dialogflow interaction data.

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

Returns
TypeDescription
DialogflowInteractionDataOrBuilder

getEndBoundary()

public AnnotationBoundary getEndBoundary()

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

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

Returns
TypeDescription
AnnotationBoundary

The endBoundary.

getEndBoundaryOrBuilder()

public AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder()

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

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

Returns
TypeDescription
AnnotationBoundaryOrBuilder

getFaqAnswer()

public FaqAnswerData getFaqAnswer()

Agent Assist FAQ answer data.

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

Returns
TypeDescription
FaqAnswerData

The faqAnswer.

getFaqAnswerOrBuilder()

public FaqAnswerDataOrBuilder getFaqAnswerOrBuilder()

Agent Assist FAQ answer data.

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

Returns
TypeDescription
FaqAnswerDataOrBuilder

getParserForType()

public Parser<RuntimeAnnotation> getParserForType()
Returns
TypeDescription
Parser<RuntimeAnnotation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSmartComposeSuggestion()

public SmartComposeSuggestionData getSmartComposeSuggestion()

Agent Assist Smart Compose suggestion data.

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

Returns
TypeDescription
SmartComposeSuggestionData

The smartComposeSuggestion.

getSmartComposeSuggestionOrBuilder()

public SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder()

Agent Assist Smart Compose suggestion data.

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

Returns
TypeDescription
SmartComposeSuggestionDataOrBuilder

getSmartReply()

public SmartReplyData getSmartReply()

Agent Assist Smart Reply data.

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

Returns
TypeDescription
SmartReplyData

The smartReply.

getSmartReplyOrBuilder()

public SmartReplyDataOrBuilder getSmartReplyOrBuilder()

Agent Assist Smart Reply data.

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

Returns
TypeDescription
SmartReplyDataOrBuilder

getStartBoundary()

public AnnotationBoundary getStartBoundary()

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

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

Returns
TypeDescription
AnnotationBoundary

The startBoundary.

getStartBoundaryOrBuilder()

public AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder()

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

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

Returns
TypeDescription
AnnotationBoundaryOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAnswerFeedback()

public boolean hasAnswerFeedback()

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

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the articleSuggestion field is set.

hasCreateTime()

public boolean hasCreateTime()

The time at which this annotation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDialogflowInteraction()

public boolean hasDialogflowInteraction()

Dialogflow interaction data.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startBoundary field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RuntimeAnnotation.Builder newBuilderForType()
Returns
TypeDescription
RuntimeAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RuntimeAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RuntimeAnnotation.Builder toBuilder()
Returns
TypeDescription
RuntimeAnnotation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException