Google Cloud Discovery Engine V1 Client - Class ConversationMessage (1.10.1) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ConversationMessage.
Defines a conversation message.
Generated from protobuf messagegoogle.cloud.discoveryengine.v1.ConversationMessage
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ user_input | TextInputUser text input. |
↳ reply | ReplySearch reply. |
↳ create_time | Google\Protobuf\TimestampOutput only. Message creation timestamp. |
getUserInput
User text input.
| Returns | |
|---|---|
| Type | Description |
TextInput|null | |
hasUserInput
setUserInput
User text input.
| Parameter | |
|---|---|
| Name | Description |
var | TextInput |
| Returns | |
|---|---|
| Type | Description |
$this | |
getReply
Search reply.
| Returns | |
|---|---|
| Type | Description |
Reply|null | |
hasReply
setReply
Search reply.
| Parameter | |
|---|---|
| Name | Description |
var | Reply |
| Returns | |
|---|---|
| Type | Description |
$this | |
getCreateTime
Output only. Message creation timestamp.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null | |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Message creation timestamp.
| Parameter | |
|---|---|
| Name | Description |
var | Google\Protobuf\Timestamp |
| Returns | |
|---|---|
| Type | Description |
$this | |
getMessage
| Returns | |
|---|---|
| Type | Description |
string | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.