Class DataChannelStats
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
otherDataChannelStats
Fields
BytesReceivedFieldNumber
Field number for the "bytes_received" field.
public const int BytesReceivedFieldNumber = 8
Field Value
BytesSentFieldNumber
Field number for the "bytes_sent" field.
public const int BytesSentFieldNumber = 6
Field Value
DataChannelIdentifierFieldNumber
Field number for the "data_channel_identifier" field.
public const int DataChannelIdentifierFieldNumber = 3
Field Value
LabelFieldNumber
Field number for the "label" field.
public const int LabelFieldNumber = 1
Field Value
MessagesReceivedFieldNumber
Field number for the "messages_received" field.
public const int MessagesReceivedFieldNumber = 7
Field Value
MessagesSentFieldNumber
Field number for the "messages_sent" field.
public const int MessagesSentFieldNumber = 5
Field Value
ProtocolFieldNumber
Field number for the "protocol" field.
public const int ProtocolFieldNumber = 2
Field Value
StateFieldNumber
Field number for the "state" field.
public const int StateFieldNumber = 4
Field Value
Properties
BytesReceived
public ulong BytesReceived { get; set; }
Property Value
BytesSent
public ulong BytesSent { get; set; }
Property Value
DataChannelIdentifier
public int DataChannelIdentifier { get; set; }
Property Value
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
HasBytesSent
Gets whether the "bytes_sent" field is set
public bool HasBytesSent { get; }
Property Value
HasDataChannelIdentifier
Gets whether the "data_channel_identifier" field is set
public bool HasDataChannelIdentifier { get; }
Property Value
HasLabel
Gets whether the "label" field is set
public bool HasLabel { get; }
Property Value
HasMessagesReceived
Gets whether the "messages_received" field is set
public bool HasMessagesReceived { get; }
Property Value
HasMessagesSent
Gets whether the "messages_sent" field is set
public bool HasMessagesSent { get; }
Property Value
HasProtocol
Gets whether the "protocol" field is set
public bool HasProtocol { get; }
Property Value
HasState
Gets whether the "state" field is set
public bool HasState { get; }
Property Value
Label
public string Label { get; set; }
Property Value
MessagesReceived
public uint MessagesReceived { get; set; }
Property Value
MessagesSent
public uint MessagesSent { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<DataChannelStats> Parser { get; }
Property Value
- MessageParser<DataChannelStats>
Protocol
public string Protocol { get; set; }
Property Value
State
public DataChannelState State { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(DataChannelStats)
public bool Equals(DataChannelStats other)
Parameters
otherDataChannelStats
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(DataChannelStats)
public void MergeFrom(DataChannelStats other)
Parameters
otherDataChannelStats
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream