Table of Contents

Class SimulationRun.Types.Create.Types.Request

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

Constructors

Request()

public Request()

Request(Request)

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

Parameters

other SimulationRun.Types.Create.Types.Request

Fields

AgentNameFieldNumber

Field number for the "agent_name" field.

public const int AgentNameFieldNumber = 2

Field Value

int

BackgroundNoiseFieldNumber

Field number for the "background_noise" field.

public const int BackgroundNoiseFieldNumber = 10

Field Value

int

CiFieldNumber

Field number for the "ci" field.

public const int CiFieldNumber = 13

Field Value

int

ConcurrencyFieldNumber

Field number for the "concurrency" field.

public const int ConcurrencyFieldNumber = 8

Field Value

int

LowQualityMicrophoneFieldNumber

Field number for the "low_quality_microphone" field.

public const int LowQualityMicrophoneFieldNumber = 11

Field Value

int

ModeFieldNumber

Field number for the "mode" field.

public const int ModeFieldNumber = 9

Field Value

int

NumSimulationsFieldNumber

Field number for the "num_simulations" field.

public const int NumSimulationsFieldNumber = 4

Field Value

int

PacketLossFieldNumber

Field number for the "packet_loss" field.

public const int PacketLossFieldNumber = 12

Field Value

int

ProjectIdFieldNumber

Field number for the "project_id" field.

public const int ProjectIdFieldNumber = 1

Field Value

int

RegionFieldNumber

Field number for the "region" field.

public const int RegionFieldNumber = 6

Field Value

int

SamplingFieldNumber

Field number for the "sampling" field.

public const int SamplingFieldNumber = 14

Field Value

int

ScenarioGroupFieldNumber

Field number for the "scenario_group" field.

public const int ScenarioGroupFieldNumber = 7

Field Value

int

Properties

AgentName

public string AgentName { get; set; }

Property Value

string

BackgroundNoise

Impairments applied to the simulated user's audio; AUDIO mode only.

public bool BackgroundNoise { get; set; }

Property Value

bool

Ci

public SimulationRun.Types.CI Ci { get; set; }

Property Value

SimulationRun.Types.CI

Concurrency

Maximum simulate jobs running in parallel for this run. Clamped to the project's concurrency quota; 0/unset uses the server default.

public int Concurrency { get; set; }

Property Value

int

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasConcurrency

Gets whether the "concurrency" field is set

public bool HasConcurrency { get; }

Property Value

bool

LowQualityMicrophone

public bool LowQualityMicrophone { get; set; }

Property Value

bool

Mode

Conversation mode for every job in this run; unspecified = TEXT.

public SimulationMode Mode { get; set; }

Property Value

SimulationMode

NumSimulations

public int NumSimulations { get; set; }

Property Value

int

PacketLoss

public bool PacketLoss { get; set; }

Property Value

bool

Parser

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

Property Value

MessageParser<SimulationRun.Types.Create.Types.Request>

ProjectId

public string ProjectId { get; set; }

Property Value

string

Region

public string Region { get; set; }

Property Value

string

Sampling

Absent runs each scenario once and requires it to pass. Requires scenario_group. The run fails if any scenario fails; pass@k and pass^k report over scenarios and neither gates.

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

Property Value

SimulationRun.Types.Sampling

ScenarioGroup

When set, run these scenarios (loaded from a scenarios.yaml). When unset, generate num_simulations scenarios from the uploaded agent source.

public ScenarioGroup ScenarioGroup { get; set; }

Property Value

ScenarioGroup

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.

ClearConcurrency()

Clears the value of the "concurrency" field

public void ClearConcurrency()

Clone()

Creates a deep clone of this object.

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

Returns

SimulationRun.Types.Create.Types.Request

A deep clone of this object.

Equals(Request)

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

Parameters

other SimulationRun.Types.Create.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.Create.Types.Request other)

Parameters

other SimulationRun.Types.Create.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.