Class RuntimeAnnotation

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

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

      • ARTICLE_SUGGESTION_FIELD_NUMBER

        public static final int ARTICLE_SUGGESTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAQ_ANSWER_FIELD_NUMBER

        public static final int FAQ_ANSWER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SMART_REPLY_FIELD_NUMBER

        public static final int SMART_REPLY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SMART_COMPOSE_SUGGESTION_FIELD_NUMBER

        public static final int SMART_COMPOSE_SUGGESTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DIALOGFLOW_INTERACTION_FIELD_NUMBER

        public static final int DIALOGFLOW_INTERACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONVERSATION_SUMMARIZATION_SUGGESTION_FIELD_NUMBER

        public static final int CONVERSATION_SUMMARIZATION_SUGGESTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANNOTATION_ID_FIELD_NUMBER

        public static final int ANNOTATION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATE_TIME_FIELD_NUMBER

        public static final int CREATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • START_BOUNDARY_FIELD_NUMBER

        public static final int START_BOUNDARY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • END_BOUNDARY_FIELD_NUMBER

        public static final int END_BOUNDARY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANSWER_FEEDBACK_FIELD_NUMBER

        public static final int ANSWER_FEEDBACK_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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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