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