public interface MessageOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getKindCase()
public abstract Message.KindCase getKindCase()
Returns | |
---|---|
Type | Description |
Message.KindCase |
getMessageId()
public abstract String getMessageId()
Optional. unique id of the message in the conversation for persistence.
string message_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The messageId. |
getMessageIdBytes()
public abstract ByteString getMessageIdBytes()
Optional. unique id of the message in the conversation for persistence.
string message_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for messageId. |
getSystemMessage()
public abstract SystemMessage getSystemMessage()
A message from the system in response to the user.
.google.cloud.geminidataanalytics.v1beta.SystemMessage system_message = 3;
Returns | |
---|---|
Type | Description |
SystemMessage |
The systemMessage. |
getSystemMessageOrBuilder()
public abstract SystemMessageOrBuilder getSystemMessageOrBuilder()
A message from the system in response to the user.
.google.cloud.geminidataanalytics.v1beta.SystemMessage system_message = 3;
Returns | |
---|---|
Type | Description |
SystemMessageOrBuilder |
getTimestamp()
public abstract Timestamp getTimestamp()
Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.
.google.protobuf.Timestamp timestamp = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The timestamp. |
getTimestampOrBuilder()
public abstract TimestampOrBuilder getTimestampOrBuilder()
Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.
.google.protobuf.Timestamp timestamp = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUserMessage()
public abstract UserMessage getUserMessage()
A message from the user that is interacting with the system.
.google.cloud.geminidataanalytics.v1beta.UserMessage user_message = 2;
Returns | |
---|---|
Type | Description |
UserMessage |
The userMessage. |
getUserMessageOrBuilder()
public abstract UserMessageOrBuilder getUserMessageOrBuilder()
A message from the user that is interacting with the system.
.google.cloud.geminidataanalytics.v1beta.UserMessage user_message = 2;
Returns | |
---|---|
Type | Description |
UserMessageOrBuilder |
hasSystemMessage()
public abstract boolean hasSystemMessage()
A message from the system in response to the user.
.google.cloud.geminidataanalytics.v1beta.SystemMessage system_message = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the systemMessage field is set. |
hasTimestamp()
public abstract boolean hasTimestamp()
Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.
.google.protobuf.Timestamp timestamp = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the timestamp field is set. |
hasUserMessage()
public abstract boolean hasUserMessage()
A message from the user that is interacting with the system.
.google.cloud.geminidataanalytics.v1beta.UserMessage user_message = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the userMessage field is set. |