Class TimedVersion
public sealed class TimedVersion : IMessage<TimedVersion>, IEquatable<TimedVersion>, IDeepCloneable<TimedVersion>, IBufferMessage, IMessage
- Inheritance
-
TimedVersion
- Implements
-
IMessage<TimedVersion>IDeepCloneable<TimedVersion>IBufferMessageIMessage
- Inherited Members
Constructors
TimedVersion()
public TimedVersion()
TimedVersion(TimedVersion)
public TimedVersion(TimedVersion other)
Parameters
otherTimedVersion
Fields
TicksFieldNumber
Field number for the "ticks" field.
public const int TicksFieldNumber = 2
Field Value
UnixMicroFieldNumber
Field number for the "unix_micro" field.
public const int UnixMicroFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<TimedVersion> Parser { get; }
Property Value
- MessageParser<TimedVersion>
Ticks
public int Ticks { get; set; }
Property Value
UnixMicro
public long UnixMicro { 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 TimedVersion Clone()
Returns
- TimedVersion
A deep clone of this object.
Equals(TimedVersion)
public bool Equals(TimedVersion other)
Parameters
otherTimedVersion
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(TimedVersion)
Merges the given message into this one.
public void MergeFrom(TimedVersion other)
Parameters
otherTimedVersion
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.