Class SimulationRun
public sealed class SimulationRun : IMessage<SimulationRun>, IEquatable<SimulationRun>, IDeepCloneable<SimulationRun>, IBufferMessage, IMessage
- Inheritance
-
SimulationRun
- Implements
-
IMessage<SimulationRun>IDeepCloneable<SimulationRun>IBufferMessageIMessage
- Inherited Members
Constructors
SimulationRun()
public SimulationRun()
SimulationRun(SimulationRun)
public SimulationRun(SimulationRun other)
Parameters
otherSimulationRun
Fields
AgentDescriptionFieldNumber
Field number for the "agent_description" field.
public const int AgentDescriptionFieldNumber = 4
Field Value
AgentNameFieldNumber
Field number for the "agent_name" field.
public const int AgentNameFieldNumber = 9
Field Value
CiFieldNumber
Field number for the "ci" field.
public const int CiFieldNumber = 22
Field Value
ConcurrencyFieldNumber
Field number for the "concurrency" field.
public const int ConcurrencyFieldNumber = 17
Field Value
CreatedAtFieldNumber
Field number for the "created_at" field.
public const int CreatedAtFieldNumber = 6
Field Value
EndedAtFieldNumber
Field number for the "ended_at" field.
public const int EndedAtFieldNumber = 11
Field Value
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 5
Field Value
FailedCountFieldNumber
Field number for the "failed_count" field.
public const int FailedCountFieldNumber = 14
Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 1
Field Value
IssueCountFieldNumber
Field number for the "issue_count" field.
public const int IssueCountFieldNumber = 21
Field Value
JobCountFieldNumber
Field number for the "job_count" field.
public const int JobCountFieldNumber = 12
Field Value
JobsFieldNumber
Field number for the "jobs" field.
public const int JobsFieldNumber = 7
Field Value
MetricsFieldNumber
Field number for the "metrics" field.
public const int MetricsFieldNumber = 19
Field Value
ModeFieldNumber
Field number for the "mode" field.
public const int ModeFieldNumber = 18
Field Value
NumSimulationsFieldNumber
Field number for the "num_simulations" field.
public const int NumSimulationsFieldNumber = 15
Field Value
PassedCountFieldNumber
Field number for the "passed_count" field.
public const int PassedCountFieldNumber = 13
Field Value
ProjectIdFieldNumber
Field number for the "project_id" field.
public const int ProjectIdFieldNumber = 2
Field Value
SamplingFieldNumber
Field number for the "sampling" field.
public const int SamplingFieldNumber = 23
Field Value
ScenarioGroupFieldNumber
Field number for the "scenario_group" field.
public const int ScenarioGroupFieldNumber = 10
Field Value
StatusFieldNumber
Field number for the "status" field.
public const int StatusFieldNumber = 3
Field Value
SummaryZstdFieldNumber
Field number for the "summary_zstd" field.
public const int SummaryZstdFieldNumber = 20
Field Value
UsageFieldNumber
Field number for the "usage" field.
public const int UsageFieldNumber = 16
Field Value
Properties
AgentDescription
public string AgentDescription { get; set; }
Property Value
AgentName
public string AgentName { get; set; }
Property Value
Ci
The pipeline this run came from; unset when it did not come from one.
public SimulationRun.Types.CI Ci { get; set; }
Property Value
Concurrency
Maximum simulate jobs running in parallel for this run (0 = server default).
public int Concurrency { get; set; }
Property Value
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
FailedCount
public int FailedCount { get; set; }
Property Value
HasIssueCount
Gets whether the "issue_count" field is set
public bool HasIssueCount { get; }
Property Value
Id
public string Id { get; set; }
Property Value
IssueCount
How many issues the stored summary flagged. Present only once a summary landed — absent and 0 differ ("never summarized" vs "no issues") — and List responses carry it without the summary blob itself.
public int IssueCount { get; set; }
Property Value
JobCount
public int JobCount { get; set; }
Property Value
Jobs
public RepeatedField<SimulationRun.Types.Job> Jobs { get; }
Property Value
- RepeatedField<SimulationRun.Types.Job>
Metrics
Run-level aggregates over this run's jobs.
public SimulationRun.Types.RunMetrics Metrics { get; set; }
Property Value
Mode
Conversation mode for every job in this run; unspecified = TEXT.
public SimulationMode Mode { get; set; }
Property Value
NumSimulations
public int NumSimulations { get; set; }
Property Value
Parser
public static MessageParser<SimulationRun> Parser { get; }
Property Value
- MessageParser<SimulationRun>
PassedCount
public int PassedCount { get; set; }
Property Value
ProjectId
public string ProjectId { get; set; }
Property Value
Sampling
Absent when the run ran each scenario once and required it to pass.
public SimulationRun.Types.Sampling Sampling { get; set; }
Property Value
ScenarioGroup
public ScenarioGroup ScenarioGroup { get; set; }
Property Value
Status
public SimulationRun.Types.Status Status { get; set; }
Property Value
SummaryZstd
zstd-compressed SimulationRunSummary: decompress, then proto.Unmarshal. Compressed by default so the blob ships as-is on every hop.
public ByteString SummaryZstd { get; set; }
Property Value
- ByteString
Usage
Aggregate usage across all jobs in this run (sum of Job.usage).
public SimulationRun.Types.Usage Usage { get; set; }
Property Value
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.
ClearIssueCount()
Clears the value of the "issue_count" field
public void ClearIssueCount()
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
otherSimulationRun
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(SimulationRun)
Merges the given message into this one.
public void MergeFrom(SimulationRun other)
Parameters
otherSimulationRun
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.