Class SimulationRun.Types.Job
public sealed class SimulationRun.Types.Job : IMessage<SimulationRun.Types.Job>, IEquatable<SimulationRun.Types.Job>, IDeepCloneable<SimulationRun.Types.Job>, IBufferMessage, IMessage
- Inheritance
-
SimulationRun.Types.Job
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
Job()
public Job()
Job(Job)
public Job(SimulationRun.Types.Job other)
Parameters
otherSimulationRun.Types.Job
Fields
AgentExpectationsFieldNumber
Field number for the "agent_expectations" field.
public const int AgentExpectationsFieldNumber = 5
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 = 4
Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 1
Field Value
InstructionsFieldNumber
Field number for the "instructions" field.
public const int InstructionsFieldNumber = 3
Field Value
LabelFieldNumber
Field number for the "label" field.
public const int LabelFieldNumber = 6
Field Value
RoomIdFieldNumber
Field number for the "room_id" field.
public const int RoomIdFieldNumber = 12
Field Value
RoomNameFieldNumber
Field number for the "room_name" field.
public const int RoomNameFieldNumber = 8
Field Value
ScenarioIdFieldNumber
Field number for the "scenario_id" field.
public const int ScenarioIdFieldNumber = 9
Field Value
StartedAtFieldNumber
Field number for the "started_at" field.
public const int StartedAtFieldNumber = 10
Field Value
StatusFieldNumber
Field number for the "status" field.
public const int StatusFieldNumber = 2
Field Value
TagsFieldNumber
Field number for the "tags" field.
public const int TagsFieldNumber = 7
Field Value
UsageFieldNumber
Field number for the "usage" field.
public const int UsageFieldNumber = 13
Field Value
Properties
AgentExpectations
public string AgentExpectations { get; set; }
Property Value
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
Id
public string Id { get; set; }
Property Value
Instructions
public string Instructions { get; set; }
Property Value
Label
public string Label { get; set; }
Property Value
Parser
public static MessageParser<SimulationRun.Types.Job> Parser { get; }
Property Value
- MessageParser<SimulationRun.Types.Job>
RoomId
public string RoomId { get; set; }
Property Value
RoomName
public string RoomName { get; set; }
Property Value
ScenarioId
public string ScenarioId { get; set; }
Property Value
StartedAt
public Timestamp StartedAt { get; set; }
Property Value
- Timestamp
Status
public SimulationRun.Types.Job.Types.Status Status { get; set; }
Property Value
Tags
public RepeatedField<string> Tags { get; }
Property Value
- RepeatedField<string>
Usage
public SimulationRun.Types.Job.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.Types.Job Clone()
Returns
- SimulationRun.Types.Job
A deep clone of this object.
Equals(Job)
public bool Equals(SimulationRun.Types.Job other)
Parameters
otherSimulationRun.Types.Job
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(Job)
Merges the given message into this one.
public void MergeFrom(SimulationRun.Types.Job other)
Parameters
otherSimulationRun.Types.Job
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.