Class SimulationRun.Types.Job.Types.Usage
public sealed class SimulationRun.Types.Job.Types.Usage : IMessage<SimulationRun.Types.Job.Types.Usage>, IEquatable<SimulationRun.Types.Job.Types.Usage>, IDeepCloneable<SimulationRun.Types.Job.Types.Usage>, IBufferMessage, IMessage
- Inheritance
-
SimulationRun.Types.Job.Types.Usage
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
Usage()
public Usage()
Usage(Usage)
public Usage(SimulationRun.Types.Job.Types.Usage other)
Parameters
otherSimulationRun.Types.Job.Types.Usage
Fields
AudioTurnsCountFieldNumber
Field number for the "audio_turns_count" field.
public const int AudioTurnsCountFieldNumber = 2
Field Value
TextTurnsCountFieldNumber
Field number for the "text_turns_count" field.
public const int TextTurnsCountFieldNumber = 1
Field Value
Properties
AudioTurnsCount
public int AudioTurnsCount { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<SimulationRun.Types.Job.Types.Usage> Parser { get; }
Property Value
- MessageParser<SimulationRun.Types.Job.Types.Usage>
TextTurnsCount
public int TextTurnsCount { 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.Types.Usage Clone()
Returns
- SimulationRun.Types.Job.Types.Usage
A deep clone of this object.
Equals(Usage)
public bool Equals(SimulationRun.Types.Job.Types.Usage other)
Parameters
otherSimulationRun.Types.Job.Types.Usage
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(Usage)
Merges the given message into this one.
public void MergeFrom(SimulationRun.Types.Job.Types.Usage other)
Parameters
otherSimulationRun.Types.Job.Types.Usage
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.