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
IDeepCloneable<DurationComponents>
IBufferMessage
IMessage
Inherited Members

Constructors

DurationComponents()

public DurationComponents()

DurationComponents(DurationComponents)

public DurationComponents(DurationComponents other)

Parameters

other DurationComponents

Fields

DaysFieldNumber

Field number for the "days" field.

public const int DaysFieldNumber = 2

Field Value

int

MillisecondsFieldNumber

Field number for the "milliseconds" field.

public const int MillisecondsFieldNumber = 4

Field Value

int

MonthsFieldNumber

Field number for the "months" field.

public const int MonthsFieldNumber = 1

Field Value

int

SecondsFieldNumber

Field number for the "seconds" field.

public const int SecondsFieldNumber = 3

Field Value

int

Properties

Days

The count of days spanning the duration.

public long Days { get; set; }

Property Value

long

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Milliseconds

The count of milliseconds spanning the duration.

public long Milliseconds { get; set; }

Property Value

long

Months

The count of months spanning the duration.

public long Months { get; set; }

Property Value

long

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

long

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public DurationComponents Clone()

Returns

DurationComponents

Equals(DurationComponents)

public bool Equals(DurationComponents other)

Parameters

other DurationComponents

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(DurationComponents)

public void MergeFrom(DurationComponents other)

Parameters

other DurationComponents

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream