Class CallAnnotation

  • All Implemented Interfaces:
    CallAnnotationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class CallAnnotation
    extends com.google.protobuf.GeneratedMessageV3
    implements CallAnnotationOrBuilder
     A piece of metadata that applies to a window of a call.
     
    Protobuf type google.cloud.contactcenterinsights.v1.CallAnnotation
    See Also:
    Serialized Form
    • Field Detail

      • INTERRUPTION_DATA_FIELD_NUMBER

        public static final int INTERRUPTION_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SENTIMENT_DATA_FIELD_NUMBER

        public static final int SENTIMENT_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SILENCE_DATA_FIELD_NUMBER

        public static final int SILENCE_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENTITY_MENTION_DATA_FIELD_NUMBER

        public static final int ENTITY_MENTION_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INTENT_MATCH_DATA_FIELD_NUMBER

        public static final int INTENT_MATCH_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PHRASE_MATCH_DATA_FIELD_NUMBER

        public static final int PHRASE_MATCH_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ISSUE_MATCH_DATA_FIELD_NUMBER

        public static final int ISSUE_MATCH_DATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CHANNEL_TAG_FIELD_NUMBER

        public static final int CHANNEL_TAG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANNOTATION_START_BOUNDARY_FIELD_NUMBER

        public static final int ANNOTATION_START_BOUNDARY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANNOTATION_END_BOUNDARY_FIELD_NUMBER

        public static final int ANNOTATION_END_BOUNDARY_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasInterruptionData

        public boolean hasInterruptionData()
         Data specifying an interruption.
         
        .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;
        Specified by:
        hasInterruptionData in interface CallAnnotationOrBuilder
        Returns:
        Whether the interruptionData field is set.
      • hasSentimentData

        public boolean hasSentimentData()
         Data specifying sentiment.
         
        .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;
        Specified by:
        hasSentimentData in interface CallAnnotationOrBuilder
        Returns:
        Whether the sentimentData field is set.
      • hasSilenceData

        public boolean hasSilenceData()
         Data specifying silence.
         
        .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;
        Specified by:
        hasSilenceData in interface CallAnnotationOrBuilder
        Returns:
        Whether the silenceData field is set.
      • getSilenceData

        public SilenceData getSilenceData()
         Data specifying silence.
         
        .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;
        Specified by:
        getSilenceData in interface CallAnnotationOrBuilder
        Returns:
        The silenceData.
      • hasHoldData

        public boolean hasHoldData()
         Data specifying a hold.
         
        .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;
        Specified by:
        hasHoldData in interface CallAnnotationOrBuilder
        Returns:
        Whether the holdData field is set.
      • getHoldData

        public HoldData getHoldData()
         Data specifying a hold.
         
        .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;
        Specified by:
        getHoldData in interface CallAnnotationOrBuilder
        Returns:
        The holdData.
      • hasEntityMentionData

        public boolean hasEntityMentionData()
         Data specifying an entity mention.
         
        .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;
        Specified by:
        hasEntityMentionData in interface CallAnnotationOrBuilder
        Returns:
        Whether the entityMentionData field is set.
      • hasIntentMatchData

        public boolean hasIntentMatchData()
         Data specifying an intent match.
         
        .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;
        Specified by:
        hasIntentMatchData in interface CallAnnotationOrBuilder
        Returns:
        Whether the intentMatchData field is set.
      • getIntentMatchData

        public IntentMatchData getIntentMatchData()
         Data specifying an intent match.
         
        .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;
        Specified by:
        getIntentMatchData in interface CallAnnotationOrBuilder
        Returns:
        The intentMatchData.
      • hasPhraseMatchData

        public boolean hasPhraseMatchData()
         Data specifying a phrase match.
         
        .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;
        Specified by:
        hasPhraseMatchData in interface CallAnnotationOrBuilder
        Returns:
        Whether the phraseMatchData field is set.
      • hasIssueMatchData

        public boolean hasIssueMatchData()
         Data specifying an issue match.
         
        .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
        Specified by:
        hasIssueMatchData in interface CallAnnotationOrBuilder
        Returns:
        Whether the issueMatchData field is set.
      • getIssueMatchData

        public IssueMatchData getIssueMatchData()
         Data specifying an issue match.
         
        .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
        Specified by:
        getIssueMatchData in interface CallAnnotationOrBuilder
        Returns:
        The issueMatchData.
      • 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:
        getChannelTag in interface CallAnnotationOrBuilder
        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:
        hasAnnotationStartBoundary in interface CallAnnotationOrBuilder
        Returns:
        Whether the annotationStartBoundary field is set.
      • getAnnotationStartBoundary

        public AnnotationBoundary getAnnotationStartBoundary()
         The boundary in the conversation where the annotation starts, inclusive.
         
        .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4;
        Specified by:
        getAnnotationStartBoundary in interface CallAnnotationOrBuilder
        Returns:
        The annotationStartBoundary.
      • 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:
        hasAnnotationEndBoundary in interface CallAnnotationOrBuilder
        Returns:
        Whether the annotationEndBoundary field is set.
      • getAnnotationEndBoundary

        public AnnotationBoundary getAnnotationEndBoundary()
         The boundary in the conversation where the annotation ends, inclusive.
         
        .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_end_boundary = 5;
        Specified by:
        getAnnotationEndBoundary in interface CallAnnotationOrBuilder
        Returns:
        The annotationEndBoundary.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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

        public static CallAnnotation parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public CallAnnotation.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CallAnnotation.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CallAnnotation.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static CallAnnotation getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<CallAnnotation> parser()
      • getParserForType

        public com.google.protobuf.Parser<CallAnnotation> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CallAnnotation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder