Class DeleteRangeRequest
Inheritance
System.Object
DeleteRangeRequest
Assembly: cs.temp.dll.dll
Syntax
public sealed class DeleteRangeRequest : Google.Protobuf.IMessage<DeleteRangeRequest>
Constructors
DeleteRangeRequest()
Declaration
public DeleteRangeRequest()
DeleteRangeRequest(DeleteRangeRequest)
Declaration
public DeleteRangeRequest(DeleteRangeRequest other)
Parameters
Fields
KeyFieldNumber
Field number for the "key" field.
Declaration
public const int KeyFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
PrevKvFieldNumber
Field number for the "prev_kv" field.
Declaration
public const int PrevKvFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
RangeEndFieldNumber
Field number for the "range_end" field.
Declaration
public const int RangeEndFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Key
key is the first key to delete in the range.
Declaration
public Google.Protobuf.ByteString Key { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<DeleteRangeRequest> Parser { get; }
Property Value
PrevKv
If prev_kv is set, etcd gets the previous key-value pairs before deleting it.
The previous key-value pairs will be returned in the delete response.
Declaration
public bool PrevKv { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
RangeEnd
range_end is the key following the last key to delete for the range [key, range_end).
If range_end is not given, the range is defined to contain only the key argument.
If range_end is one bit larger than the given key, then the range is all the keys
with the prefix (the given key).
If range_end is '\0', the range is all keys greater than or equal to the key argument.
Declaration
public Google.Protobuf.ByteString RangeEnd { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Clone()
Declaration
public DeleteRangeRequest Clone()
Returns
Equals(DeleteRangeRequest)
Declaration
public bool Equals(DeleteRangeRequest 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(DeleteRangeRequest)
Declaration
public void MergeFrom(DeleteRangeRequest 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 |
|