Table of Contents

Class SimulationRun.Types.List.Types.Request

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

Constructors

Request()

public Request()

Request(Request)

public Request(SimulationRun.Types.List.Types.Request other)

Parameters

other SimulationRun.Types.List.Types.Request

Fields

AgentNameFieldNumber

Field number for the "agent_name" field.

public const int AgentNameFieldNumber = 6

Field Value

int

EndTimeFieldNumber

Field number for the "end_time" field.

public const int EndTimeFieldNumber = 5

Field Value

int

ModeFieldNumber

Field number for the "mode" field.

public const int ModeFieldNumber = 7

Field Value

int

PageTokenFieldNumber

Field number for the "page_token" field.

public const int PageTokenFieldNumber = 3

Field Value

int

ProjectIdFieldNumber

Field number for the "project_id" field.

public const int ProjectIdFieldNumber = 1

Field Value

int

StartTimeFieldNumber

Field number for the "start_time" field.

public const int StartTimeFieldNumber = 4

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 2

Field Value

int

Properties

AgentName

Exact agent name. Unset means every agent — including the runs whose name is empty, which a bare string could not tell from no filter.

public string AgentName { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EndTime

public Timestamp EndTime { get; set; }

Property Value

Timestamp

HasAgentName

Gets whether the "agent_name" field is set

public bool HasAgentName { get; }

Property Value

bool

HasMode

Gets whether the "mode" field is set

public bool HasMode { get; }

Property Value

bool

HasStatus

Gets whether the "status" field is set

public bool HasStatus { get; }

Property Value

bool

Mode

Absent applies no mode filter. TEXT matches runs stored as TEXT or UNSPECIFIED, which SimulationRun.mode defines as the same mode.

public SimulationMode Mode { get; set; }

Property Value

SimulationMode

PageToken

public TokenPagination PageToken { get; set; }

Property Value

TokenPagination

Parser

public static MessageParser<SimulationRun.Types.List.Types.Request> Parser { get; }

Property Value

MessageParser<SimulationRun.Types.List.Types.Request>

ProjectId

public string ProjectId { get; set; }

Property Value

string

StartTime

Half-open window [start_time, end_time) on created_at, the leading key of this list's keyset. Unset bounds mean no window, so existing callers keep their unbounded scan; the histogram's selected range sets both.

public Timestamp StartTime { get; set; }

Property Value

Timestamp

Status

public SimulationRun.Types.Status Status { get; set; }

Property Value

SimulationRun.Types.Status

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.

ClearAgentName()

Clears the value of the "agent_name" field

public void ClearAgentName()

ClearMode()

Clears the value of the "mode" field

public void ClearMode()

ClearStatus()

Clears the value of the "status" field

public void ClearStatus()

Clone()

Creates a deep clone of this object.

public SimulationRun.Types.List.Types.Request Clone()

Returns

SimulationRun.Types.List.Types.Request

A deep clone of this object.

Equals(Request)

public bool Equals(SimulationRun.Types.List.Types.Request other)

Parameters

other SimulationRun.Types.List.Types.Request

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

Merges the given message into this one.

public void MergeFrom(SimulationRun.Types.List.Types.Request other)

Parameters

other SimulationRun.Types.List.Types.Request

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.