Class SimulateScenario
public sealed class SimulateScenario : IMessage<SimulateScenario>, IEquatable<SimulateScenario>, IDeepCloneable<SimulateScenario>, IBufferMessage, IMessage
- Inheritance
-
SimulateScenario
- Implements
-
IMessage<SimulateScenario>IDeepCloneable<SimulateScenario>IBufferMessageIMessage
- Inherited Members
Constructors
SimulateScenario()
public SimulateScenario()
SimulateScenario(SimulateScenario)
public SimulateScenario(SimulateScenario other)
Parameters
otherSimulateScenario
Fields
DisconnectSignalOnResumeFieldNumber
Field number for the "disconnect_signal_on_resume" field.
public const int DisconnectSignalOnResumeFieldNumber = 7
Field Value
DisconnectSignalOnResumeNoMessagesFieldNumber
Field number for the "disconnect_signal_on_resume_no_messages" field.
public const int DisconnectSignalOnResumeNoMessagesFieldNumber = 8
Field Value
LeaveRequestFullReconnectFieldNumber
Field number for the "leave_request_full_reconnect" field.
public const int LeaveRequestFullReconnectFieldNumber = 9
Field Value
MigrationFieldNumber
Field number for the "migration" field.
public const int MigrationFieldNumber = 3
Field Value
NodeFailureFieldNumber
Field number for the "node_failure" field.
public const int NodeFailureFieldNumber = 2
Field Value
ServerLeaveFieldNumber
Field number for the "server_leave" field.
public const int ServerLeaveFieldNumber = 4
Field Value
SpeakerUpdateFieldNumber
Field number for the "speaker_update" field.
public const int SpeakerUpdateFieldNumber = 1
Field Value
SubscriberBandwidthFieldNumber
Field number for the "subscriber_bandwidth" field.
public const int SubscriberBandwidthFieldNumber = 6
Field Value
SwitchCandidateProtocolFieldNumber
Field number for the "switch_candidate_protocol" field.
public const int SwitchCandidateProtocolFieldNumber = 5
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisconnectSignalOnResume
disconnect signal on resume
public bool DisconnectSignalOnResume { get; set; }
Property Value
DisconnectSignalOnResumeNoMessages
disconnect signal on resume before sending any messages from server
public bool DisconnectSignalOnResumeNoMessages { get; set; }
Property Value
HasDisconnectSignalOnResume
Gets whether the "disconnect_signal_on_resume" field is set
public bool HasDisconnectSignalOnResume { get; }
Property Value
HasDisconnectSignalOnResumeNoMessages
Gets whether the "disconnect_signal_on_resume_no_messages" field is set
public bool HasDisconnectSignalOnResumeNoMessages { get; }
Property Value
HasLeaveRequestFullReconnect
Gets whether the "leave_request_full_reconnect" field is set
public bool HasLeaveRequestFullReconnect { get; }
Property Value
HasMigration
Gets whether the "migration" field is set
public bool HasMigration { get; }
Property Value
HasNodeFailure
Gets whether the "node_failure" field is set
public bool HasNodeFailure { get; }
Property Value
HasServerLeave
Gets whether the "server_leave" field is set
public bool HasServerLeave { get; }
Property Value
HasSpeakerUpdate
Gets whether the "speaker_update" field is set
public bool HasSpeakerUpdate { get; }
Property Value
HasSubscriberBandwidth
Gets whether the "subscriber_bandwidth" field is set
public bool HasSubscriberBandwidth { get; }
Property Value
HasSwitchCandidateProtocol
Gets whether the "switch_candidate_protocol" field is set
public bool HasSwitchCandidateProtocol { get; }
Property Value
LeaveRequestFullReconnect
full reconnect leave request
public bool LeaveRequestFullReconnect { get; set; }
Property Value
Migration
simulate migration
public bool Migration { get; set; }
Property Value
NodeFailure
simulate local node failure
public bool NodeFailure { get; set; }
Property Value
Parser
public static MessageParser<SimulateScenario> Parser { get; }
Property Value
- MessageParser<SimulateScenario>
ScenarioCase
public SimulateScenario.ScenarioOneofCase ScenarioCase { get; }
Property Value
ServerLeave
server to send leave
public bool ServerLeave { get; set; }
Property Value
SpeakerUpdate
simulate N seconds of speaker activity
public int SpeakerUpdate { get; set; }
Property Value
SubscriberBandwidth
maximum bandwidth for subscribers, in bps when zero, clears artificial bandwidth limit
public long SubscriberBandwidth { get; set; }
Property Value
SwitchCandidateProtocol
switch candidate protocol to tcp
public CandidateProtocol SwitchCandidateProtocol { 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.
ClearDisconnectSignalOnResume()
Clears the value of the oneof if it's currently set to "disconnect_signal_on_resume"
public void ClearDisconnectSignalOnResume()
ClearDisconnectSignalOnResumeNoMessages()
Clears the value of the oneof if it's currently set to "disconnect_signal_on_resume_no_messages"
public void ClearDisconnectSignalOnResumeNoMessages()
ClearLeaveRequestFullReconnect()
Clears the value of the oneof if it's currently set to "leave_request_full_reconnect"
public void ClearLeaveRequestFullReconnect()
ClearMigration()
Clears the value of the oneof if it's currently set to "migration"
public void ClearMigration()
ClearNodeFailure()
Clears the value of the oneof if it's currently set to "node_failure"
public void ClearNodeFailure()
ClearScenario()
public void ClearScenario()
ClearServerLeave()
Clears the value of the oneof if it's currently set to "server_leave"
public void ClearServerLeave()
ClearSpeakerUpdate()
Clears the value of the oneof if it's currently set to "speaker_update"
public void ClearSpeakerUpdate()
ClearSubscriberBandwidth()
Clears the value of the oneof if it's currently set to "subscriber_bandwidth"
public void ClearSubscriberBandwidth()
ClearSwitchCandidateProtocol()
Clears the value of the oneof if it's currently set to "switch_candidate_protocol"
public void ClearSwitchCandidateProtocol()
Clone()
Creates a deep clone of this object.
public SimulateScenario Clone()
Returns
- SimulateScenario
A deep clone of this object.
Equals(SimulateScenario)
public bool Equals(SimulateScenario other)
Parameters
otherSimulateScenario
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(SimulateScenario)
Merges the given message into this one.
public void MergeFrom(SimulateScenario other)
Parameters
otherSimulateScenario
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.