Class EncryptedPacketPayload
Inheritance
EncryptedPacketPayload
Implements
IBufferMessage
IMessage
Namespace: LiveKit.Proto
Assembly: Uniform.LiveKit.Protocol.dll
Syntax
public sealed class EncryptedPacketPayload : IMessage<EncryptedPacketPayload>, IEquatable<EncryptedPacketPayload>, IDeepCloneable<EncryptedPacketPayload>, IBufferMessage, IMessage
Constructors
EncryptedPacketPayload()
Declaration
public EncryptedPacketPayload()
EncryptedPacketPayload(EncryptedPacketPayload)
Declaration
public EncryptedPacketPayload(EncryptedPacketPayload other)
Parameters
Fields
ChatMessageFieldNumber
Field number for the "chat_message" field.
Declaration
public const int ChatMessageFieldNumber = 3
Field Value
RpcAckFieldNumber
Field number for the "rpc_ack" field.
Declaration
public const int RpcAckFieldNumber = 5
Field Value
RpcRequestFieldNumber
Field number for the "rpc_request" field.
Declaration
public const int RpcRequestFieldNumber = 4
Field Value
RpcResponseFieldNumber
Field number for the "rpc_response" field.
Declaration
public const int RpcResponseFieldNumber = 6
Field Value
StreamChunkFieldNumber
Field number for the "stream_chunk" field.
Declaration
public const int StreamChunkFieldNumber = 8
Field Value
Field number for the "stream_header" field.
Declaration
public const int StreamHeaderFieldNumber = 7
Field Value
StreamTrailerFieldNumber
Field number for the "stream_trailer" field.
Declaration
public const int StreamTrailerFieldNumber = 9
Field Value
UserFieldNumber
Field number for the "user" field.
Declaration
public const int UserFieldNumber = 1
Field Value
Properties
ChatMessage
Declaration
public ChatMessage ChatMessage { get; set; }
Property Value
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
| Type |
Description |
| MessageDescriptor |
|
Parser
Declaration
public static MessageParser<EncryptedPacketPayload> Parser { get; }
Property Value
RpcAck
Declaration
public RpcAck RpcAck { get; set; }
Property Value
RpcRequest
Declaration
public RpcRequest RpcRequest { get; set; }
Property Value
RpcResponse
Declaration
public RpcResponse RpcResponse { get; set; }
Property Value
StreamChunk
Declaration
public DataStream.Types.Chunk StreamChunk { get; set; }
Property Value
Declaration
public DataStream.Types.Header StreamHeader { get; set; }
Property Value
StreamTrailer
Declaration
public DataStream.Types.Trailer StreamTrailer { get; set; }
Property Value
User
Declaration
public UserPacket User { get; set; }
Property Value
ValueCase
Declaration
public EncryptedPacketPayload.ValueOneofCase ValueCase { get; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
| Type |
Description |
| int |
The number of bytes required to write this message
to a coded output stream.
|
ClearValue()
Declaration
Clone()
Creates a deep clone of this object.
Declaration
public EncryptedPacketPayload Clone()
Returns
Equals(EncryptedPacketPayload)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(EncryptedPacketPayload other)
Parameters
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object other)
Parameters
| Type |
Name |
Description |
| object |
other |
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Overrides
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
| Type |
Name |
Description |
| CodedInputStream |
input |
|
MergeFrom(EncryptedPacketPayload)
Merges the given message into this one.
Declaration
public void MergeFrom(EncryptedPacketPayload other)
Parameters
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
| Type |
Name |
Description |
| CodedOutputStream |
output |
Coded output stream to write the data to. Must not be null.
|
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage