Interface MessageOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Message, Message.Builder

    public interface MessageOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Optional. The unique identifier of the message.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/messages/<Message ID>`.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Optional. The unique identifier of the message.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/messages/<Message ID>`.
         
        string name = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for name.
      • getContent

        String getContent()
         Required. The message content.
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The content.
      • getContentBytes

        com.google.protobuf.ByteString getContentBytes()
         Required. The message content.
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for content.
      • getLanguageCode

        String getLanguageCode()
         Optional. The message language.
         This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
         language tag. Example: "en-US".
         
        string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        com.google.protobuf.ByteString getLanguageCodeBytes()
         Optional. The message language.
         This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
         language tag. Example: "en-US".
         
        string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for languageCode.
      • getParticipant

        String getParticipant()
         Output only. The participant that sends this message.
         
        string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The participant.
      • getParticipantBytes

        com.google.protobuf.ByteString getParticipantBytes()
         Output only. The participant that sends this message.
         
        string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for participant.
      • getParticipantRoleValue

        int getParticipantRoleValue()
         Output only. The role of the participant.
         
        .google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for participantRole.
      • getParticipantRole

        Participant.Role getParticipantRole()
         Output only. The role of the participant.
         
        .google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The participantRole.
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The time when the message was created in Contact Center AI.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time when the message was created in Contact Center AI.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time when the message was created in Contact Center AI.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasSendTime

        boolean hasSendTime()
         Optional. The time when the message was sent.
         
        .google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the sendTime field is set.
      • getSendTime

        com.google.protobuf.Timestamp getSendTime()
         Optional. The time when the message was sent.
         
        .google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The sendTime.
      • getSendTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getSendTimeOrBuilder()
         Optional. The time when the message was sent.
         
        .google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
      • hasMessageAnnotation

        boolean hasMessageAnnotation()
         Output only. The annotation for the message.
         
        .google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the messageAnnotation field is set.
      • getMessageAnnotation

        MessageAnnotation getMessageAnnotation()
         Output only. The annotation for the message.
         
        .google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The messageAnnotation.
      • getMessageAnnotationOrBuilder

        MessageAnnotationOrBuilder getMessageAnnotationOrBuilder()
         Output only. The annotation for the message.
         
        .google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasSentimentAnalysis

        boolean hasSentimentAnalysis()
         Output only. The sentiment analysis result for the message.
         
        .google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the sentimentAnalysis field is set.
      • getSentimentAnalysis

        SentimentAnalysisResult getSentimentAnalysis()
         Output only. The sentiment analysis result for the message.
         
        .google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The sentimentAnalysis.
      • getSentimentAnalysisOrBuilder

        SentimentAnalysisResultOrBuilder getSentimentAnalysisOrBuilder()
         Output only. The sentiment analysis result for the message.
         
        .google.cloud.dialogflow.v2beta1.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];