Class IncrementRequest
Inheritance
IncrementRequest
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class IncrementRequest : IMessage<IncrementRequest>, IEquatable<IncrementRequest>, IDeepCloneable<IncrementRequest>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
IncrementRequest()
Declaration
public IncrementRequest()
|
Edit this page
View Source
IncrementRequest(IncrementRequest)
Declaration
public IncrementRequest(IncrementRequest other)
Parameters
Fields
|
Edit this page
View Source
BucketNameFieldNumber
Field number for the "bucket_name" field.
Declaration
public const int BucketNameFieldNumber = 1
Field Value
|
Edit this page
View Source
CollectionNameFieldNumber
Field number for the "collection_name" field.
Declaration
public const int CollectionNameFieldNumber = 3
Field Value
|
Edit this page
View Source
DeltaFieldNumber
Field number for the "delta" field.
Declaration
public const int DeltaFieldNumber = 5
Field Value
|
Edit this page
View Source
DurabilityLevelFieldNumber
Field number for the "durability_level" field.
Declaration
public const int DurabilityLevelFieldNumber = 9
Field Value
|
Edit this page
View Source
ExpirySecsFieldNumber
Field number for the "expiry_secs" field.
Declaration
public const int ExpirySecsFieldNumber = 10
Field Value
|
Edit this page
View Source
ExpiryTimeFieldNumber
Field number for the "expiry_time" field.
Declaration
public const int ExpiryTimeFieldNumber = 6
Field Value
|
Edit this page
View Source
InitialFieldNumber
Field number for the "initial" field.
Declaration
public const int InitialFieldNumber = 7
Field Value
|
Edit this page
View Source
KeyFieldNumber
Field number for the "key" field.
Declaration
public const int KeyFieldNumber = 4
Field Value
|
Edit this page
View Source
ScopeNameFieldNumber
Field number for the "scope_name" field.
Declaration
public const int ScopeNameFieldNumber = 2
Field Value
Properties
|
Edit this page
View Source
BucketName
Declaration
public string BucketName { get; set; }
Property Value
|
Edit this page
View Source
CollectionName
Declaration
public string CollectionName { get; set; }
Property Value
|
Edit this page
View Source
Delta
Declaration
public ulong Delta { get; set; }
Property Value
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
DurabilityLevel
Declaration
public DurabilityLevel DurabilityLevel { get; set; }
Property Value
|
Edit this page
View Source
ExpiryCase
Declaration
public IncrementRequest.ExpiryOneofCase ExpiryCase { get; }
Property Value
|
Edit this page
View Source
ExpirySecs
Declaration
public uint ExpirySecs { get; set; }
Property Value
|
Edit this page
View Source
ExpiryTime
Declaration
public Timestamp ExpiryTime { get; set; }
Property Value
Type |
Description |
Timestamp |
|
|
Edit this page
View Source
HasDurabilityLevel
Gets whether the "durability_level" field is set
Declaration
public bool HasDurabilityLevel { get; }
Property Value
|
Edit this page
View Source
HasInitial
Gets whether the "initial" field is set
Declaration
public bool HasInitial { get; }
Property Value
|
Edit this page
View Source
Initial
Declaration
public long Initial { get; set; }
Property Value
|
Edit this page
View Source
Key
Declaration
public string Key { get; set; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<IncrementRequest> Parser { get; }
Property Value
|
Edit this page
View Source
ScopeName
Declaration
public string ScopeName { get; set; }
Property Value
Methods
|
Edit this page
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.
|
|
Edit this page
View Source
ClearDurabilityLevel()
Clears the value of the "durability_level" field
Declaration
public void ClearDurabilityLevel()
|
Edit this page
View Source
ClearExpiry()
Declaration
public void ClearExpiry()
|
Edit this page
View Source
ClearInitial()
Clears the value of the "initial" field
Declaration
public void ClearInitial()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
public IncrementRequest Clone()
Returns
|
Edit this page
View Source
Equals(IncrementRequest)
Declaration
public bool Equals(IncrementRequest other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
MergeFrom(IncrementRequest)
Merges the given message into this one.
Declaration
public void MergeFrom(IncrementRequest other)
Parameters
|
Edit this page
View Source
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type |
Name |
Description |
CodedInputStream |
input |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
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
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage