Class TimestampOffsetValue
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class TimestampOffsetValue : IMessage<TimestampOffsetValue>, IEquatable<TimestampOffsetValue>, IDeepCloneable<TimestampOffsetValue>, IBufferMessage, IMessage
- Inheritance
-
TimestampOffsetValue
- Implements
-
IMessage<TimestampOffsetValue>IDeepCloneable<TimestampOffsetValue>IBufferMessageIMessage
- Inherited Members
Constructors
TimestampOffsetValue()
public TimestampOffsetValue()
TimestampOffsetValue(TimestampOffsetValue)
public TimestampOffsetValue(TimestampOffsetValue other)
Parameters
otherTimestampOffsetValue
Fields
DateTimeOffsetFieldNumber
Field number for the "date_time_offset" field.
public const int DateTimeOffsetFieldNumber = 1
Field Value
Iso8601DateFormatFieldNumber
Field number for the "iso8601_date_format" field.
public const int Iso8601DateFormatFieldNumber = 2
Field Value
Properties
DateTimeFormatCase
public TimestampOffsetValue.DateTimeFormatOneofCase DateTimeFormatCase { get; }
Property Value
DateTimeOffset
public DateTimeOffset DateTimeOffset { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasIso8601DateFormat
Gets whether the "iso8601_date_format" field is set
public bool HasIso8601DateFormat { get; }
Property Value
Iso8601DateFormat
public string Iso8601DateFormat { get; set; }
Property Value
Parser
public static MessageParser<TimestampOffsetValue> Parser { get; }
Property Value
- MessageParser<TimestampOffsetValue>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearDateTimeFormat()
public void ClearDateTimeFormat()
ClearIso8601DateFormat()
Clears the value of the oneof if it's currently set to "iso8601_date_format"
public void ClearIso8601DateFormat()
Clone()
public TimestampOffsetValue Clone()
Returns
Equals(TimestampOffsetValue)
public bool Equals(TimestampOffsetValue other)
Parameters
otherTimestampOffsetValue
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(TimestampOffsetValue)
public void MergeFrom(TimestampOffsetValue other)
Parameters
otherTimestampOffsetValue
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream