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
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
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
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
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
SummaryFieldNumber
Field number for the "summary" field.
public const int SummaryFieldNumber = 8
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
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
Id
public string Id { 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>
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
ScenarioGroup
public ScenarioGroup ScenarioGroup { get; set; }
Property Value
Status
public SimulationRun.Types.Status Status { get; set; }
Property Value
Summary
public SimulationRunSummary Summary { get; set; }
Property Value
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.
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.