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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDataCase

      public CallAnnotation.DataCase getDataCase()
      Specified by:
      getDataCase in interface CallAnnotationOrBuilder
    • 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.
    • getInterruptionData

      public InterruptionData getInterruptionData()
       Data specifying an interruption.
       
      .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;
      Specified by:
      getInterruptionData in interface CallAnnotationOrBuilder
      Returns:
      The interruptionData.
    • getInterruptionDataOrBuilder

      public InterruptionDataOrBuilder getInterruptionDataOrBuilder()
       Data specifying an interruption.
       
      .google.cloud.contactcenterinsights.v1.InterruptionData interruption_data = 10;
      Specified by:
      getInterruptionDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getSentimentData

      public SentimentData getSentimentData()
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;
      Specified by:
      getSentimentData in interface CallAnnotationOrBuilder
      Returns:
      The sentimentData.
    • getSentimentDataOrBuilder

      public SentimentDataOrBuilder getSentimentDataOrBuilder()
       Data specifying sentiment.
       
      .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11;
      Specified by:
      getSentimentDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getSilenceDataOrBuilder

      public SilenceDataOrBuilder getSilenceDataOrBuilder()
       Data specifying silence.
       
      .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12;
      Specified by:
      getSilenceDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getHoldDataOrBuilder

      public HoldDataOrBuilder getHoldDataOrBuilder()
       Data specifying a hold.
       
      .google.cloud.contactcenterinsights.v1.HoldData hold_data = 13;
      Specified by:
      getHoldDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getEntityMentionData

      public EntityMentionData getEntityMentionData()
       Data specifying an entity mention.
       
      .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;
      Specified by:
      getEntityMentionData in interface CallAnnotationOrBuilder
      Returns:
      The entityMentionData.
    • getEntityMentionDataOrBuilder

      public EntityMentionDataOrBuilder getEntityMentionDataOrBuilder()
       Data specifying an entity mention.
       
      .google.cloud.contactcenterinsights.v1.EntityMentionData entity_mention_data = 15;
      Specified by:
      getEntityMentionDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getIntentMatchDataOrBuilder

      public IntentMatchDataOrBuilder getIntentMatchDataOrBuilder()
       Data specifying an intent match.
       
      .google.cloud.contactcenterinsights.v1.IntentMatchData intent_match_data = 16;
      Specified by:
      getIntentMatchDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getPhraseMatchData

      public PhraseMatchData getPhraseMatchData()
       Data specifying a phrase match.
       
      .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;
      Specified by:
      getPhraseMatchData in interface CallAnnotationOrBuilder
      Returns:
      The phraseMatchData.
    • getPhraseMatchDataOrBuilder

      public PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder()
       Data specifying a phrase match.
       
      .google.cloud.contactcenterinsights.v1.PhraseMatchData phrase_match_data = 17;
      Specified by:
      getPhraseMatchDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getIssueMatchDataOrBuilder

      public IssueMatchDataOrBuilder getIssueMatchDataOrBuilder()
       Data specifying an issue match.
       
      .google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
      Specified by:
      getIssueMatchDataOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getAnnotationStartBoundaryOrBuilder

      public AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder()
       The boundary in the conversation where the annotation starts, inclusive.
       
      .google.cloud.contactcenterinsights.v1.AnnotationBoundary annotation_start_boundary = 4;
      Specified by:
      getAnnotationStartBoundaryOrBuilder in interface CallAnnotationOrBuilder
    • 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.
    • getAnnotationEndBoundaryOrBuilder

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CallAnnotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CallAnnotation parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static CallAnnotation.Builder newBuilder()
    • newBuilder

      public static CallAnnotation.Builder newBuilder(CallAnnotation prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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