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>IBufferMessageIMessage
- Inherited Members
Constructors
TimeOnlyValue()
public TimeOnlyValue()
TimeOnlyValue(TimeOnlyValue)
public TimeOnlyValue(TimeOnlyValue other)
Parameters
otherTimeOnlyValue
Fields
Iso8601TimeOnlyFormatFieldNumber
Field number for the "iso8601_time_only_format" field.
public const int Iso8601TimeOnlyFormatFieldNumber = 3
Field Value
MillisecondsOfDayFieldNumber
Field number for the "milliseconds_of_day" field.
public const int MillisecondsOfDayFieldNumber = 1
Field Value
TimeOnlyComponentsFieldNumber
Field number for the "time_only_components" field.
public const int TimeOnlyComponentsFieldNumber = 2
Field Value
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
HasMillisecondsOfDay
Gets whether the "milliseconds_of_day" field is set
public bool HasMillisecondsOfDay { get; }
Property Value
Iso8601TimeOnlyFormat
public string Iso8601TimeOnlyFormat { get; set; }
Property Value
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
Parser
public static MessageParser<TimeOnlyValue> Parser { get; }
Property Value
- MessageParser<TimeOnlyValue>
TimeOnlyComponents
public TimeOnlyComponents TimeOnlyComponents { get; set; }
Property Value
TimeOnlyFormatCase
public TimeOnlyValue.TimeOnlyFormatOneofCase TimeOnlyFormatCase { get; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(TimeOnlyValue)
public bool Equals(TimeOnlyValue other)
Parameters
otherTimeOnlyValue
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(TimeOnlyValue)
public void MergeFrom(TimeOnlyValue other)
Parameters
otherTimeOnlyValue
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream