Class SimulationRun.Types.Counts.Types.Response
public sealed class SimulationRun.Types.Counts.Types.Response : IMessage<SimulationRun.Types.Counts.Types.Response>, IEquatable<SimulationRun.Types.Counts.Types.Response>, IDeepCloneable<SimulationRun.Types.Counts.Types.Response>, IBufferMessage, IMessage
- Inheritance
-
SimulationRun.Types.Counts.Types.Response
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
Response()
public Response()
Response(Response)
public Response(SimulationRun.Types.Counts.Types.Response other)
Parameters
otherSimulationRun.Types.Counts.Types.Response
Fields
BucketsFieldNumber
Field number for the "buckets" field.
public const int BucketsFieldNumber = 1
Field Value
IntervalFieldNumber
Field number for the "interval" field.
public const int IntervalFieldNumber = 2
Field Value
Properties
Buckets
Buckets holding at least one run, ascending by bucket_start. Empty buckets are omitted; each run lands in exactly one bucket, so the counts sum to the number of runs in the window.
public RepeatedField<SimulationRun.Types.Counts.Types.Bucket> Buckets { get; }
Property Value
- RepeatedField<SimulationRun.Types.Counts.Types.Bucket>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Interval
The bucket width the server chose from the window, so the client zero-fills the omitted buckets on the grid the counts were built on.
public Duration Interval { get; set; }
Property Value
- Duration
Parser
public static MessageParser<SimulationRun.Types.Counts.Types.Response> Parser { get; }
Property Value
- MessageParser<SimulationRun.Types.Counts.Types.Response>
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.Counts.Types.Response Clone()
Returns
- SimulationRun.Types.Counts.Types.Response
A deep clone of this object.
Equals(Response)
public bool Equals(SimulationRun.Types.Counts.Types.Response other)
Parameters
otherSimulationRun.Types.Counts.Types.Response
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(Response)
Merges the given message into this one.
public void MergeFrom(SimulationRun.Types.Counts.Types.Response other)
Parameters
otherSimulationRun.Types.Counts.Types.Response
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.