Table of Contents

Class AgentVersion

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

Constructors

AgentVersion()

public AgentVersion()

AgentVersion(AgentVersion)

public AgentVersion(AgentVersion other)

Parameters

other AgentVersion

Fields

ActiveFieldNumber

Field number for the "active" field.

public const int ActiveFieldNumber = 9

Field Value

int

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 5

Field Value

int

CreatedAtFieldNumber

Field number for the "created_at" field.

public const int CreatedAtFieldNumber = 3

Field Value

int

CurrentFieldNumber

Field number for the "current" field.

public const int CurrentFieldNumber = 2

Field Value

int

DeployedAtFieldNumber

Field number for the "deployed_at" field.

public const int DeployedAtFieldNumber = 4

Field Value

int

DrainingFieldNumber

Field number for the "draining" field.

public const int DrainingFieldNumber = 8

Field Value

int

OwnerFieldNumber

Field number for the "owner" field.

public const int OwnerFieldNumber = 7

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 6

Field Value

int

VersionFieldNumber

Field number for the "version" field.

public const int VersionFieldNumber = 1

Field Value

int

Properties

Active

public bool Active { get; set; }

Property Value

bool

Attributes

public MapField<string, string> Attributes { get; }

Property Value

MapField<string, string>

CreatedAt

public Timestamp CreatedAt { get; set; }

Property Value

Timestamp

Current

public bool Current { get; set; }

Property Value

bool

DeployedAt

public Timestamp DeployedAt { get; set; }

Property Value

Timestamp

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Draining

public bool Draining { get; set; }

Property Value

bool

Owner

public string Owner { get; set; }

Property Value

string

Parser

public static MessageParser<AgentVersion> Parser { get; }

Property Value

MessageParser<AgentVersion>

Status

public string Status { get; set; }

Property Value

string

Version

public string Version { 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 AgentVersion Clone()

Returns

AgentVersion

A deep clone of this object.

Equals(AgentVersion)

public bool Equals(AgentVersion other)

Parameters

other AgentVersion

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

Merges the given message into this one.

public void MergeFrom(AgentVersion other)

Parameters

other AgentVersion

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.