Table of Contents

Class CreateAgentV2Response

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

Constructors

CreateAgentV2Response()

public CreateAgentV2Response()

CreateAgentV2Response(CreateAgentV2Response)

public CreateAgentV2Response(CreateAgentV2Response other)

Parameters

other CreateAgentV2Response

Fields

AgentIdFieldNumber

Field number for the "agent_id" field.

public const int AgentIdFieldNumber = 1

Field Value

int

ServerRegionsFieldNumber

Field number for the "server_regions" field.

public const int ServerRegionsFieldNumber = 3

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 2

Field Value

int

Properties

AgentId

public string AgentId { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static MessageParser<CreateAgentV2Response> Parser { get; }

Property Value

MessageParser<CreateAgentV2Response>

ServerRegions

public RepeatedField<string> ServerRegions { get; }

Property Value

RepeatedField<string>

Status

public string Status { get; set; }

Property Value

string

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

Returns

CreateAgentV2Response

A deep clone of this object.

Equals(CreateAgentV2Response)

public bool Equals(CreateAgentV2Response other)

Parameters

other CreateAgentV2Response

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

Merges the given message into this one.

public void MergeFrom(CreateAgentV2Response other)

Parameters

other CreateAgentV2Response

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.