Class DurationComponents
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class DurationComponents : IMessage<DurationComponents>, IEquatable<DurationComponents>, IDeepCloneable<DurationComponents>, IBufferMessage, IMessage
- Inheritance
-
DurationComponents
- Implements
-
IMessage<DurationComponents>IDeepCloneable<DurationComponents>IBufferMessageIMessage
- Inherited Members
Constructors
DurationComponents()
public DurationComponents()
DurationComponents(DurationComponents)
public DurationComponents(DurationComponents other)
Parameters
otherDurationComponents
Fields
DaysFieldNumber
Field number for the "days" field.
public const int DaysFieldNumber = 2
Field Value
MillisecondsFieldNumber
Field number for the "milliseconds" field.
public const int MillisecondsFieldNumber = 4
Field Value
MonthsFieldNumber
Field number for the "months" field.
public const int MonthsFieldNumber = 1
Field Value
SecondsFieldNumber
Field number for the "seconds" field.
public const int SecondsFieldNumber = 3
Field Value
Properties
Days
The count of days spanning the duration.
public long Days { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Milliseconds
The count of milliseconds spanning the duration.
public long Milliseconds { get; set; }
Property Value
Months
The count of months spanning the duration.
public long Months { get; set; }
Property Value
Parser
public static MessageParser<DurationComponents> Parser { get; }
Property Value
- MessageParser<DurationComponents>
Seconds
The count of seconds spanning the duration.
public long Seconds { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public DurationComponents Clone()
Returns
Equals(DurationComponents)
public bool Equals(DurationComponents other)
Parameters
otherDurationComponents
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(DurationComponents)
public void MergeFrom(DurationComponents other)
Parameters
otherDurationComponents
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream