Class Member
Assembly: etcd.v3.dll
Syntax
public sealed class Member : IMessage<Member>, IEquatable<Member>, IDeepCloneable<Member>, IBufferMessage, IMessage
Constructors
View Source
Member()
Declaration
View Source
Member(Member)
Declaration
public Member(Member other)
Parameters
Type |
Name |
Description |
Member |
other |
|
Fields
View Source
ClientURLsFieldNumber
Declaration
public const int ClientURLsFieldNumber = 4
Field Value
View Source
IDFieldNumber
Declaration
public const int IDFieldNumber = 1
Field Value
View Source
IsLearnerFieldNumber
Declaration
public const int IsLearnerFieldNumber = 5
Field Value
View Source
NameFieldNumber
Declaration
public const int NameFieldNumber = 2
Field Value
View Source
PeerURLsFieldNumber
Declaration
public const int PeerURLsFieldNumber = 3
Field Value
Properties
View Source
ClientURLs
Declaration
public RepeatedField<string> ClientURLs { get; }
Property Value
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
View Source
ID
Declaration
public ulong ID { get; set; }
Property Value
View Source
IsLearner
Declaration
public bool IsLearner { get; set; }
Property Value
View Source
Name
Declaration
public string Name { get; set; }
Property Value
View Source
Parser
Declaration
public static MessageParser<Member> Parser { get; }
Property Value
View Source
PeerURLs
Declaration
public RepeatedField<string> PeerURLs { 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
Returns
Type |
Description |
Member |
A deep clone of this object.
|
View Source
Equals(Member)
Declaration
public bool Equals(Member other)
Parameters
Type |
Name |
Description |
Member |
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
MergeFrom(Member)
Merges the given message into this one.
Declaration
public void MergeFrom(Member other)
Parameters
Type |
Name |
Description |
Member |
other |
|
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