Table of Contents

Class SessionRequest

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

Constructors

SessionRequest()

public SessionRequest()

SessionRequest(SessionRequest)

public SessionRequest(SessionRequest other)

Parameters

other SessionRequest

Fields

GetAgentInfoFieldNumber

Field number for the "get_agent_info" field.

public const int GetAgentInfoFieldNumber = 6

Field Value

int

GetChatHistoryFieldNumber

Field number for the "get_chat_history" field.

public const int GetChatHistoryFieldNumber = 4

Field Value

int

GetFrameworkInfoFieldNumber

Field number for the "get_framework_info" field.

public const int GetFrameworkInfoFieldNumber = 10

Field Value

int

GetRtcStatsFieldNumber

Field number for the "get_rtc_stats" field.

public const int GetRtcStatsFieldNumber = 8

Field Value

int

GetSessionStateFieldNumber

Field number for the "get_session_state" field.

public const int GetSessionStateFieldNumber = 7

Field Value

int

GetSessionUsageFieldNumber

Field number for the "get_session_usage" field.

public const int GetSessionUsageFieldNumber = 9

Field Value

int

PingFieldNumber

Field number for the "ping" field.

public const int PingFieldNumber = 2

Field Value

int

RequestIdFieldNumber

Field number for the "request_id" field.

public const int RequestIdFieldNumber = 1

Field Value

int

RunInputFieldNumber

Field number for the "run_input" field.

public const int RunInputFieldNumber = 5

Field Value

int

UpdateIoFieldNumber

Field number for the "update_io" field.

public const int UpdateIoFieldNumber = 11

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

GetAgentInfo

public SessionRequest.Types.GetAgentInfo GetAgentInfo { get; set; }

Property Value

SessionRequest.Types.GetAgentInfo

GetChatHistory

public SessionRequest.Types.GetChatHistory GetChatHistory { get; set; }

Property Value

SessionRequest.Types.GetChatHistory

GetFrameworkInfo

public SessionRequest.Types.GetFrameworkInfo GetFrameworkInfo { get; set; }

Property Value

SessionRequest.Types.GetFrameworkInfo

GetRtcStats

public SessionRequest.Types.GetRTCStats GetRtcStats { get; set; }

Property Value

SessionRequest.Types.GetRTCStats

GetSessionState

public SessionRequest.Types.GetSessionState GetSessionState { get; set; }

Property Value

SessionRequest.Types.GetSessionState

GetSessionUsage

public SessionRequest.Types.GetSessionUsage GetSessionUsage { get; set; }

Property Value

SessionRequest.Types.GetSessionUsage

Parser

public static MessageParser<SessionRequest> Parser { get; }

Property Value

MessageParser<SessionRequest>

Ping

public SessionRequest.Types.Ping Ping { get; set; }

Property Value

SessionRequest.Types.Ping

RequestCase

public SessionRequest.RequestOneofCase RequestCase { get; }

Property Value

SessionRequest.RequestOneofCase

RequestId

public string RequestId { get; set; }

Property Value

string

RunInput

public SessionRequest.Types.RunInput RunInput { get; set; }

Property Value

SessionRequest.Types.RunInput

UpdateIo

public SessionRequest.Types.UpdateIO UpdateIo { get; set; }

Property Value

SessionRequest.Types.UpdateIO

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.

ClearRequest()

public void ClearRequest()

Clone()

Creates a deep clone of this object.

public SessionRequest Clone()

Returns

SessionRequest

A deep clone of this object.

Equals(SessionRequest)

public bool Equals(SessionRequest other)

Parameters

other SessionRequest

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

Merges the given message into this one.

public void MergeFrom(SessionRequest other)

Parameters

other SessionRequest

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.