Documentation

AddHooksRequest extends Message
in package

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

Table of Contents

$hooks_context_id  : mixed
Generated from protobuf field <code>string hooks_context_id = 1;</code>
$hooks  : mixed
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.Hook hooks = 2;</code>
__construct()  : mixed
Constructor.
getHooks()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.Hook hooks = 2;</code>
getHooksContextId()  : string
Generated from protobuf field <code>string hooks_context_id = 1;</code>
setHooks()  : $this
Generated from protobuf field <code>repeated .couchbase.internal.hooks.v1.Hook hooks = 2;</code>
setHooksContextId()  : $this
Generated from protobuf field <code>string hooks_context_id = 1;</code>

Properties

$hooks_context_id

Generated from protobuf field <code>string hooks_context_id = 1;</code>

protected mixed $hooks_context_id = ''

$hooks

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

private mixed $hooks

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 $hooks_context_id
@type array<\Couchbase\Protostellar\Generated\Internal\Hooks\V1\Hook>|\Google\Protobuf\Internal\RepeatedField $hooks

}

Return values
mixed

getHooks()

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

public getHooks() : RepeatedField
Return values
RepeatedField

getHooksContextId()

Generated from protobuf field <code>string hooks_context_id = 1;</code>

public getHooksContextId() : string
Return values
string

setHooks()

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

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

setHooksContextId()

Generated from protobuf field <code>string hooks_context_id = 1;</code>

public setHooksContextId(string $var) : $this
Parameters
$var : string
Return values
$this

        

Search results