Table of Contents

Class InterruptionModelUsage

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

Constructors

InterruptionModelUsage()

public InterruptionModelUsage()

InterruptionModelUsage(InterruptionModelUsage)

public InterruptionModelUsage(InterruptionModelUsage other)

Parameters

other InterruptionModelUsage

Fields

ModelFieldNumber

Field number for the "model" field.

public const int ModelFieldNumber = 2

Field Value

int

ProviderFieldNumber

Field number for the "provider" field.

public const int ProviderFieldNumber = 1

Field Value

int

TotalRequestsFieldNumber

Field number for the "total_requests" field.

public const int TotalRequestsFieldNumber = 3

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Model

public string Model { get; set; }

Property Value

string

Parser

public static MessageParser<InterruptionModelUsage> Parser { get; }

Property Value

MessageParser<InterruptionModelUsage>

Provider

public string Provider { get; set; }

Property Value

string

TotalRequests

public int TotalRequests { get; set; }

Property Value

int

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 InterruptionModelUsage Clone()

Returns

InterruptionModelUsage

A deep clone of this object.

Equals(InterruptionModelUsage)

public bool Equals(InterruptionModelUsage other)

Parameters

other InterruptionModelUsage

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(InterruptionModelUsage)

Merges the given message into this one.

public void MergeFrom(InterruptionModelUsage other)

Parameters

other InterruptionModelUsage

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.