Class RangeResponse
Inheritance
System.Object
RangeResponse
Assembly: cs.temp.dll.dll
Syntax
public sealed class RangeResponse : Google.Protobuf.IMessage<RangeResponse>
Constructors
RangeResponse()
Declaration
RangeResponse(RangeResponse)
Declaration
public RangeResponse(RangeResponse other)
Parameters
Fields
CountFieldNumber
Field number for the "count" field.
Declaration
public const int CountFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
Field number for the "header" field.
Declaration
public const int HeaderFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
KvsFieldNumber
Field number for the "kvs" field.
Declaration
public const int KvsFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
MoreFieldNumber
Field number for the "more" field.
Declaration
public const int MoreFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
Properties
Count
count is set to the number of keys within the range when requested.
Declaration
public long Count { 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
Kvs
kvs is the list of key-value pairs matched by the range request.
kvs is empty when count is requested.
Declaration
public Google.Protobuf.Collections.RepeatedField<KeyValue> Kvs { get; }
Property Value
Type |
Description |
Google.Protobuf.Collections.RepeatedField<KeyValue> |
|
More
more indicates if there are more keys to return in the requested range.
Declaration
public bool More { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<RangeResponse> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public RangeResponse Clone()
Returns
Equals(RangeResponse)
Declaration
public bool Equals(RangeResponse 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(RangeResponse)
Declaration
public void MergeFrom(RangeResponse 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 |
|