Hook
extends Message
in package
Generated from protobuf message <code>couchbase.internal.hooks.v1.Hook</code>
Table of Contents
- $description : mixed
- Generated from protobuf field <code>string description = 2;</code>
- $name : mixed
- Generated from protobuf field <code>string name = 1;</code>
- $target_method : mixed
- Generated from protobuf field <code>string target_method = 3;</code>
- $actions : mixed
- Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction actions = 4;</code>
- __construct() : mixed
- Constructor.
- getActions() : RepeatedField
- Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction actions = 4;</code>
- getDescription() : string
- Generated from protobuf field <code>string description = 2;</code>
- getName() : string
- Generated from protobuf field <code>string name = 1;</code>
- getTargetMethod() : string
- Generated from protobuf field <code>string target_method = 3;</code>
- setActions() : $this
- Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction actions = 4;</code>
- setDescription() : $this
- Generated from protobuf field <code>string description = 2;</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1;</code>
- setTargetMethod() : $this
- Generated from protobuf field <code>string target_method = 3;</code>
Properties
$description
Generated from protobuf field <code>string description = 2;</code>
protected
mixed
$description
= ''
$name
Generated from protobuf field <code>string name = 1;</code>
protected
mixed
$name
= ''
$target_method
Generated from protobuf field <code>string target_method = 3;</code>
protected
mixed
$target_method
= ''
$actions
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction actions = 4;</code>
private
mixed
$actions
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 string $name @type string $description @type string $target_method @type array<\Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction>|\Google\Protobuf\Internal\RepeatedField $actions
}
Return values
mixed —getActions()
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction actions = 4;</code>
public
getActions() : RepeatedField
Return values
RepeatedField —getDescription()
Generated from protobuf field <code>string description = 2;</code>
public
getDescription() : string
Return values
string —getName()
Generated from protobuf field <code>string name = 1;</code>
public
getName() : string
Return values
string —getTargetMethod()
Generated from protobuf field <code>string target_method = 3;</code>
public
getTargetMethod() : string
Return values
string —setActions()
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.HookAction actions = 4;</code>
public
setActions(array<string|int, HookAction>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, HookAction>|RepeatedField
Return values
$this —setDescription()
Generated from protobuf field <code>string description = 2;</code>
public
setDescription(string $var) : $this
Parameters
- $var : string
Return values
$this —setName()
Generated from protobuf field <code>string name = 1;</code>
public
setName(string $var) : $this
Parameters
- $var : string
Return values
$this —setTargetMethod()
Generated from protobuf field <code>string target_method = 3;</code>
public
setTargetMethod(string $var) : $this
Parameters
- $var : string