public interface MessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Required.
|
com.google.protobuf.ByteString |
getContentBytes()
Required.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getLanguageCode()
Optional.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
Optional.
|
MessageAnnotation |
getMessageAnnotation()
Output only.
|
MessageAnnotationOrBuilder |
getMessageAnnotationOrBuilder()
Output only.
|
String |
getName()
Optional.
|
com.google.protobuf.ByteString |
getNameBytes()
Optional.
|
String |
getParticipant()
Output only.
|
com.google.protobuf.ByteString |
getParticipantBytes()
Output only.
|
Participant.Role |
getParticipantRole()
Output only.
|
int |
getParticipantRoleValue()
Output only.
|
com.google.protobuf.Timestamp |
getSendTime()
Optional.
|
com.google.protobuf.TimestampOrBuilder |
getSendTimeOrBuilder()
Optional.
|
SentimentAnalysisResult |
getSentimentAnalysis()
Output only.
|
SentimentAnalysisResultOrBuilder |
getSentimentAnalysisOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasMessageAnnotation()
Output only.
|
boolean |
hasSendTime()
Optional.
|
boolean |
hasSentimentAnalysis()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];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];String getContent()
Required. The message content.
string content = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getContentBytes()
Required. The message content.
string content = 2 [(.google.api.field_behavior) = REQUIRED];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];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];String getParticipant()
Output only. The participant that sends this message.
string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getParticipantBytes()
Output only. The participant that sends this message.
string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];int getParticipantRoleValue()
Output only. The role of the participant.
.google.cloud.dialogflow.v2beta1.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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];
boolean hasSendTime()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.Timestamp getSendTime()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.TimestampOrBuilder getSendTimeOrBuilder()
Optional. The time when the message was sent.
.google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
boolean hasMessageAnnotation()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
MessageAnnotation getMessageAnnotation()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
MessageAnnotationOrBuilder getMessageAnnotationOrBuilder()
Output only. The annotation for the message.
.google.cloud.dialogflow.v2beta1.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
Copyright © 2023 Google LLC. All rights reserved.