Documentation

HookAction extends Message
in package

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

Table of Contents

$action  : mixed
__construct()  : mixed
Constructor.
getAction()  : string
getCounter()  : Counter|null
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.Counter counter = 2;</code>
getExecute()  : Execute|null
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.Execute execute = 7;</code>
getIf()  : PBIf|null
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.If if = 1;</code>
getReturnError()  : ReturnError|null
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnError return_error = 6;</code>
getReturnResponse()  : ReturnResponse|null
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnResponse return_response = 5;</code>
getSignalBarrier()  : SignalBarrier|null
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.SignalBarrier signal_barrier = 4;</code>
getWaitOnBarrier()  : WaitOnBarrier|null
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.WaitOnBarrier wait_on_barrier = 3;</code>
hasCounter()  : mixed
hasExecute()  : mixed
hasIf()  : mixed
hasReturnError()  : mixed
hasReturnResponse()  : mixed
hasSignalBarrier()  : mixed
hasWaitOnBarrier()  : mixed
setCounter()  : $this
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.Counter counter = 2;</code>
setExecute()  : $this
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.Execute execute = 7;</code>
setIf()  : $this
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.If if = 1;</code>
setReturnError()  : $this
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnError return_error = 6;</code>
setReturnResponse()  : $this
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnResponse return_response = 5;</code>
setSignalBarrier()  : $this
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.SignalBarrier signal_barrier = 4;</code>
setWaitOnBarrier()  : $this
Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.WaitOnBarrier wait_on_barrier = 3;</code>

Properties

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\HookAction\PBIf $if
@type \Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction\Counter $counter
@type \Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction\WaitOnBarrier $wait_on_barrier
@type \Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction\SignalBarrier $signal_barrier
@type \Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction\ReturnResponse $return_response
@type \Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction\ReturnError $return_error
@type \Couchbase\Protostellar\Generated\Internal\Hooks\V1\HookAction\Execute $execute

}

Return values
mixed

getAction()

public getAction() : string
Return values
string

getCounter()

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

public getCounter() : Counter|null
Return values
Counter|null

getExecute()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.Execute execute = 7;</code>

public getExecute() : Execute|null
Return values
Execute|null

getIf()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.If if = 1;</code>

public getIf() : PBIf|null
Return values
PBIf|null

getReturnError()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnError return_error = 6;</code>

public getReturnError() : ReturnError|null
Return values
ReturnError|null

getReturnResponse()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnResponse return_response = 5;</code>

public getReturnResponse() : ReturnResponse|null
Return values
ReturnResponse|null

getSignalBarrier()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.SignalBarrier signal_barrier = 4;</code>

public getSignalBarrier() : SignalBarrier|null
Return values
SignalBarrier|null

getWaitOnBarrier()

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

public getWaitOnBarrier() : WaitOnBarrier|null
Return values
WaitOnBarrier|null

hasCounter()

public hasCounter() : mixed
Return values
mixed

hasExecute()

public hasExecute() : mixed
Return values
mixed

hasIf()

public hasIf() : mixed
Return values
mixed

hasReturnError()

public hasReturnError() : mixed
Return values
mixed

hasReturnResponse()

public hasReturnResponse() : mixed
Return values
mixed

hasSignalBarrier()

public hasSignalBarrier() : mixed
Return values
mixed

hasWaitOnBarrier()

public hasWaitOnBarrier() : mixed
Return values
mixed

setCounter()

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

public setCounter(Counter $var) : $this
Parameters
$var : Counter
Return values
$this

setExecute()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.Execute execute = 7;</code>

public setExecute(Execute $var) : $this
Parameters
$var : Execute
Return values
$this

setIf()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.If if = 1;</code>

public setIf(PBIf $var) : $this
Parameters
$var : PBIf
Return values
$this

setReturnError()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnError return_error = 6;</code>

public setReturnError(ReturnError $var) : $this
Parameters
$var : ReturnError
Return values
$this

setReturnResponse()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.ReturnResponse return_response = 5;</code>

public setReturnResponse(ReturnResponse $var) : $this
Parameters
$var : ReturnResponse
Return values
$this

setSignalBarrier()

Generated from protobuf field <code>.couchbase.internal.hooks.v1.HookAction.SignalBarrier signal_barrier = 4;</code>

public setSignalBarrier(SignalBarrier $var) : $this
Parameters
$var : SignalBarrier
Return values
$this

setWaitOnBarrier()

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

public setWaitOnBarrier(WaitOnBarrier $var) : $this
Parameters
$var : WaitOnBarrier
Return values
$this

        

Search results