Table of Contents

Class SimulationRun

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

Constructors

SimulationRun()

public SimulationRun()

SimulationRun(SimulationRun)

public SimulationRun(SimulationRun other)

Parameters

other SimulationRun

Fields

AgentDescriptionFieldNumber

Field number for the "agent_description" field.

public const int AgentDescriptionFieldNumber = 4

Field Value

int

AgentNameFieldNumber

Field number for the "agent_name" field.

public const int AgentNameFieldNumber = 9

Field Value

int

CreatedAtFieldNumber

Field number for the "created_at" field.

public const int CreatedAtFieldNumber = 6

Field Value

int

EndedAtFieldNumber

Field number for the "ended_at" field.

public const int EndedAtFieldNumber = 11

Field Value

int

ErrorFieldNumber

Field number for the "error" field.

public const int ErrorFieldNumber = 5

Field Value

int

FailedCountFieldNumber

Field number for the "failed_count" field.

public const int FailedCountFieldNumber = 14

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

JobCountFieldNumber

Field number for the "job_count" field.

public const int JobCountFieldNumber = 12

Field Value

int

JobsFieldNumber

Field number for the "jobs" field.

public const int JobsFieldNumber = 7

Field Value

int

NumSimulationsFieldNumber

Field number for the "num_simulations" field.

public const int NumSimulationsFieldNumber = 15

Field Value

int

PassedCountFieldNumber

Field number for the "passed_count" field.

public const int PassedCountFieldNumber = 13

Field Value

int

ProjectIdFieldNumber

Field number for the "project_id" field.

public const int ProjectIdFieldNumber = 2

Field Value

int

ScenarioGroupFieldNumber

Field number for the "scenario_group" field.

public const int ScenarioGroupFieldNumber = 10

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 3

Field Value

int

SummaryFieldNumber

Field number for the "summary" field.

public const int SummaryFieldNumber = 8

Field Value

int

UsageFieldNumber

Field number for the "usage" field.

public const int UsageFieldNumber = 16

Field Value

int

Properties

AgentDescription

public string AgentDescription { get; set; }

Property Value

string

AgentName

public string AgentName { get; set; }

Property Value

string

CreatedAt

public Timestamp CreatedAt { get; set; }

Property Value

Timestamp

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EndedAt

public Timestamp EndedAt { get; set; }

Property Value

Timestamp

Error

public string Error { get; set; }

Property Value

string

FailedCount

public int FailedCount { get; set; }

Property Value

int

Id

public string Id { get; set; }

Property Value

string

JobCount

public int JobCount { get; set; }

Property Value

int

Jobs

public RepeatedField<SimulationRun.Types.Job> Jobs { get; }

Property Value

RepeatedField<SimulationRun.Types.Job>

NumSimulations

public int NumSimulations { get; set; }

Property Value

int

Parser

public static MessageParser<SimulationRun> Parser { get; }

Property Value

MessageParser<SimulationRun>

PassedCount

public int PassedCount { get; set; }

Property Value

int

ProjectId

public string ProjectId { get; set; }

Property Value

string

ScenarioGroup

public ScenarioGroup ScenarioGroup { get; set; }

Property Value

ScenarioGroup

Status

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

Property Value

SimulationRun.Types.Status

Summary

public SimulationRunSummary Summary { get; set; }

Property Value

SimulationRunSummary

Usage

Aggregate usage across all jobs in this run (sum of Job.usage).

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

Property Value

SimulationRun.Types.Usage

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 SimulationRun Clone()

Returns

SimulationRun

A deep clone of this object.

Equals(SimulationRun)

public bool Equals(SimulationRun other)

Parameters

other SimulationRun

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

Merges the given message into this one.

public void MergeFrom(SimulationRun other)

Parameters

other SimulationRun

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.