Class WatchRoutingResponse
Inheritance
WatchRoutingResponse
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class WatchRoutingResponse : IMessage<WatchRoutingResponse>, IEquatable<WatchRoutingResponse>, IDeepCloneable<WatchRoutingResponse>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
WatchRoutingResponse()
Declaration
public WatchRoutingResponse()
|
Edit this page
View Source
WatchRoutingResponse(WatchRoutingResponse)
Declaration
public WatchRoutingResponse(WatchRoutingResponse other)
Parameters
Fields
|
Edit this page
View Source
EndpointsFieldNumber
Field number for the "endpoints" field.
Declaration
public const int EndpointsFieldNumber = 2
Field Value
|
Edit this page
View Source
QueryRoutingFieldNumber
Field number for the "query_routing" field.
Declaration
public const int QueryRoutingFieldNumber = 4
Field Value
|
Edit this page
View Source
RevisionFieldNumber
Field number for the "revision" field.
Declaration
public const int RevisionFieldNumber = 1
Field Value
|
Edit this page
View Source
VbucketDataRoutingFieldNumber
Field number for the "vbucket_data_routing" field.
Declaration
public const int VbucketDataRoutingFieldNumber = 3
Field Value
|
Edit this page
View Source
ViewsRoutingFieldNumber
Field number for the "views_routing" field.
Declaration
public const int ViewsRoutingFieldNumber = 5
Field Value
Properties
|
Edit this page
View Source
DataRoutingCase
Declaration
public WatchRoutingResponse.DataRoutingOneofCase DataRoutingCase { get; }
Property Value
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
Endpoints
Represents a complete list of all endpoints that are available for this
cluster.
Declaration
public RepeatedField<RoutingEndpoint> Endpoints { get; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<WatchRoutingResponse> Parser { get; }
Property Value
|
Edit this page
View Source
QueryRouting
Declaration
public QueryRouting QueryRouting { get; set; }
Property Value
|
Edit this page
View Source
Revision
Represents the revision of this configuration. The revision not being
included indicates that this configuration is not versioned. Configuration
revisions can only be compared for responses from the same request values
(different buckets may have uniquely incremented revisions). Revision
comparison is done in order of the revision data, for instance we may have
[major, minor, patch]. Revisions may be any number of values long, and any
missing values should be assumed as 0 (except in the completely empty case,
where it is considered unused).
Declaration
public RepeatedField<ulong> Revision { get; }
Property Value
Type |
Description |
RepeatedField<ulong> |
|
|
Edit this page
View Source
VbucketDataRouting
Declaration
public VbucketDataRoutingStrategy VbucketDataRouting { get; set; }
Property Value
|
Edit this page
View Source
ViewsRouting
Declaration
public ViewsRouting ViewsRouting { 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
ClearDataRouting()
Declaration
public void ClearDataRouting()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
public WatchRoutingResponse Clone()
Returns
|
Edit this page
View Source
Equals(WatchRoutingResponse)
Declaration
public bool Equals(WatchRoutingResponse 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(WatchRoutingResponse)
Merges the given message into this one.
Declaration
public void MergeFrom(WatchRoutingResponse 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