Class RuntimeAnnotation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation
All Implemented Interfaces:
RuntimeAnnotationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RuntimeAnnotation extends com.google.protobuf.GeneratedMessage implements RuntimeAnnotationOrBuilder
 An annotation that was generated during the customer and agent interaction.
 
Protobuf type google.cloud.contactcenterinsights.v1.RuntimeAnnotation
See Also:
  • Field Details

    • ARTICLE_SUGGESTION_FIELD_NUMBER

      public static final int ARTICLE_SUGGESTION_FIELD_NUMBER
      See Also:
    • FAQ_ANSWER_FIELD_NUMBER

      public static final int FAQ_ANSWER_FIELD_NUMBER
      See Also:
    • SMART_REPLY_FIELD_NUMBER

      public static final int SMART_REPLY_FIELD_NUMBER
      See Also:
    • SMART_COMPOSE_SUGGESTION_FIELD_NUMBER

      public static final int SMART_COMPOSE_SUGGESTION_FIELD_NUMBER
      See Also:
    • DIALOGFLOW_INTERACTION_FIELD_NUMBER

      public static final int DIALOGFLOW_INTERACTION_FIELD_NUMBER
      See Also:
    • CONVERSATION_SUMMARIZATION_SUGGESTION_FIELD_NUMBER

      public static final int CONVERSATION_SUMMARIZATION_SUGGESTION_FIELD_NUMBER
      See Also:
    • ANNOTATION_ID_FIELD_NUMBER

      public static final int ANNOTATION_ID_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • START_BOUNDARY_FIELD_NUMBER

      public static final int START_BOUNDARY_FIELD_NUMBER
      See Also:
    • END_BOUNDARY_FIELD_NUMBER

      public static final int END_BOUNDARY_FIELD_NUMBER
      See Also:
    • ANSWER_FEEDBACK_FIELD_NUMBER

      public static final int ANSWER_FEEDBACK_FIELD_NUMBER
      See Also:
    • USER_INPUT_FIELD_NUMBER

      public static final int USER_INPUT_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 RuntimeAnnotation.DataCase getDataCase()
      Specified by:
      getDataCase in interface RuntimeAnnotationOrBuilder
    • hasArticleSuggestion

      public boolean hasArticleSuggestion()
       Agent Assist Article Suggestion data.
       
      .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
      Specified by:
      hasArticleSuggestion in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the articleSuggestion field is set.
    • getArticleSuggestion

      public ArticleSuggestionData getArticleSuggestion()
       Agent Assist Article Suggestion data.
       
      .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
      Specified by:
      getArticleSuggestion in interface RuntimeAnnotationOrBuilder
      Returns:
      The articleSuggestion.
    • getArticleSuggestionOrBuilder

      public ArticleSuggestionDataOrBuilder getArticleSuggestionOrBuilder()
       Agent Assist Article Suggestion data.
       
      .google.cloud.contactcenterinsights.v1.ArticleSuggestionData article_suggestion = 6;
      Specified by:
      getArticleSuggestionOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasFaqAnswer

      public boolean hasFaqAnswer()
       Agent Assist FAQ answer data.
       
      .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;
      Specified by:
      hasFaqAnswer in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the faqAnswer field is set.
    • getFaqAnswer

      public FaqAnswerData getFaqAnswer()
       Agent Assist FAQ answer data.
       
      .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;
      Specified by:
      getFaqAnswer in interface RuntimeAnnotationOrBuilder
      Returns:
      The faqAnswer.
    • getFaqAnswerOrBuilder

      public FaqAnswerDataOrBuilder getFaqAnswerOrBuilder()
       Agent Assist FAQ answer data.
       
      .google.cloud.contactcenterinsights.v1.FaqAnswerData faq_answer = 7;
      Specified by:
      getFaqAnswerOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasSmartReply

      public boolean hasSmartReply()
       Agent Assist Smart Reply data.
       
      .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;
      Specified by:
      hasSmartReply in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the smartReply field is set.
    • getSmartReply

      public SmartReplyData getSmartReply()
       Agent Assist Smart Reply data.
       
      .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;
      Specified by:
      getSmartReply in interface RuntimeAnnotationOrBuilder
      Returns:
      The smartReply.
    • getSmartReplyOrBuilder

      public SmartReplyDataOrBuilder getSmartReplyOrBuilder()
       Agent Assist Smart Reply data.
       
      .google.cloud.contactcenterinsights.v1.SmartReplyData smart_reply = 8;
      Specified by:
      getSmartReplyOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasSmartComposeSuggestion

      public boolean hasSmartComposeSuggestion()
       Agent Assist Smart Compose suggestion data.
       
      .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
      Specified by:
      hasSmartComposeSuggestion in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the smartComposeSuggestion field is set.
    • getSmartComposeSuggestion

      public SmartComposeSuggestionData getSmartComposeSuggestion()
       Agent Assist Smart Compose suggestion data.
       
      .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
      Specified by:
      getSmartComposeSuggestion in interface RuntimeAnnotationOrBuilder
      Returns:
      The smartComposeSuggestion.
    • getSmartComposeSuggestionOrBuilder

      public SmartComposeSuggestionDataOrBuilder getSmartComposeSuggestionOrBuilder()
       Agent Assist Smart Compose suggestion data.
       
      .google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData smart_compose_suggestion = 9;
      Specified by:
      getSmartComposeSuggestionOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasDialogflowInteraction

      public boolean hasDialogflowInteraction()
       Dialogflow interaction data.
       
      .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
      Specified by:
      hasDialogflowInteraction in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the dialogflowInteraction field is set.
    • getDialogflowInteraction

      public DialogflowInteractionData getDialogflowInteraction()
       Dialogflow interaction data.
       
      .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
      Specified by:
      getDialogflowInteraction in interface RuntimeAnnotationOrBuilder
      Returns:
      The dialogflowInteraction.
    • getDialogflowInteractionOrBuilder

      public DialogflowInteractionDataOrBuilder getDialogflowInteractionOrBuilder()
       Dialogflow interaction data.
       
      .google.cloud.contactcenterinsights.v1.DialogflowInteractionData dialogflow_interaction = 10;
      Specified by:
      getDialogflowInteractionOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasConversationSummarizationSuggestion

      public boolean hasConversationSummarizationSuggestion()
       Conversation summarization suggestion data.
       
      .google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
      Specified by:
      hasConversationSummarizationSuggestion in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the conversationSummarizationSuggestion field is set.
    • getConversationSummarizationSuggestion

      public ConversationSummarizationSuggestionData getConversationSummarizationSuggestion()
       Conversation summarization suggestion data.
       
      .google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
      Specified by:
      getConversationSummarizationSuggestion in interface RuntimeAnnotationOrBuilder
      Returns:
      The conversationSummarizationSuggestion.
    • getConversationSummarizationSuggestionOrBuilder

      public ConversationSummarizationSuggestionDataOrBuilder getConversationSummarizationSuggestionOrBuilder()
       Conversation summarization suggestion data.
       
      .google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData conversation_summarization_suggestion = 12;
      Specified by:
      getConversationSummarizationSuggestionOrBuilder in interface RuntimeAnnotationOrBuilder
    • getAnnotationId

      public String getAnnotationId()
       The unique identifier of the annotation.
       Format:
       projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}
       
      string annotation_id = 1;
      Specified by:
      getAnnotationId in interface RuntimeAnnotationOrBuilder
      Returns:
      The annotationId.
    • getAnnotationIdBytes

      public com.google.protobuf.ByteString getAnnotationIdBytes()
       The unique identifier of the annotation.
       Format:
       projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}
       
      string annotation_id = 1;
      Specified by:
      getAnnotationIdBytes in interface RuntimeAnnotationOrBuilder
      Returns:
      The bytes for annotationId.
    • hasCreateTime

      public boolean hasCreateTime()
       The time at which this annotation was created.
       
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      hasCreateTime in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       The time at which this annotation was created.
       
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      getCreateTime in interface RuntimeAnnotationOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time at which this annotation was created.
       
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      getCreateTimeOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasStartBoundary

      public boolean hasStartBoundary()
       The boundary in the conversation where the annotation starts, inclusive.
       
      .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;
      Specified by:
      hasStartBoundary in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the startBoundary field is set.
    • getStartBoundary

      public AnnotationBoundary getStartBoundary()
       The boundary in the conversation where the annotation starts, inclusive.
       
      .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;
      Specified by:
      getStartBoundary in interface RuntimeAnnotationOrBuilder
      Returns:
      The startBoundary.
    • getStartBoundaryOrBuilder

      public AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder()
       The boundary in the conversation where the annotation starts, inclusive.
       
      .google.cloud.contactcenterinsights.v1.AnnotationBoundary start_boundary = 3;
      Specified by:
      getStartBoundaryOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasEndBoundary

      public boolean hasEndBoundary()
       The boundary in the conversation where the annotation ends, inclusive.
       
      .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;
      Specified by:
      hasEndBoundary in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the endBoundary field is set.
    • getEndBoundary

      public AnnotationBoundary getEndBoundary()
       The boundary in the conversation where the annotation ends, inclusive.
       
      .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;
      Specified by:
      getEndBoundary in interface RuntimeAnnotationOrBuilder
      Returns:
      The endBoundary.
    • getEndBoundaryOrBuilder

      public AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder()
       The boundary in the conversation where the annotation ends, inclusive.
       
      .google.cloud.contactcenterinsights.v1.AnnotationBoundary end_boundary = 4;
      Specified by:
      getEndBoundaryOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasAnswerFeedback

      public boolean hasAnswerFeedback()
       The feedback that the customer has about the answer in `data`.
       
      .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;
      Specified by:
      hasAnswerFeedback in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the answerFeedback field is set.
    • getAnswerFeedback

      public AnswerFeedback getAnswerFeedback()
       The feedback that the customer has about the answer in `data`.
       
      .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;
      Specified by:
      getAnswerFeedback in interface RuntimeAnnotationOrBuilder
      Returns:
      The answerFeedback.
    • getAnswerFeedbackOrBuilder

      public AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
       The feedback that the customer has about the answer in `data`.
       
      .google.cloud.contactcenterinsights.v1.AnswerFeedback answer_feedback = 5;
      Specified by:
      getAnswerFeedbackOrBuilder in interface RuntimeAnnotationOrBuilder
    • hasUserInput

      public boolean hasUserInput()
       Explicit input used for generating the answer
       
      .google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput user_input = 16;
      Specified by:
      hasUserInput in interface RuntimeAnnotationOrBuilder
      Returns:
      Whether the userInput field is set.
    • getUserInput

      public RuntimeAnnotation.UserInput getUserInput()
       Explicit input used for generating the answer
       
      .google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput user_input = 16;
      Specified by:
      getUserInput in interface RuntimeAnnotationOrBuilder
      Returns:
      The userInput.
    • getUserInputOrBuilder

      public RuntimeAnnotation.UserInputOrBuilder getUserInputOrBuilder()
       Explicit input used for generating the answer
       
      .google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput user_input = 16;
      Specified by:
      getUserInputOrBuilder in interface RuntimeAnnotationOrBuilder
    • 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 RuntimeAnnotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeAnnotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeAnnotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeAnnotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeAnnotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeAnnotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeAnnotation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static RuntimeAnnotation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static RuntimeAnnotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static RuntimeAnnotation.Builder newBuilder()
    • newBuilder

      public static RuntimeAnnotation.Builder newBuilder(RuntimeAnnotation prototype)
    • toBuilder

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

      protected RuntimeAnnotation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RuntimeAnnotation getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RuntimeAnnotation> 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 RuntimeAnnotation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder