Class SimulationRun.Types.Create.Types.Request
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
-
IBufferMessageIMessage
- Inherited Members
Constructors
Request()
public Request()
Request(Request)
public Request(SimulationRun.Types.Create.Types.Request other)
Parameters
otherSimulationRun.Types.Create.Types.Request
Fields
AgentNameFieldNumber
Field number for the "agent_name" field.
public const int AgentNameFieldNumber = 2
Field Value
BackgroundNoiseFieldNumber
Field number for the "background_noise" field.
public const int BackgroundNoiseFieldNumber = 10
Field Value
CiFieldNumber
Field number for the "ci" field.
public const int CiFieldNumber = 13
Field Value
ConcurrencyFieldNumber
Field number for the "concurrency" field.
public const int ConcurrencyFieldNumber = 8
Field Value
LowQualityMicrophoneFieldNumber
Field number for the "low_quality_microphone" field.
public const int LowQualityMicrophoneFieldNumber = 11
Field Value
ModeFieldNumber
Field number for the "mode" field.
public const int ModeFieldNumber = 9
Field Value
NumSimulationsFieldNumber
Field number for the "num_simulations" field.
public const int NumSimulationsFieldNumber = 4
Field Value
PacketLossFieldNumber
Field number for the "packet_loss" field.
public const int PacketLossFieldNumber = 12
Field Value
ProjectIdFieldNumber
Field number for the "project_id" field.
public const int ProjectIdFieldNumber = 1
Field Value
RegionFieldNumber
Field number for the "region" field.
public const int RegionFieldNumber = 6
Field Value
SamplingFieldNumber
Field number for the "sampling" field.
public const int SamplingFieldNumber = 14
Field Value
ScenarioGroupFieldNumber
Field number for the "scenario_group" field.
public const int ScenarioGroupFieldNumber = 7
Field Value
Properties
AgentName
public string AgentName { get; set; }
Property Value
BackgroundNoise
Impairments applied to the simulated user's audio; AUDIO mode only.
public bool BackgroundNoise { get; set; }
Property Value
Ci
public SimulationRun.Types.CI Ci { get; set; }
Property Value
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
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasConcurrency
Gets whether the "concurrency" field is set
public bool HasConcurrency { get; }
Property Value
LowQualityMicrophone
public bool LowQualityMicrophone { 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
PacketLoss
public bool PacketLoss { get; set; }
Property Value
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
Region
public string Region { get; set; }
Property Value
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
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
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
otherSimulationRun.Types.Create.Types.Request
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(Request)
Merges the given message into this one.
public void MergeFrom(SimulationRun.Types.Create.Types.Request other)
Parameters
otherSimulationRun.Types.Create.Types.Request
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.