HookCondition
extends Message
in package
Generated from protobuf message <code>couchbase.internal.hooks.v1.HookCondition</code>
Table of Contents
- $left : mixed
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef left = 1;</code>
- $op : mixed
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ComparisonOperator op = 2;</code>
- $right : mixed
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef right = 3;</code>
- __construct() : mixed
- Constructor.
- clearLeft() : mixed
- clearRight() : mixed
- getLeft() : ValueRef|null
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef left = 1;</code>
- getOp() : int
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ComparisonOperator op = 2;</code>
- getRight() : ValueRef|null
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef right = 3;</code>
- hasLeft() : mixed
- hasRight() : mixed
- setLeft() : $this
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef left = 1;</code>
- setOp() : $this
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ComparisonOperator op = 2;</code>
- setRight() : $this
- Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef right = 3;</code>
Properties
$left
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef left = 1;</code>
protected
mixed
$left
= null
$op
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ComparisonOperator op = 2;</code>
protected
mixed
$op
= 0
$right
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef right = 3;</code>
protected
mixed
$right
= null
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 \Couchbase\Protostellar\Generated\Internal\Hooks\V1\ValueRef $left @type int $op @type \Couchbase\Protostellar\Generated\Internal\Hooks\V1\ValueRef $right
}
Return values
mixed —clearLeft()
public
clearLeft() : mixed
Return values
mixed —clearRight()
public
clearRight() : mixed
Return values
mixed —getLeft()
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef left = 1;</code>
public
getLeft() : ValueRef|null
Return values
ValueRef|null —getOp()
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ComparisonOperator op = 2;</code>
public
getOp() : int
Return values
int —getRight()
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef right = 3;</code>
public
getRight() : ValueRef|null
Return values
ValueRef|null —hasLeft()
public
hasLeft() : mixed
Return values
mixed —hasRight()
public
hasRight() : mixed
Return values
mixed —setLeft()
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef left = 1;</code>
public
setLeft(ValueRef $var) : $this
Parameters
- $var : ValueRef
Return values
$this —setOp()
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ComparisonOperator op = 2;</code>
public
setOp(int $var) : $this
Parameters
- $var : int
Return values
$this —setRight()
Generated from protobuf field <code>.couchbase.internal.hooks.v1.ValueRef right = 3;</code>
public
setRight(ValueRef $var) : $this
Parameters
- $var : ValueRef