Class CallAnnotation (2.54.0)

public final class CallAnnotation extends GeneratedMessageV3 implements CallAnnotationOrBuilder

A piece of metadata that applies to a window of a call.

Protobuf type google.cloud.contactcenterinsights.v1.CallAnnotation

Static Fields

ANNOTATION_END_BOUNDARY_FIELD_NUMBER

public static final int ANNOTATION_END_BOUNDARY_FIELD_NUMBER
Field Value
Type Description
int

ANNOTATION_START_BOUNDARY_FIELD_NUMBER

public static final int ANNOTATION_START_BOUNDARY_FIELD_NUMBER
Field Value
Type Description
int

CHANNEL_TAG_FIELD_NUMBER

public static final int CHANNEL_TAG_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_MENTION_DATA_FIELD_NUMBER

public static final int ENTITY_MENTION_DATA_FIELD_NUMBER
Field Value
Type Description
int

HOLD_DATA_FIELD_NUMBER

public static final int HOLD_DATA_FIELD_NUMBER
Field Value
Type Description
int

INTENT_MATCH_DATA_FIELD_NUMBER

public static final int INTENT_MATCH_DATA_FIELD_NUMBER
Field Value
Type Description
int

INTERRUPTION_DATA_FIELD_NUMBER

public static final int INTERRUPTION_DATA_FIELD_NUMBER
Field Value
Type Description
int

ISSUE_MATCH_DATA_FIELD_NUMBER

public static final int ISSUE_MATCH_DATA_FIELD_NUMBER
Field Value
Type Description
int

PHRASE_MATCH_DATA_FIELD_NUMBER

public static final int PHRASE_MATCH_DATA_FIELD_NUMBER
Field Value
Type Description
int

SENTIMENT_DATA_FIELD_NUMBER

public static final int SENTIMENT_DATA_FIELD_NUMBER
Field Value
Type Description
int

SILENCE_DATA_FIELD_NUMBER

public static final int SILENCE_DATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CallAnnotation getDefaultInstance()
Returns
Type Description
CallAnnotation

getDescriptor()

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

newBuilder()

public static CallAnnotation.Builder newBuilder()
Returns
Type Description
CallAnnotation.Builder

newBuilder(CallAnnotation prototype)

public static CallAnnotation.Builder newBuilder(CallAnnotation prototype)
Parameter
Name Description
prototype CallAnnotation
Returns
Type Description
CallAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static CallAnnotation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CallAnnotation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CallAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallAnnotation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CallAnnotation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CallAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CallAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CallAnnotation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CallAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CallAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CallAnnotation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CallAnnotation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CallAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CallAnnotation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CallAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CallAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallAnnotation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CallAnnotation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CallAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CallAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CallAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CallAnnotation> parser()
Returns
Type Description
Parser<CallAnnotation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnnotationEndBoundary()

public AnnotationBoundary getAnnotationEndBoundary()

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

.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;

Returns
Type Description
AnnotationBoundary

The annotationEndBoundary.

getAnnotationEndBoundaryOrBuilder()

public AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder()

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

.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;

Returns
Type Description
AnnotationBoundaryOrBuilder

getAnnotationStartBoundary()

public AnnotationBoundary getAnnotationStartBoundary()

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

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

Returns
Type Description
AnnotationBoundary

The annotationStartBoundary.

getAnnotationStartBoundaryOrBuilder()

public AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder()

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

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

Returns
Type Description
AnnotationBoundaryOrBuilder

getChannelTag()

public int getChannelTag()

The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated.

int32 channel_tag = 1;

Returns
Type Description
int

The channelTag.

getDataCase()

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

getDefaultInstanceForType()

public CallAnnotation getDefaultInstanceForType()
Returns
Type Description
CallAnnotation

getEntityMentionData()

public EntityMentionData getEntityMentionData()

Data specifying an entity mention.

.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;

Returns
Type Description
EntityMentionData

The entityMentionData.

getEntityMentionDataOrBuilder()

public EntityMentionDataOrBuilder getEntityMentionDataOrBuilder()

Data specifying an entity mention.

.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;

Returns
Type Description
EntityMentionDataOrBuilder

getHoldData()

public HoldData getHoldData()

Data specifying a hold.

.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;

Returns
Type Description
HoldData

The holdData.

getHoldDataOrBuilder()

public HoldDataOrBuilder getHoldDataOrBuilder()

Data specifying a hold.

.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;

Returns
Type Description
HoldDataOrBuilder

getIntentMatchData()

public IntentMatchData getIntentMatchData()

Data specifying an intent match.

.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;

Returns
Type Description
IntentMatchData

The intentMatchData.

getIntentMatchDataOrBuilder()

public IntentMatchDataOrBuilder getIntentMatchDataOrBuilder()

Data specifying an intent match.

.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;

Returns
Type Description
IntentMatchDataOrBuilder

getInterruptionData()

public InterruptionData getInterruptionData()

Data specifying an interruption.

.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;

Returns
Type Description
InterruptionData

The interruptionData.

getInterruptionDataOrBuilder()

public InterruptionDataOrBuilder getInterruptionDataOrBuilder()

Data specifying an interruption.

.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;

Returns
Type Description
InterruptionDataOrBuilder

getIssueMatchData()

public IssueMatchData getIssueMatchData()

Data specifying an issue match.

.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;

Returns
Type Description
IssueMatchData

The issueMatchData.

getIssueMatchDataOrBuilder()

public IssueMatchDataOrBuilder getIssueMatchDataOrBuilder()

Data specifying an issue match.

.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;

Returns
Type Description
IssueMatchDataOrBuilder

getParserForType()

public Parser<CallAnnotation> getParserForType()
Returns
Type Description
Parser<CallAnnotation>
Overrides

getPhraseMatchData()

public PhraseMatchData getPhraseMatchData()

Data specifying a phrase match.

.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;

Returns
Type Description
PhraseMatchData

The phraseMatchData.

getPhraseMatchDataOrBuilder()

public PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder()

Data specifying a phrase match.

.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;

Returns
Type Description
PhraseMatchDataOrBuilder

getSentimentData()

public SentimentData getSentimentData()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;

Returns
Type Description
SentimentData

The sentimentData.

getSentimentDataOrBuilder()

public SentimentDataOrBuilder getSentimentDataOrBuilder()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;

Returns
Type Description
SentimentDataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSilenceData()

public SilenceData getSilenceData()

Data specifying silence.

.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;

Returns
Type Description
SilenceData

The silenceData.

getSilenceDataOrBuilder()

public SilenceDataOrBuilder getSilenceDataOrBuilder()

Data specifying silence.

.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;

Returns
Type Description
SilenceDataOrBuilder

hasAnnotationEndBoundary()

public boolean hasAnnotationEndBoundary()

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

.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;

Returns
Type Description
boolean

Whether the annotationEndBoundary field is set.

hasAnnotationStartBoundary()

public boolean hasAnnotationStartBoundary()

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

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

Returns
Type Description
boolean

Whether the annotationStartBoundary field is set.

hasEntityMentionData()

public boolean hasEntityMentionData()

Data specifying an entity mention.

.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;

Returns
Type Description
boolean

Whether the entityMentionData field is set.

hasHoldData()

public boolean hasHoldData()

Data specifying a hold.

.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;

Returns
Type Description
boolean

Whether the holdData field is set.

hasIntentMatchData()

public boolean hasIntentMatchData()

Data specifying an intent match.

.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;

Returns
Type Description
boolean

Whether the intentMatchData field is set.

hasInterruptionData()

public boolean hasInterruptionData()

Data specifying an interruption.

.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;

Returns
Type Description
boolean

Whether the interruptionData field is set.

hasIssueMatchData()

public boolean hasIssueMatchData()

Data specifying an issue match.

.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;

Returns
Type Description
boolean

Whether the issueMatchData field is set.

hasPhraseMatchData()

public boolean hasPhraseMatchData()

Data specifying a phrase match.

.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;

Returns
Type Description
boolean

Whether the phraseMatchData field is set.

hasSentimentData()

public boolean hasSentimentData()

Data specifying sentiment.

.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;

Returns
Type Description
boolean

Whether the sentimentData field is set.

hasSilenceData()

public boolean hasSilenceData()

Data specifying silence.

.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;

Returns
Type Description
boolean

Whether the silenceData field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CallAnnotation.Builder newBuilderForType()
Returns
Type Description
CallAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CallAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CallAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CallAnnotation.Builder toBuilder()
Returns
Type Description
CallAnnotation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException