Class VbucketDataRoutingStrategy
Implements
IMessage<VbucketDataRoutingStrategy>
IDeepCloneable<VbucketDataRoutingStrategy>
IBufferMessage
IMessage
Inherited Members
Namespace: Couchbase.Protostellar.Routing.V1
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class VbucketDataRoutingStrategy : IMessage<VbucketDataRoutingStrategy>, IEquatable<VbucketDataRoutingStrategy>, IDeepCloneable<VbucketDataRoutingStrategy>, IBufferMessage, IMessage
Constructors
| Edit this page View SourceVbucketDataRoutingStrategy()
Declaration
public VbucketDataRoutingStrategy()
VbucketDataRoutingStrategy(VbucketDataRoutingStrategy)
Declaration
public VbucketDataRoutingStrategy(VbucketDataRoutingStrategy other)
Parameters
Type | Name | Description |
---|---|---|
VbucketDataRoutingStrategy | other |
Fields
| Edit this page View SourceEndpointsFieldNumber
Field number for the "endpoints" field.
Declaration
public const int EndpointsFieldNumber = 1
Field Value
Type | Description |
---|---|
int |
NumVbucketsFieldNumber
Field number for the "num_vbuckets" field.
Declaration
public const int NumVbucketsFieldNumber = 3
Field Value
Type | Description |
---|---|
int |
Properties
| Edit this page View SourceDescriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
MessageDescriptor |
Endpoints
Declaration
public RepeatedField<DataRoutingEndpoint> Endpoints { get; }
Property Value
Type | Description |
---|---|
RepeatedField<DataRoutingEndpoint> |
NumVbuckets
Declaration
public uint NumVbuckets { get; set; }
Property Value
Type | Description |
---|---|
uint |
Parser
Declaration
public static MessageParser<VbucketDataRoutingStrategy> Parser { get; }
Property Value
Type | Description |
---|---|
MessageParser<VbucketDataRoutingStrategy> |
Methods
| Edit this page View SourceCalculateSize()
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. |
Clone()
Creates a deep clone of this object.
Declaration
public VbucketDataRoutingStrategy Clone()
Returns
Type | Description |
---|---|
VbucketDataRoutingStrategy | A deep clone of this object. |
Equals(VbucketDataRoutingStrategy)
Declaration
public bool Equals(VbucketDataRoutingStrategy other)
Parameters
Type | Name | Description |
---|---|---|
VbucketDataRoutingStrategy | other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
object | other |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceMergeFrom(VbucketDataRoutingStrategy)
Merges the given message into this one.
Declaration
public void MergeFrom(VbucketDataRoutingStrategy other)
Parameters
Type | Name | Description |
---|---|---|
VbucketDataRoutingStrategy | other |
Remarks
See the user guide for precise merge semantics.
MergeFrom(CodedInputStream)
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 |
Remarks
See the user guide for precise merge semantics.
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceWriteTo(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