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
public static final int ANNOTATION_END_BOUNDARY_FIELD_NUMBER
Field Value
public static final int ANNOTATION_START_BOUNDARY_FIELD_NUMBER
Field Value
public static final int CHANNEL_TAG_FIELD_NUMBER
Field Value
public static final int ENTITY_MENTION_DATA_FIELD_NUMBER
Field Value
public static final int HOLD_DATA_FIELD_NUMBER
Field Value
public static final int INTENT_MATCH_DATA_FIELD_NUMBER
Field Value
public static final int INTERRUPTION_DATA_FIELD_NUMBER
Field Value
public static final int PHRASE_MATCH_DATA_FIELD_NUMBER
Field Value
public static final int SENTIMENT_DATA_FIELD_NUMBER
Field Value
public static final int SILENCE_DATA_FIELD_NUMBER
Field Value
Static Methods
public static CallAnnotation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CallAnnotation.Builder newBuilder()
Returns
public static CallAnnotation.Builder newBuilder(CallAnnotation prototype)
Parameter
Returns
public static CallAnnotation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CallAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CallAnnotation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CallAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CallAnnotation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CallAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CallAnnotation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CallAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CallAnnotation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CallAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CallAnnotation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CallAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CallAnnotation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public AnnotationBoundary getAnnotationEndBoundary()
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;
Returns
public AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder()
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;
Returns
public AnnotationBoundary getAnnotationStartBoundary()
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4;
Returns
public AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder()
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4;
Returns
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.
|
public CallAnnotation.DataCase getDataCase()
Returns
public CallAnnotation getDefaultInstanceForType()
Returns
public EntityMentionData getEntityMentionData()
Data specifying an entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;
Returns
public EntityMentionDataOrBuilder getEntityMentionDataOrBuilder()
Data specifying an entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;
Returns
public HoldData getHoldData()
Data specifying a hold.
.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;
Returns
public HoldDataOrBuilder getHoldDataOrBuilder()
Data specifying a hold.
.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;
Returns
public IntentMatchData getIntentMatchData()
Data specifying an intent match.
.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;
Returns
public IntentMatchDataOrBuilder getIntentMatchDataOrBuilder()
Data specifying an intent match.
.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;
Returns
public InterruptionData getInterruptionData()
Data specifying an interruption.
.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;
Returns
public InterruptionDataOrBuilder getInterruptionDataOrBuilder()
Data specifying an interruption.
.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;
Returns
public Parser<CallAnnotation> getParserForType()
Returns
Overrides
public PhraseMatchData getPhraseMatchData()
Data specifying a phrase match.
.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;
Returns
public PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder()
Data specifying a phrase match.
.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;
Returns
public SentimentData getSentimentData()
Data specifying sentiment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;
Returns
public SentimentDataOrBuilder getSentimentDataOrBuilder()
Data specifying sentiment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;
Returns
public int getSerializedSize()
Returns
Overrides
public SilenceData getSilenceData()
Data specifying silence.
.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;
Returns
public SilenceDataOrBuilder getSilenceDataOrBuilder()
Data specifying silence.
.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
public boolean hasSentimentData()
Data specifying sentiment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;
Returns
Type | Description |
boolean | Whether the sentimentData field is set.
|
public boolean hasSilenceData()
Data specifying silence.
.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;
Returns
Type | Description |
boolean | Whether the silenceData field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CallAnnotation.Builder newBuilderForType()
Returns
protected CallAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CallAnnotation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions