public interface ConversationMessageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContent()
public abstract String getContent()The contents of this message.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes()The contents of this message.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getMessageType()
public abstract ConversationMessage.MessageType getMessageType()The type of message.
.google.privacy.dlp.v2.ConversationMessage.MessageType message_type = 2;
| Returns | |
|---|---|
| Type | Description |
ConversationMessage.MessageType |
The messageType. |
getMessageTypeValue()
public abstract int getMessageTypeValue()The type of message.
.google.privacy.dlp.v2.ConversationMessage.MessageType message_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for messageType. |
getParticipantId()
public abstract String getParticipantId() Optional. The identifier of the participant,
for example 'test-user' or 'gemini'.
The participant ID can contain lowercase letters, numbers, and hyphens;
that is, it must match the regular expression:
^a-z?$.
The maximum length is 63 characters.
string participant_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The participantId. |
getParticipantIdBytes()
public abstract ByteString getParticipantIdBytes() Optional. The identifier of the participant,
for example 'test-user' or 'gemini'.
The participant ID can contain lowercase letters, numbers, and hyphens;
that is, it must match the regular expression:
^a-z?$.
The maximum length is 63 characters.
string participant_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for participantId. |