Class GetAndLockResponse
Inheritance
GetAndLockResponse
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class GetAndLockResponse : IMessage<GetAndLockResponse>, IEquatable<GetAndLockResponse>, IDeepCloneable<GetAndLockResponse>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
GetAndLockResponse()
Declaration
public GetAndLockResponse()
|
Edit this page
View Source
GetAndLockResponse(GetAndLockResponse)
Declaration
public GetAndLockResponse(GetAndLockResponse other)
Parameters
Fields
|
Edit this page
View Source
CasFieldNumber
Field number for the "cas" field.
Declaration
public const int CasFieldNumber = 3
Field Value
|
Edit this page
View Source
ContentFieldNumber
Field number for the "content" field.
Declaration
public const int ContentFieldNumber = 1
Field Value
|
Edit this page
View Source
ContentFlagsFieldNumber
Field number for the "content_flags" field.
Declaration
public const int ContentFlagsFieldNumber = 6
Field Value
|
Edit this page
View Source
ExpiryFieldNumber
Field number for the "expiry" field.
Declaration
public const int ExpiryFieldNumber = 4
Field Value
Properties
|
Edit this page
View Source
Cas
Declaration
public ulong Cas { get; set; }
Property Value
|
Edit this page
View Source
Content
Declaration
public ByteString Content { get; set; }
Property Value
Type |
Description |
ByteString |
|
|
Edit this page
View Source
ContentFlags
Declaration
public uint ContentFlags { 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
Expiry
Declaration
public Timestamp Expiry { get; set; }
Property Value
Type |
Description |
Timestamp |
|
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<GetAndLockResponse> Parser { get; }
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
Clone()
Creates a deep clone of this object.
Declaration
public GetAndLockResponse Clone()
Returns
|
Edit this page
View Source
Equals(GetAndLockResponse)
Declaration
public bool Equals(GetAndLockResponse 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(GetAndLockResponse)
Merges the given message into this one.
Declaration
public void MergeFrom(GetAndLockResponse other)
Parameters
Remarks
|
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