implements IMessage`1, IMessage, IEquatable`1, IDeepCloneable`1, IBufferMessage, ICustomDiagnosticMessage, IComparable`1
0x00x0028
Members 12
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | _parser | MessageParser<Google.Protobuf.WellKnownTypes.Duration> | PrivateStatic+1 flags | — | |
| 0x08 | _unknownFields | UnknownFieldSet | Private | — | |
| — | 0x04 | SecondsFieldNumber | int | PublicStatic+1 flags | 324580320 |
| 0x08 | seconds_ | long | Private | — | |
| — | 0x04 | NanosFieldNumber | int | PublicStatic+1 flags | 324580320 |
| 0x04 | nanos_ | int | Private | — | |
| — | 0x04 | NanosecondsPerSecond | int | PublicStatic+1 flags | 324580320 |
| — | 0x04 | NanosecondsPerTick | int | PublicStatic+1 flags | 324580320 |
| — | 0x08 | MaxSeconds | long | PublicStatic+1 flags | 2006074307552 |
| — | 0x08 | MinSeconds | long | PublicStatic+1 flags | 2006074307552 |
| — | 0x04 | MaxNanoseconds | int | Static+2 flags | 324580320 |
| — | 0x04 | MinNanoseconds | int | Static+2 flags | 324580320 |
| 0x0024 | 0x04 | unreflected bytes to end of Duration | |||
Functions 32
| Signature | Flags | Native | Params |
|---|---|---|---|
| MessageParser<Google.Protobuf.WellKnownTypes.Duration> get_Parser() | PublicStatic+1 flags | — | 0x08 |
| MessageDescriptor get_Descriptor() | PublicStatic+1 flags | — | 0x08 |
| MessageDescriptor pb::Google.Protobuf.IMessage.get_Descriptor() | PrivateFinal+3 flags | — | 0x08 |
| void .ctor() | Public+1 flags | — | 0x00 |
| void .ctor(Duration other) | Public+1 flags | — | 0x08 |
| Duration Clone() | PublicFinal+2 flags | 0x08 | |
| long get_Seconds() | Public+1 flags | 0x08 | |
| void set_Seconds(long value) | Public+1 flags | 0x08 | |
| int get_Nanos() | Public+1 flags | 0x04 | |
| void set_Nanos(int value) | Public+1 flags | 0x04 | |
| bool Equals(object other) | Public+1 flags | 0x08 | |
| bool Equals(Duration other) | PublicFinal+2 flags | 0x08 | |
| int GetHashCode() | Public+1 flags | 0x04 | |
| string ToString() | Public+1 flags | 0x08 | |
| void WriteTo(CodedOutputStream output) | PublicFinal+2 flags | 0x08 | |
| void pb::Google.Protobuf.IBufferMessage.InternalWriteTo(ref WriteContext& output) | PrivateFinal+2 flags | 0x28 | |
| int CalculateSize() | PublicFinal+2 flags | 0x04 | |
| void MergeFrom(Duration other) | PublicFinal+2 flags | 0x08 | |
| void MergeFrom(CodedInputStream input) | PublicFinal+2 flags | 0x08 | |
| void pb::Google.Protobuf.IBufferMessage.InternalMergeFrom(ref ParseContext& input) | PrivateFinal+2 flags | 0x90 | |
| bool IsNormalized(long seconds, int nanoseconds) | Static+1 flags | 0x08 | |
| TimeSpan ToTimeSpan() | Public | 0x08 | |
| Duration FromTimeSpan(const TimeSpan& timeSpan) | PublicStatic | 0x08 | |
| Duration op_UnaryNegation(Duration value) | PublicStatic+1 flags | 0x08 | |
| Duration op_Addition(Duration lhs, Duration rhs) | PublicStatic+1 flags | 0x08 | |
| Duration op_Subtraction(Duration lhs, Duration rhs) | PublicStatic+1 flags | 0x08 | |
| Duration Normalize(long seconds, int nanoseconds) | Static+1 flags | 0x08 | |
| string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) | Static+1 flags | 0x08 | |
| string ToDiagnosticString() | PublicFinal+2 flags | 0x08 | |
| void AppendNanoseconds(StringBuilder builder, int nanos) | Static+1 flags | 0x08 | |
| int CompareTo(Duration other) | PublicFinal+2 flags | 0x08 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |