Table of Contents

Class DataChannelStats

Namespace
LiveKit.Proto
public sealed class DataChannelStats : Google.Protobuf.IMessage<DataChannelStats>, Google.Protobuf.IBufferMessage
Inheritance
DataChannelStats
Implements
IBufferMessage
Extension Methods

Constructors

DataChannelStats()

public DataChannelStats()

DataChannelStats(DataChannelStats)

public DataChannelStats(DataChannelStats other)

Parameters

other DataChannelStats

Fields

BytesReceivedFieldNumber

Field number for the "bytes_received" field.

public const int BytesReceivedFieldNumber = 8

Field Value

int

BytesSentFieldNumber

Field number for the "bytes_sent" field.

public const int BytesSentFieldNumber = 6

Field Value

int

DataChannelIdentifierFieldNumber

Field number for the "data_channel_identifier" field.

public const int DataChannelIdentifierFieldNumber = 3

Field Value

int

LabelFieldNumber

Field number for the "label" field.

public const int LabelFieldNumber = 1

Field Value

int

MessagesReceivedFieldNumber

Field number for the "messages_received" field.

public const int MessagesReceivedFieldNumber = 7

Field Value

int

MessagesSentFieldNumber

Field number for the "messages_sent" field.

public const int MessagesSentFieldNumber = 5

Field Value

int

ProtocolFieldNumber

Field number for the "protocol" field.

public const int ProtocolFieldNumber = 2

Field Value

int

StateFieldNumber

Field number for the "state" field.

public const int StateFieldNumber = 4

Field Value

int

Properties

BytesReceived

public ulong BytesReceived { get; set; }

Property Value

ulong

BytesSent

public ulong BytesSent { get; set; }

Property Value

ulong

DataChannelIdentifier

public int DataChannelIdentifier { get; set; }

Property Value

int

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasBytesReceived

Gets whether the "bytes_received" field is set

public bool HasBytesReceived { get; }

Property Value

bool

HasBytesSent

Gets whether the "bytes_sent" field is set

public bool HasBytesSent { get; }

Property Value

bool

HasDataChannelIdentifier

Gets whether the "data_channel_identifier" field is set

public bool HasDataChannelIdentifier { get; }

Property Value

bool

HasLabel

Gets whether the "label" field is set

public bool HasLabel { get; }

Property Value

bool

HasMessagesReceived

Gets whether the "messages_received" field is set

public bool HasMessagesReceived { get; }

Property Value

bool

HasMessagesSent

Gets whether the "messages_sent" field is set

public bool HasMessagesSent { get; }

Property Value

bool

HasProtocol

Gets whether the "protocol" field is set

public bool HasProtocol { get; }

Property Value

bool

HasState

Gets whether the "state" field is set

public bool HasState { get; }

Property Value

bool

Label

public string Label { get; set; }

Property Value

string

MessagesReceived

public uint MessagesReceived { get; set; }

Property Value

uint

MessagesSent

public uint MessagesSent { get; set; }

Property Value

uint

Parser

public static Google.Protobuf.MessageParser<DataChannelStats> Parser { get; }

Property Value

MessageParser<DataChannelStats>

Protocol

public string Protocol { get; set; }

Property Value

string

State

public DataChannelState State { get; set; }

Property Value

DataChannelState

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearBytesReceived()

Clears the value of the "bytes_received" field

public void ClearBytesReceived()

ClearBytesSent()

Clears the value of the "bytes_sent" field

public void ClearBytesSent()

ClearDataChannelIdentifier()

Clears the value of the "data_channel_identifier" field

public void ClearDataChannelIdentifier()

ClearLabel()

Clears the value of the "label" field

public void ClearLabel()

ClearMessagesReceived()

Clears the value of the "messages_received" field

public void ClearMessagesReceived()

ClearMessagesSent()

Clears the value of the "messages_sent" field

public void ClearMessagesSent()

ClearProtocol()

Clears the value of the "protocol" field

public void ClearProtocol()

ClearState()

Clears the value of the "state" field

public void ClearState()

Clone()

public DataChannelStats Clone()

Returns

DataChannelStats

Equals(DataChannelStats)

public bool Equals(DataChannelStats other)

Parameters

other DataChannelStats

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(DataChannelStats)

public void MergeFrom(DataChannelStats other)

Parameters

other DataChannelStats

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream