Table of Contents

Class SessionResponse.Types.GetSessionStateResponse

Namespace
Livekit.Agent
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class SessionResponse.Types.GetSessionStateResponse : IMessage<SessionResponse.Types.GetSessionStateResponse>, IEquatable<SessionResponse.Types.GetSessionStateResponse>, IDeepCloneable<SessionResponse.Types.GetSessionStateResponse>, IBufferMessage, IMessage
Inheritance
SessionResponse.Types.GetSessionStateResponse
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

GetSessionStateResponse()

public GetSessionStateResponse()

GetSessionStateResponse(GetSessionStateResponse)

public GetSessionStateResponse(SessionResponse.Types.GetSessionStateResponse other)

Parameters

other SessionResponse.Types.GetSessionStateResponse

Fields

AgentIdFieldNumber

Field number for the "agent_id" field.

public const int AgentIdFieldNumber = 3

Field Value

int

AgentStateFieldNumber

Field number for the "agent_state" field.

public const int AgentStateFieldNumber = 1

Field Value

int

CreatedAtFieldNumber

Field number for the "created_at" field.

public const int CreatedAtFieldNumber = 5

Field Value

int

OptionsFieldNumber

Field number for the "options" field.

public const int OptionsFieldNumber = 4

Field Value

int

UserStateFieldNumber

Field number for the "user_state" field.

public const int UserStateFieldNumber = 2

Field Value

int

Properties

AgentId

public string AgentId { get; set; }

Property Value

string

AgentState

public AgentState AgentState { get; set; }

Property Value

AgentState

CreatedAt

public Timestamp CreatedAt { get; set; }

Property Value

Timestamp

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Options

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

Property Value

MapField<string, string>

Parser

public static MessageParser<SessionResponse.Types.GetSessionStateResponse> Parser { get; }

Property Value

MessageParser<SessionResponse.Types.GetSessionStateResponse>

UserState

public UserState UserState { get; set; }

Property Value

UserState

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 SessionResponse.Types.GetSessionStateResponse Clone()

Returns

SessionResponse.Types.GetSessionStateResponse

A deep clone of this object.

Equals(GetSessionStateResponse)

public bool Equals(SessionResponse.Types.GetSessionStateResponse other)

Parameters

other SessionResponse.Types.GetSessionStateResponse

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

Merges the given message into this one.

public void MergeFrom(SessionResponse.Types.GetSessionStateResponse other)

Parameters

other SessionResponse.Types.GetSessionStateResponse

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.