Class QueryResponse.Types.MetaData
Inheritance
QueryResponse.Types.MetaData
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
public sealed class QueryResponse.Types.MetaData : IMessage<QueryResponse.Types.MetaData>, IEquatable<QueryResponse.Types.MetaData>, IDeepCloneable<QueryResponse.Types.MetaData>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
Declaration
|
Edit this page
View Source
Declaration
public MetaData(QueryResponse.Types.MetaData other)
Parameters
Fields
|
Edit this page
View Source
ClientContextIdFieldNumber
Field number for the "client_context_id" field.
Declaration
public const int ClientContextIdFieldNumber = 2
Field Value
|
Edit this page
View Source
Field number for the "metrics" field.
Declaration
public const int MetricsFieldNumber = 3
Field Value
|
Edit this page
View Source
Field number for the "profile" field.
Declaration
public const int ProfileFieldNumber = 6
Field Value
|
Edit this page
View Source
Field number for the "request_id" field.
Declaration
public const int RequestIdFieldNumber = 1
Field Value
|
Edit this page
View Source
Field number for the "signature" field.
Declaration
public const int SignatureFieldNumber = 7
Field Value
|
Edit this page
View Source
Field number for the "status" field.
Declaration
public const int StatusFieldNumber = 4
Field Value
|
Edit this page
View Source
Field number for the "warnings" field.
Declaration
public const int WarningsFieldNumber = 5
Field Value
Properties
|
Edit this page
View Source
ClientContextId
Declaration
public string ClientContextId { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
Gets whether the "profile" field is set
Declaration
public bool HasProfile { get; }
Property Value
|
Edit this page
View Source
Declaration
public QueryResponse.Types.MetaData.Types.Metrics Metrics { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public static MessageParser<QueryResponse.Types.MetaData> Parser { get; }
Property Value
|
Edit this page
View Source
Declaration
public ByteString Profile { get; set; }
Property Value
Type |
Description |
ByteString |
|
|
Edit this page
View Source
Declaration
public string RequestId { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public ByteString Signature { get; set; }
Property Value
Type |
Description |
ByteString |
|
|
Edit this page
View Source
Declaration
public QueryResponse.Types.MetaData.Types.Status Status { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public RepeatedField<QueryResponse.Types.MetaData.Types.Warning> Warnings { get; }
Property Value
Methods
|
Edit this page
View Source
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
Clears the value of the "profile" field
Declaration
public void ClearProfile()
|
Edit this page
View Source
Creates a deep clone of this object.
Declaration
public QueryResponse.Types.MetaData Clone()
Returns
|
Edit this page
View Source
Declaration
public bool Equals(QueryResponse.Types.MetaData other)
Parameters
Returns
|
Edit this page
View Source
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
Merges the given message into this one.
Declaration
public void MergeFrom(QueryResponse.Types.MetaData 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
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
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