Inheritance
System.Object
ResponseHeader
Assembly: cs.temp.dll.dll
public sealed class ResponseHeader : Google.Protobuf.IMessage<ResponseHeader>
Constructors
Declaration
Declaration
public ResponseHeader(ResponseHeader other)
Parameters
Fields
Field number for the "cluster_id" field.
Declaration
public const int ClusterIdFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Field number for the "member_id" field.
Declaration
public const int MemberIdFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Field number for the "raft_term" field.
Declaration
public const int RaftTermFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
Field number for the "revision" field.
Declaration
public const int RevisionFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Properties
cluster_id is the ID of the cluster which sent the response.
Declaration
public ulong ClusterId { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
member_id is the ID of the member which sent the response.
Declaration
public ulong MemberId { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
Declaration
public static Google.Protobuf.MessageParser<ResponseHeader> Parser { get; }
Property Value
raft_term is the raft term when the request was applied.
Declaration
public ulong RaftTerm { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
revision is the key-value store revision when the request was applied.
Declaration
public long Revision { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public ResponseHeader Clone()
Returns
Declaration
public bool Equals(ResponseHeader other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void MergeFrom(ResponseHeader other)
Parameters
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|