Class TimeOnlyValue

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll
public sealed class TimeOnlyValue : IMessage<TimeOnlyValue>, IEquatable<TimeOnlyValue>, IDeepCloneable<TimeOnlyValue>, IBufferMessage, IMessage
Inheritance
TimeOnlyValue
Implements
IMessage<TimeOnlyValue>
IDeepCloneable<TimeOnlyValue>
IBufferMessage
IMessage
Inherited Members

Constructors

TimeOnlyValue()

public TimeOnlyValue()

TimeOnlyValue(TimeOnlyValue)

public TimeOnlyValue(TimeOnlyValue other)

Parameters

other TimeOnlyValue

Fields

Iso8601TimeOnlyFormatFieldNumber

Field number for the "iso8601_time_only_format" field.

public const int Iso8601TimeOnlyFormatFieldNumber = 3

Field Value

int

MillisecondsOfDayFieldNumber

Field number for the "milliseconds_of_day" field.

public const int MillisecondsOfDayFieldNumber = 1

Field Value

int

TimeOnlyComponentsFieldNumber

Field number for the "time_only_components" field.

public const int TimeOnlyComponentsFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasIso8601TimeOnlyFormat

Gets whether the "iso8601_time_only_format" field is set

public bool HasIso8601TimeOnlyFormat { get; }

Property Value

bool

HasMillisecondsOfDay

Gets whether the "milliseconds_of_day" field is set

public bool HasMillisecondsOfDay { get; }

Property Value

bool

Iso8601TimeOnlyFormat

public string Iso8601TimeOnlyFormat { get; set; }

Property Value

string

MillisecondsOfDay

milliseconds_of_day values are restricted from 00:00:00 (0) representing midnight to 23:59:59 (86399999).

public uint MillisecondsOfDay { get; set; }

Property Value

uint

Parser

public static MessageParser<TimeOnlyValue> Parser { get; }

Property Value

MessageParser<TimeOnlyValue>

TimeOnlyComponents

public TimeOnlyComponents TimeOnlyComponents { get; set; }

Property Value

TimeOnlyComponents

TimeOnlyFormatCase

public TimeOnlyValue.TimeOnlyFormatOneofCase TimeOnlyFormatCase { get; }

Property Value

TimeOnlyValue.TimeOnlyFormatOneofCase

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearIso8601TimeOnlyFormat()

Clears the value of the oneof if it's currently set to "iso8601_time_only_format"

public void ClearIso8601TimeOnlyFormat()

ClearMillisecondsOfDay()

Clears the value of the oneof if it's currently set to "milliseconds_of_day"

public void ClearMillisecondsOfDay()

ClearTimeOnlyFormat()

public void ClearTimeOnlyFormat()

Clone()

public TimeOnlyValue Clone()

Returns

TimeOnlyValue

Equals(TimeOnlyValue)

public bool Equals(TimeOnlyValue other)

Parameters

other TimeOnlyValue

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(TimeOnlyValue)

public void MergeFrom(TimeOnlyValue other)

Parameters

other TimeOnlyValue

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