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