Class CallAnnotation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.CallAnnotation
- All Implemented Interfaces:
CallAnnotationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CallAnnotation
extends com.google.protobuf.GeneratedMessage
implements CallAnnotationOrBuilder
A piece of metadata that applies to a window of a call.Protobuf type
google.cloud.contactcenterinsights.v1.CallAnnotation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA piece of metadata that applies to a window of a call.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe boundary in the conversation where the annotation ends, inclusive.The boundary in the conversation where the annotation ends, inclusive.The boundary in the conversation where the annotation starts, inclusive.The boundary in the conversation where the annotation starts, inclusive.intThe channel of the audio where the annotation occurs.static CallAnnotationstatic final com.google.protobuf.Descriptors.DescriptorData specifying an entity mention.Data specifying an entity mention.Data specifying a hold.Data specifying a hold.Data specifying an intent match.Data specifying an intent match.Data specifying an interruption.Data specifying an interruption.Data specifying an issue match.Data specifying an issue match.com.google.protobuf.Parser<CallAnnotation>Data specifying a phrase match.Data specifying a phrase match.Data specifying sentiment.Data specifying sentiment.intData specifying silence.Data specifying silence.booleanThe boundary in the conversation where the annotation ends, inclusive.booleanThe boundary in the conversation where the annotation starts, inclusive.booleanData specifying an entity mention.inthashCode()booleanData specifying a hold.booleanData specifying an intent match.booleanData specifying an interruption.booleanData specifying an issue match.booleanData specifying a phrase match.booleanData specifying sentiment.booleanData specifying silence.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic CallAnnotation.Builderstatic CallAnnotation.BuildernewBuilder(CallAnnotation prototype) protected CallAnnotation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CallAnnotationparseDelimitedFrom(InputStream input) static CallAnnotationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAnnotationparseFrom(byte[] data) static CallAnnotationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAnnotationparseFrom(com.google.protobuf.ByteString data) static CallAnnotationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAnnotationparseFrom(com.google.protobuf.CodedInputStream input) static CallAnnotationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAnnotationparseFrom(InputStream input) static CallAnnotationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CallAnnotationparseFrom(ByteBuffer data) static CallAnnotationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CallAnnotation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INTERRUPTION_DATA_FIELD_NUMBER
public static final int INTERRUPTION_DATA_FIELD_NUMBER- See Also:
-
SENTIMENT_DATA_FIELD_NUMBER
public static final int SENTIMENT_DATA_FIELD_NUMBER- See Also:
-
SILENCE_DATA_FIELD_NUMBER
public static final int SILENCE_DATA_FIELD_NUMBER- See Also:
-
HOLD_DATA_FIELD_NUMBER
public static final int HOLD_DATA_FIELD_NUMBER- See Also:
-
ENTITY_MENTION_DATA_FIELD_NUMBER
public static final int ENTITY_MENTION_DATA_FIELD_NUMBER- See Also:
-
INTENT_MATCH_DATA_FIELD_NUMBER
public static final int INTENT_MATCH_DATA_FIELD_NUMBER- See Also:
-
PHRASE_MATCH_DATA_FIELD_NUMBER
public static final int PHRASE_MATCH_DATA_FIELD_NUMBER- See Also:
-
ISSUE_MATCH_DATA_FIELD_NUMBER
public static final int ISSUE_MATCH_DATA_FIELD_NUMBER- See Also:
-
CHANNEL_TAG_FIELD_NUMBER
public static final int CHANNEL_TAG_FIELD_NUMBER- See Also:
-
ANNOTATION_START_BOUNDARY_FIELD_NUMBER
public static final int ANNOTATION_START_BOUNDARY_FIELD_NUMBER- See Also:
-
ANNOTATION_END_BOUNDARY_FIELD_NUMBER
public static final int ANNOTATION_END_BOUNDARY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDataCase
- Specified by:
getDataCasein interfaceCallAnnotationOrBuilder
-
hasInterruptionData
public boolean hasInterruptionData()Data specifying an interruption.
.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;- Specified by:
hasInterruptionDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the interruptionData field is set.
-
getInterruptionData
Data specifying an interruption.
.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;- Specified by:
getInterruptionDatain interfaceCallAnnotationOrBuilder- Returns:
- The interruptionData.
-
getInterruptionDataOrBuilder
Data specifying an interruption.
.google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;- Specified by:
getInterruptionDataOrBuilderin interfaceCallAnnotationOrBuilder
-
hasSentimentData
public boolean hasSentimentData()Data specifying sentiment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;- Specified by:
hasSentimentDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the sentimentData field is set.
-
getSentimentData
Data specifying sentiment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;- Specified by:
getSentimentDatain interfaceCallAnnotationOrBuilder- Returns:
- The sentimentData.
-
getSentimentDataOrBuilder
Data specifying sentiment.
.google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;- Specified by:
getSentimentDataOrBuilderin interfaceCallAnnotationOrBuilder
-
hasSilenceData
public boolean hasSilenceData()Data specifying silence.
.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;- Specified by:
hasSilenceDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the silenceData field is set.
-
getSilenceData
Data specifying silence.
.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;- Specified by:
getSilenceDatain interfaceCallAnnotationOrBuilder- Returns:
- The silenceData.
-
getSilenceDataOrBuilder
Data specifying silence.
.google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;- Specified by:
getSilenceDataOrBuilderin interfaceCallAnnotationOrBuilder
-
hasHoldData
public boolean hasHoldData()Data specifying a hold.
.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;- Specified by:
hasHoldDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the holdData field is set.
-
getHoldData
Data specifying a hold.
.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;- Specified by:
getHoldDatain interfaceCallAnnotationOrBuilder- Returns:
- The holdData.
-
getHoldDataOrBuilder
Data specifying a hold.
.google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;- Specified by:
getHoldDataOrBuilderin interfaceCallAnnotationOrBuilder
-
hasEntityMentionData
public boolean hasEntityMentionData()Data specifying an entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;- Specified by:
hasEntityMentionDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the entityMentionData field is set.
-
getEntityMentionData
Data specifying an entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;- Specified by:
getEntityMentionDatain interfaceCallAnnotationOrBuilder- Returns:
- The entityMentionData.
-
getEntityMentionDataOrBuilder
Data specifying an entity mention.
.google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;- Specified by:
getEntityMentionDataOrBuilderin interfaceCallAnnotationOrBuilder
-
hasIntentMatchData
public boolean hasIntentMatchData()Data specifying an intent match.
.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;- Specified by:
hasIntentMatchDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the intentMatchData field is set.
-
getIntentMatchData
Data specifying an intent match.
.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;- Specified by:
getIntentMatchDatain interfaceCallAnnotationOrBuilder- Returns:
- The intentMatchData.
-
getIntentMatchDataOrBuilder
Data specifying an intent match.
.google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;- Specified by:
getIntentMatchDataOrBuilderin interfaceCallAnnotationOrBuilder
-
hasPhraseMatchData
public boolean hasPhraseMatchData()Data specifying a phrase match.
.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;- Specified by:
hasPhraseMatchDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the phraseMatchData field is set.
-
getPhraseMatchData
Data specifying a phrase match.
.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;- Specified by:
getPhraseMatchDatain interfaceCallAnnotationOrBuilder- Returns:
- The phraseMatchData.
-
getPhraseMatchDataOrBuilder
Data specifying a phrase match.
.google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;- Specified by:
getPhraseMatchDataOrBuilderin interfaceCallAnnotationOrBuilder
-
hasIssueMatchData
public boolean hasIssueMatchData()Data specifying an issue match.
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;- Specified by:
hasIssueMatchDatain interfaceCallAnnotationOrBuilder- Returns:
- Whether the issueMatchData field is set.
-
getIssueMatchData
Data specifying an issue match.
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;- Specified by:
getIssueMatchDatain interfaceCallAnnotationOrBuilder- Returns:
- The issueMatchData.
-
getIssueMatchDataOrBuilder
Data specifying an issue match.
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;- Specified by:
getIssueMatchDataOrBuilderin interfaceCallAnnotationOrBuilder
-
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;- Specified by:
getChannelTagin interfaceCallAnnotationOrBuilder- Returns:
- The channelTag.
-
hasAnnotationStartBoundary
public boolean hasAnnotationStartBoundary()The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4;- Specified by:
hasAnnotationStartBoundaryin interfaceCallAnnotationOrBuilder- Returns:
- Whether the annotationStartBoundary field is set.
-
getAnnotationStartBoundary
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4;- Specified by:
getAnnotationStartBoundaryin interfaceCallAnnotationOrBuilder- Returns:
- The annotationStartBoundary.
-
getAnnotationStartBoundaryOrBuilder
The boundary in the conversation where the annotation starts, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4;- Specified by:
getAnnotationStartBoundaryOrBuilderin interfaceCallAnnotationOrBuilder
-
hasAnnotationEndBoundary
public boolean hasAnnotationEndBoundary()The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;- Specified by:
hasAnnotationEndBoundaryin interfaceCallAnnotationOrBuilder- Returns:
- Whether the annotationEndBoundary field is set.
-
getAnnotationEndBoundary
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;- Specified by:
getAnnotationEndBoundaryin interfaceCallAnnotationOrBuilder- Returns:
- The annotationEndBoundary.
-
getAnnotationEndBoundaryOrBuilder
The boundary in the conversation where the annotation ends, inclusive.
.google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;- Specified by:
getAnnotationEndBoundaryOrBuilderin interfaceCallAnnotationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CallAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CallAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CallAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CallAnnotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CallAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CallAnnotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CallAnnotation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-