WatchRoutingResponse
extends Message
in package
Generated from protobuf message <code>couchbase.routing.v1.WatchRoutingResponse</code>
Table of Contents
- $data_routing : mixed
- $query_routing : mixed
- Generated from protobuf field <code>optional .couchbase.routing.v1.QueryRouting query_routing = 4;</code>
- $views_routing : mixed
- Generated from protobuf field <code>optional .couchbase.routing.v1.ViewsRouting views_routing = 5;</code>
- $endpoints : mixed
- Represents a complete list of all endpoints that are available for this cluster.
- $revision : mixed
- 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).
- __construct() : mixed
- Constructor.
- clearQueryRouting() : mixed
- clearViewsRouting() : mixed
- getDataRouting() : string
- getEndpoints() : RepeatedField
- Represents a complete list of all endpoints that are available for this cluster.
- getQueryRouting() : QueryRouting|null
- Generated from protobuf field <code>optional .couchbase.routing.v1.QueryRouting query_routing = 4;</code>
- getRevision() : RepeatedField
- 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).
- getVbucketDataRouting() : VbucketDataRoutingStrategy|null
- Generated from protobuf field <code>.couchbase.routing.v1.VbucketDataRoutingStrategy vbucket_data_routing = 3;</code>
- getViewsRouting() : ViewsRouting|null
- Generated from protobuf field <code>optional .couchbase.routing.v1.ViewsRouting views_routing = 5;</code>
- hasQueryRouting() : mixed
- hasVbucketDataRouting() : mixed
- hasViewsRouting() : mixed
- setEndpoints() : $this
- Represents a complete list of all endpoints that are available for this cluster.
- setQueryRouting() : $this
- Generated from protobuf field <code>optional .couchbase.routing.v1.QueryRouting query_routing = 4;</code>
- setRevision() : $this
- 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).
- setVbucketDataRouting() : $this
- Generated from protobuf field <code>.couchbase.routing.v1.VbucketDataRoutingStrategy vbucket_data_routing = 3;</code>
- setViewsRouting() : $this
- Generated from protobuf field <code>optional .couchbase.routing.v1.ViewsRouting views_routing = 5;</code>
Properties
$data_routing
protected
mixed
$data_routing
$query_routing
Generated from protobuf field <code>optional .couchbase.routing.v1.QueryRouting query_routing = 4;</code>
protected
mixed
$query_routing
= null
$views_routing
Generated from protobuf field <code>optional .couchbase.routing.v1.ViewsRouting views_routing = 5;</code>
protected
mixed
$views_routing
= null
$endpoints
Represents a complete list of all endpoints that are available for this cluster.
private
mixed
$endpoints
Generated from protobuf field repeated .couchbase.routing.v1.RoutingEndpoint endpoints = 2;
$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).
private
mixed
$revision
Generated from protobuf field repeated uint64 revision = 1;
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<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $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). @type array<\Couchbase\Protostellar\Generated\Routing\V1\RoutingEndpoint>|\Google\Protobuf\Internal\RepeatedField $endpoints Represents a complete list of all endpoints that are available for this cluster. @type \Couchbase\Protostellar\Generated\Routing\V1\VbucketDataRoutingStrategy $vbucket_data_routing @type \Couchbase\Protostellar\Generated\Routing\V1\QueryRouting $query_routing @type \Couchbase\Protostellar\Generated\Routing\V1\ViewsRouting $views_routing
}
Return values
mixed —clearQueryRouting()
public
clearQueryRouting() : mixed
Return values
mixed —clearViewsRouting()
public
clearViewsRouting() : mixed
Return values
mixed —getDataRouting()
public
getDataRouting() : string
Return values
string —getEndpoints()
Represents a complete list of all endpoints that are available for this cluster.
public
getEndpoints() : RepeatedField
Generated from protobuf field repeated .couchbase.routing.v1.RoutingEndpoint endpoints = 2;
Return values
RepeatedField —getQueryRouting()
Generated from protobuf field <code>optional .couchbase.routing.v1.QueryRouting query_routing = 4;</code>
public
getQueryRouting() : QueryRouting|null
Return values
QueryRouting|null —getRevision()
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).
public
getRevision() : RepeatedField
Generated from protobuf field repeated uint64 revision = 1;
Return values
RepeatedField —getVbucketDataRouting()
Generated from protobuf field <code>.couchbase.routing.v1.VbucketDataRoutingStrategy vbucket_data_routing = 3;</code>
public
getVbucketDataRouting() : VbucketDataRoutingStrategy|null
Return values
VbucketDataRoutingStrategy|null —getViewsRouting()
Generated from protobuf field <code>optional .couchbase.routing.v1.ViewsRouting views_routing = 5;</code>
public
getViewsRouting() : ViewsRouting|null
Return values
ViewsRouting|null —hasQueryRouting()
public
hasQueryRouting() : mixed
Return values
mixed —hasVbucketDataRouting()
public
hasVbucketDataRouting() : mixed
Return values
mixed —hasViewsRouting()
public
hasViewsRouting() : mixed
Return values
mixed —setEndpoints()
Represents a complete list of all endpoints that are available for this cluster.
public
setEndpoints(array<string|int, RoutingEndpoint>|RepeatedField $var) : $this
Generated from protobuf field repeated .couchbase.routing.v1.RoutingEndpoint endpoints = 2;
Parameters
- $var : array<string|int, RoutingEndpoint>|RepeatedField
Return values
$this —setQueryRouting()
Generated from protobuf field <code>optional .couchbase.routing.v1.QueryRouting query_routing = 4;</code>
public
setQueryRouting(QueryRouting $var) : $this
Parameters
- $var : QueryRouting
Return values
$this —setRevision()
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).
public
setRevision(array<string|int, int>|array<string|int, string>|RepeatedField $var) : $this
Generated from protobuf field repeated uint64 revision = 1;
Parameters
- $var : array<string|int, int>|array<string|int, string>|RepeatedField
Return values
$this —setVbucketDataRouting()
Generated from protobuf field <code>.couchbase.routing.v1.VbucketDataRoutingStrategy vbucket_data_routing = 3;</code>
public
setVbucketDataRouting(VbucketDataRoutingStrategy $var) : $this
Parameters
- $var : VbucketDataRoutingStrategy
Return values
$this —setViewsRouting()
Generated from protobuf field <code>optional .couchbase.routing.v1.ViewsRouting views_routing = 5;</code>
public
setViewsRouting(ViewsRouting $var) : $this
Parameters
- $var : ViewsRouting