Table of Contents

Class RpcError

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

Constructors

RpcError()

public RpcError()

RpcError(RpcError)

public RpcError(RpcError other)

Parameters

other RpcError

Fields

CodeFieldNumber

Field number for the "code" field.

public const int CodeFieldNumber = 1

Field Value

int

DataFieldNumber

Field number for the "data" field.

public const int DataFieldNumber = 3

Field Value

int

MessageFieldNumber

Field number for the "message" field.

public const int MessageFieldNumber = 2

Field Value

int

Properties

Code

public uint Code { get; set; }

Property Value

uint

Data

public string Data { get; set; }

Property Value

string

Descriptor

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

Property Value

MessageDescriptor

HasCode

Gets whether the "code" field is set

public bool HasCode { get; }

Property Value

bool

HasData

Gets whether the "data" field is set

public bool HasData { get; }

Property Value

bool

HasMessage

Gets whether the "message" field is set

public bool HasMessage { get; }

Property Value

bool

Message

public string Message { get; set; }

Property Value

string

Parser

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

Property Value

MessageParser<RpcError>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearCode()

Clears the value of the "code" field

public void ClearCode()

ClearData()

Clears the value of the "data" field

public void ClearData()

ClearMessage()

Clears the value of the "message" field

public void ClearMessage()

Clone()

public RpcError Clone()

Returns

RpcError

Equals(RpcError)

public bool Equals(RpcError other)

Parameters

other RpcError

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

public void MergeFrom(RpcError other)

Parameters

other RpcError

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream