Class StatusResponse
Inheritance
System.Object
StatusResponse
Assembly: cs.temp.dll.dll
Syntax
public sealed class StatusResponse : Google.Protobuf.IMessage<StatusResponse>
Constructors
StatusResponse()
Declaration
StatusResponse(StatusResponse)
Declaration
public StatusResponse(StatusResponse other)
Parameters
Fields
DbSizeFieldNumber
Field number for the "dbSize" field.
Declaration
public const int DbSizeFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Field number for the "header" field.
Declaration
public const int HeaderFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
LeaderFieldNumber
Field number for the "leader" field.
Declaration
public const int LeaderFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
RaftIndexFieldNumber
Field number for the "raftIndex" field.
Declaration
public const int RaftIndexFieldNumber = 5
Field Value
Type |
Description |
System.Int32 |
|
RaftTermFieldNumber
Field number for the "raftTerm" field.
Declaration
public const int RaftTermFieldNumber = 6
Field Value
Type |
Description |
System.Int32 |
|
VersionFieldNumber
Field number for the "version" field.
Declaration
public const int VersionFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
DbSize
dbSize is the size of the backend database, in bytes, of the responding member.
Declaration
public long DbSize { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Declaration
public ResponseHeader Header { get; set; }
Property Value
Leader
leader is the member ID which the responding member believes is the current leader.
Declaration
public ulong Leader { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<StatusResponse> Parser { get; }
Property Value
RaftIndex
raftIndex is the current raft index of the responding member.
Declaration
public ulong RaftIndex { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
RaftTerm
raftTerm is the current raft term of the responding member.
Declaration
public ulong RaftTerm { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
Version
version is the cluster protocol version used by the responding member.
Declaration
public string Version { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public StatusResponse Clone()
Returns
Equals(StatusResponse)
Declaration
public bool Equals(StatusResponse other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
MergeFrom(StatusResponse)
Declaration
public void MergeFrom(StatusResponse other)
Parameters
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|