1.1.0 (latest) 1.0.0

    public sealed class Message : IMessage<Message>, IEquatable<Message>, IDeepCloneable<Message>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class Message.

A message within a conversation.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Message

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Message](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.Message.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Message](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.Message.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Message](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.Message.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### Message()

    public Message()

### Message(Message)

    public Message(Message other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Message` |

## Properties

### Chunks

    public RepeatedField<Chunk> Chunks { get; }

Optional. Content of the message as a series of chunks.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldChunk` |   |

### EventTime

    public Timestamp EventTime { get; set; }

Optional. Timestamp when the message was sent or received. Should not be
used if the message is part of an \[example\]\[google.cloud.ces.v1.Example\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Role

    public string Role { get; set; }

Optional. The role within the conversation, e.g., user, agent.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |