GetAllReplicasResponse
extends Message
in package
Generated from protobuf message <code>couchbase.kv.v1.GetAllReplicasResponse</code>
Table of Contents
- $cas : mixed
- Generated from protobuf field <code>uint64 cas = 4;</code>
- $content : mixed
- Generated from protobuf field <code>bytes content = 2;</code>
- $content_flags : mixed
- Generated from protobuf field <code>uint32 content_flags = 3;</code>
- $is_replica : mixed
- Generated from protobuf field <code>bool is_replica = 1;</code>
- __construct() : mixed
- Constructor.
- getCas() : int|string
- Generated from protobuf field <code>uint64 cas = 4;</code>
- getContent() : string
- Generated from protobuf field <code>bytes content = 2;</code>
- getContentFlags() : int
- Generated from protobuf field <code>uint32 content_flags = 3;</code>
- getIsReplica() : bool
- Generated from protobuf field <code>bool is_replica = 1;</code>
- setCas() : $this
- Generated from protobuf field <code>uint64 cas = 4;</code>
- setContent() : $this
- Generated from protobuf field <code>bytes content = 2;</code>
- setContentFlags() : $this
- Generated from protobuf field <code>uint32 content_flags = 3;</code>
- setIsReplica() : $this
- Generated from protobuf field <code>bool is_replica = 1;</code>
Properties
$cas
Generated from protobuf field <code>uint64 cas = 4;</code>
protected
mixed
$cas
= 0
$content
Generated from protobuf field <code>bytes content = 2;</code>
protected
mixed
$content
= ''
$content_flags
Generated from protobuf field <code>uint32 content_flags = 3;</code>
protected
mixed
$content_flags
= 0
$is_replica
Generated from protobuf field <code>bool is_replica = 1;</code>
protected
mixed
$is_replica
= false
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 bool $is_replica @type string $content @type int $content_flags @type int|string $cas
}
Return values
mixed —getCas()
Generated from protobuf field <code>uint64 cas = 4;</code>
public
getCas() : int|string
Return values
int|string —getContent()
Generated from protobuf field <code>bytes content = 2;</code>
public
getContent() : string
Return values
string —getContentFlags()
Generated from protobuf field <code>uint32 content_flags = 3;</code>
public
getContentFlags() : int
Return values
int —getIsReplica()
Generated from protobuf field <code>bool is_replica = 1;</code>
public
getIsReplica() : bool
Return values
bool —setCas()
Generated from protobuf field <code>uint64 cas = 4;</code>
public
setCas(int|string $var) : $this
Parameters
- $var : int|string
Return values
$this —setContent()
Generated from protobuf field <code>bytes content = 2;</code>
public
setContent(string $var) : $this
Parameters
- $var : string
Return values
$this —setContentFlags()
Generated from protobuf field <code>uint32 content_flags = 3;</code>
public
setContentFlags(int $var) : $this
Parameters
- $var : int
Return values
$this —setIsReplica()
Generated from protobuf field <code>bool is_replica = 1;</code>
public
setIsReplica(bool $var) : $this
Parameters
- $var : bool