Class Event
Assembly: etcd.v3.dll
Syntax
public sealed class Event : IMessage<Event>, IEquatable<Event>, IDeepCloneable<Event>, IBufferMessage, IMessage
Constructors
View Source
Event()
Declaration
View Source
Event(Event)
Declaration
public Event(Event other)
Parameters
Type |
Name |
Description |
Event |
other |
|
Fields
View Source
KvFieldNumber
Declaration
public const int KvFieldNumber = 2
Field Value
View Source
PrevKvFieldNumber
Declaration
public const int PrevKvFieldNumber = 3
Field Value
View Source
TypeFieldNumber
Declaration
public const int TypeFieldNumber = 1
Field Value
Properties
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
View Source
Kv
Declaration
public KeyValue Kv { get; set; }
Property Value
View Source
Parser
Declaration
public static MessageParser<Event> Parser { get; }
Property Value
View Source
PrevKv
Declaration
public KeyValue PrevKv { get; set; }
Property Value
View Source
Type
Declaration
public Event.Types.EventType Type { get; set; }
Property Value
Methods
View Source
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
Type |
Description |
int |
The number of bytes required to write this message
to a coded output stream.
|
View Source
Clone()
Creates a deep clone of this object.
Declaration
Returns
Type |
Description |
Event |
A deep clone of this object.
|
View Source
Equals(Event)
Declaration
public bool Equals(Event other)
Parameters
Type |
Name |
Description |
Event |
other |
|
Returns
View Source
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
View Source
MergeFrom(Event)
Merges the given message into this one.
Declaration
public void MergeFrom(Event other)
Parameters
Type |
Name |
Description |
Event |
other |
|
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
View Source
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type |
Name |
Description |
CodedOutputStream |
output |
Coded output stream to write the data to. Must not be null.
|
Implements