Documentation

PBIf extends Message
in package

Generated from protobuf message <code>couchbase.internal.hooks.v1.HookAction.If</code>

Table of Contents

$cond  : mixed
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookCondition cond = 1;</code>
$match  : mixed
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction match = 2;</code>
$no_match  : mixed
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction no_match = 3;</code>
__construct()  : mixed
Constructor.
getCond()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookCondition cond = 1;</code>
getMatch()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction match = 2;</code>
getNoMatch()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction no_match = 3;</code>
setCond()  : $this
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookCondition cond = 1;</code>
setMatch()  : $this
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction match = 2;</code>
setNoMatch()  : $this
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction no_match = 3;</code>

Properties

$cond

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookCondition cond = 1;</code>

private mixed $cond

$match

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction match = 2;</code>

private mixed $match

$no_match

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction no_match = 3;</code>

private mixed $no_match

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\Internal\Hooks\V1\HookCondition>|\Google\Protobuf\Internal\RepeatedField $cond
@type array<\Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction>|\Google\Protobuf\Internal\RepeatedField $match
@type array<\Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction>|\Google\Protobuf\Internal\RepeatedField $no_match

}

Return values
mixed

getCond()

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookCondition cond = 1;</code>

public getCond() : RepeatedField
Return values
RepeatedField

getMatch()

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction match = 2;</code>

public getMatch() : RepeatedField
Return values
RepeatedField

getNoMatch()

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction no_match = 3;</code>

public getNoMatch() : RepeatedField
Return values
RepeatedField

setCond()

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookCondition cond = 1;</code>

public setCond(array<string|int, HookCondition>|RepeatedField $var) : $this
Parameters
$var : array<string|int, HookCondition>|RepeatedField
Return values
$this

setMatch()

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction match = 2;</code>

public setMatch(array<string|int, HookAction>|RepeatedField $var) : $this
Parameters
$var : array<string|int, HookAction>|RepeatedField
Return values
$this

setNoMatch()

Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction no_match = 3;</code>

public setNoMatch(array<string|int, HookAction>|RepeatedField $var) : $this
Parameters
$var : array<string|int, HookAction>|RepeatedField
Return values
$this

        

Search results