VbucketDataRoutingStrategy
extends Message
in package
Generated from protobuf message <code>couchbase.routing.v1.VbucketDataRoutingStrategy</code>
Table of Contents
- $num_vbuckets : mixed
- Generated from protobuf field <code>uint32 num_vbuckets = 3;</code>
- $endpoints : mixed
- Generated from protobuf field <code>repeated .couchbase.routing.v1.DataRoutingEndpoint endpoints = 1;</code>
- __construct() : mixed
- Constructor.
- getEndpoints() : RepeatedField
- Generated from protobuf field <code>repeated .couchbase.routing.v1.DataRoutingEndpoint endpoints = 1;</code>
- getNumVbuckets() : int
- Generated from protobuf field <code>uint32 num_vbuckets = 3;</code>
- setEndpoints() : $this
- Generated from protobuf field <code>repeated .couchbase.routing.v1.DataRoutingEndpoint endpoints = 1;</code>
- setNumVbuckets() : $this
- Generated from protobuf field <code>uint32 num_vbuckets = 3;</code>
Properties
$num_vbuckets
Generated from protobuf field <code>uint32 num_vbuckets = 3;</code>
protected
mixed
$num_vbuckets
= 0
$endpoints
Generated from protobuf field <code>repeated .couchbase.routing.v1.DataRoutingEndpoint endpoints = 1;</code>
private
mixed
$endpoints
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type array<\Couchbase\Protostellar\Generated\Routing\V1\DataRoutingEndpoint>|\Google\Protobuf\Internal\RepeatedField $endpoints @type int $num_vbuckets
}
Return values
mixed —getEndpoints()
Generated from protobuf field <code>repeated .couchbase.routing.v1.DataRoutingEndpoint endpoints = 1;</code>
public
getEndpoints() : RepeatedField
Return values
RepeatedField —getNumVbuckets()
Generated from protobuf field <code>uint32 num_vbuckets = 3;</code>
public
getNumVbuckets() : int
Return values
int —setEndpoints()
Generated from protobuf field <code>repeated .couchbase.routing.v1.DataRoutingEndpoint endpoints = 1;</code>
public
setEndpoints(array<string|int, DataRoutingEndpoint>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, DataRoutingEndpoint>|RepeatedField
Return values
$this —setNumVbuckets()
Generated from protobuf field <code>uint32 num_vbuckets = 3;</code>
public
setNumVbuckets(int $var) : $this
Parameters
- $var : int