Table of Contents

Class AgentSessionEvent.Types.OverlappingSpeech

Namespace
Livekit.Agent
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class AgentSessionEvent.Types.OverlappingSpeech : IMessage<AgentSessionEvent.Types.OverlappingSpeech>, IEquatable<AgentSessionEvent.Types.OverlappingSpeech>, IDeepCloneable<AgentSessionEvent.Types.OverlappingSpeech>, IBufferMessage, IMessage
Inheritance
AgentSessionEvent.Types.OverlappingSpeech
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

OverlappingSpeech()

public OverlappingSpeech()

OverlappingSpeech(OverlappingSpeech)

public OverlappingSpeech(AgentSessionEvent.Types.OverlappingSpeech other)

Parameters

other AgentSessionEvent.Types.OverlappingSpeech

Fields

DetectedAtFieldNumber

Field number for the "detected_at" field.

public const int DetectedAtFieldNumber = 4

Field Value

int

DetectionDelayFieldNumber

Field number for the "detection_delay" field.

public const int DetectionDelayFieldNumber = 3

Field Value

int

IsInterruptionFieldNumber

Field number for the "is_interruption" field.

public const int IsInterruptionFieldNumber = 1

Field Value

int

OverlapStartedAtFieldNumber

Field number for the "overlap_started_at" field.

public const int OverlapStartedAtFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DetectedAt

public Timestamp DetectedAt { get; set; }

Property Value

Timestamp

DetectionDelay

public double DetectionDelay { get; set; }

Property Value

double

IsInterruption

public bool IsInterruption { get; set; }

Property Value

bool

OverlapStartedAt

public Timestamp OverlapStartedAt { get; set; }

Property Value

Timestamp

Parser

public static MessageParser<AgentSessionEvent.Types.OverlappingSpeech> Parser { get; }

Property Value

MessageParser<AgentSessionEvent.Types.OverlappingSpeech>

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public AgentSessionEvent.Types.OverlappingSpeech Clone()

Returns

AgentSessionEvent.Types.OverlappingSpeech

A deep clone of this object.

Equals(OverlappingSpeech)

public bool Equals(AgentSessionEvent.Types.OverlappingSpeech other)

Parameters

other AgentSessionEvent.Types.OverlappingSpeech

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(OverlappingSpeech)

Merges the given message into this one.

public void MergeFrom(AgentSessionEvent.Types.OverlappingSpeech other)

Parameters

other AgentSessionEvent.Types.OverlappingSpeech

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.