Class CallAnnotation (2.3.10)

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
TypeDescription
int

ANNOTATION_START_BOUNDARY_FIELD_NUMBER

public static final int ANNOTATION_START_BOUNDARY_FIELD_NUMBER
Field Value
TypeDescription
int

CHANNEL_TAG_FIELD_NUMBER

public static final int CHANNEL_TAG_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_MENTION_DATA_FIELD_NUMBER

public static final int ENTITY_MENTION_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

HOLD_DATA_FIELD_NUMBER

public static final int HOLD_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

INTENT_MATCH_DATA_FIELD_NUMBER

public static final int INTENT_MATCH_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

INTERRUPTION_DATA_FIELD_NUMBER

public static final int INTERRUPTION_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

PHRASE_MATCH_DATA_FIELD_NUMBER

public static final int PHRASE_MATCH_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

SENTIMENT_DATA_FIELD_NUMBER

public static final int SENTIMENT_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

SILENCE_DATA_FIELD_NUMBER

public static final int SILENCE_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CallAnnotation getDefaultInstance()
Returns
TypeDescription
CallAnnotation

getDescriptor()

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

newBuilder()

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

newBuilder(CallAnnotation prototype)

public static CallAnnotation.Builder newBuilder(CallAnnotation prototype)
Parameter
NameDescription
prototypeCallAnnotation
Returns
TypeDescription
CallAnnotation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The channelTag.

getDataCase()

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

getDefaultInstanceForType()

public CallAnnotation getDefaultInstanceForType()
Returns
TypeDescription
CallAnnotation

getEntityMentionData()

public EntityMentionData getEntityMentionData()

Data specifying an entity mention.

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

Returns
TypeDescription
EntityMentionData

The entityMentionData.

getEntityMentionDataOrBuilder()

public EntityMentionDataOrBuilder getEntityMentionDataOrBuilder()

Data specifying an entity mention.

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

Returns
TypeDescription
EntityMentionDataOrBuilder

getHoldData()

public HoldData getHoldData()

Data specifying a hold.

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

Returns
TypeDescription
HoldData

The holdData.

getHoldDataOrBuilder()

public HoldDataOrBuilder getHoldDataOrBuilder()

Data specifying a hold.

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

Returns
TypeDescription
HoldDataOrBuilder

getIntentMatchData()

public IntentMatchData getIntentMatchData()

Data specifying an intent match.

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

Returns
TypeDescription
IntentMatchData

The intentMatchData.

getIntentMatchDataOrBuilder()

public IntentMatchDataOrBuilder getIntentMatchDataOrBuilder()

Data specifying an intent match.

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

Returns
TypeDescription
IntentMatchDataOrBuilder

getInterruptionData()

public InterruptionData getInterruptionData()

Data specifying an interruption.

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

Returns
TypeDescription
InterruptionData

The interruptionData.

getInterruptionDataOrBuilder()

public InterruptionDataOrBuilder getInterruptionDataOrBuilder()

Data specifying an interruption.

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

Returns
TypeDescription
InterruptionDataOrBuilder

getParserForType()

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

getPhraseMatchData()

public PhraseMatchData getPhraseMatchData()

Data specifying a phrase match.

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

Returns
TypeDescription
PhraseMatchData

The phraseMatchData.

getPhraseMatchDataOrBuilder()

public PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder()

Data specifying a phrase match.

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

Returns
TypeDescription
PhraseMatchDataOrBuilder

getSentimentData()

public SentimentData getSentimentData()

Data specifying sentiment.

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

Returns
TypeDescription
SentimentData

The sentimentData.

getSentimentDataOrBuilder()

public SentimentDataOrBuilder getSentimentDataOrBuilder()

Data specifying sentiment.

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

Returns
TypeDescription
SentimentDataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSilenceData()

public SilenceData getSilenceData()

Data specifying silence.

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

Returns
TypeDescription
SilenceData

The silenceData.

getSilenceDataOrBuilder()

public SilenceDataOrBuilder getSilenceDataOrBuilder()

Data specifying silence.

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

Returns
TypeDescription
SilenceDataOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAnnotationEndBoundary()

public boolean hasAnnotationEndBoundary()

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

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

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

Whether the entityMentionData field is set.

hasHoldData()

public boolean hasHoldData()

Data specifying a hold.

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

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

Whether the intentMatchData field is set.

hasInterruptionData()

public boolean hasInterruptionData()

Data specifying an interruption.

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

Returns
TypeDescription
boolean

Whether the interruptionData field is set.

hasPhraseMatchData()

public boolean hasPhraseMatchData()

Data specifying a phrase match.

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

Returns
TypeDescription
boolean

Whether the phraseMatchData field is set.

hasSentimentData()

public boolean hasSentimentData()

Data specifying sentiment.

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

Returns
TypeDescription
boolean

Whether the sentimentData field is set.

hasSilenceData()

public boolean hasSilenceData()

Data specifying silence.

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

Returns
TypeDescription
boolean

Whether the silenceData 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 CallAnnotation.Builder newBuilderForType()
Returns
TypeDescription
CallAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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