3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0

    public sealed class Span.Types.TimeEvents : IMessage<Span.Types.TimeEvents>, IEquatable<Span.Types.TimeEvents>, IDeepCloneable<Span.Types.TimeEvents>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.TimeEvents.

A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
on the span, consisting of either user-supplied key:value pairs, or
details of a message sent/received between Spans.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Span](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.md.txt)[TimeEvents](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.TimeEvents.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Span](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.md.txt)[TimeEvents](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.TimeEvents.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Span](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.md.txt)[TimeEvents](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.TimeEvents.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.Trace.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.md.txt)

## Assembly

Google.Cloud.Trace.V2.dll

## Constructors

### TimeEvents()

    public TimeEvents()

### TimeEvents(TimeEvents)

    public TimeEvents(Span.Types.TimeEvents other)

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

## Properties

### DroppedAnnotationsCount

    public int DroppedAnnotationsCount { get; set; }

The number of dropped annotations in all the included time events.
If the value is 0, then no annotations were dropped.

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

### DroppedMessageEventsCount

    public int DroppedMessageEventsCount { get; set; }

The number of dropped message events in all the included time events.
If the value is 0, then no message events were dropped.

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

### TimeEvent

    public RepeatedField<Span.Types.TimeEvent> TimeEvent { get; }

A collection of `TimeEvent`s.

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