Class AlarmMember
Assembly: etcd.v3.dll
Syntax
public sealed class AlarmMember : IMessage<AlarmMember>, IEquatable<AlarmMember>, IDeepCloneable<AlarmMember>, IBufferMessage, IMessage
Constructors
View Source
AlarmMember()
Declaration
View Source
AlarmMember(AlarmMember)
Declaration
public AlarmMember(AlarmMember other)
Parameters
Fields
View Source
AlarmFieldNumber
Declaration
public const int AlarmFieldNumber = 2
Field Value
View Source
MemberIDFieldNumber
Declaration
public const int MemberIDFieldNumber = 1
Field Value
Properties
View Source
Alarm
Declaration
public AlarmType Alarm { get; set; }
Property Value
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
View Source
MemberID
Declaration
public ulong MemberID { get; set; }
Property Value
View Source
Parser
Declaration
public static MessageParser<AlarmMember> Parser { get; }
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
public AlarmMember Clone()
Returns
Type |
Description |
AlarmMember |
A deep clone of this object.
|
View Source
Equals(AlarmMember)
Declaration
public bool Equals(AlarmMember other)
Parameters
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
MergeFrom(AlarmMember)
Merges the given message into this one.
Declaration
public void MergeFrom(AlarmMember other)
Parameters
View Source
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
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