RoomAgentDispatch
extends Message
in package
Generated from protobuf message <code>livekit.RoomAgentDispatch</code>
Table of Contents
Properties
- $agent_name : mixed
- Generated from protobuf field <code>string agent_name = 1;</code>
- $deployment : mixed
- Generated from protobuf field <code>string deployment = 4;</code>
- $metadata : mixed
- Generated from protobuf field <code>string metadata = 2 [(.logger.redact) = true];</code>
- $restart_policy : mixed
- cloud only
Methods
- __construct() : mixed
- Constructor.
- getAgentName() : string
- Generated from protobuf field <code>string agent_name = 1;</code>
- getDeployment() : string
- Generated from protobuf field <code>string deployment = 4;</code>
- getMetadata() : string
- Generated from protobuf field <code>string metadata = 2 [(.logger.redact) = true];</code>
- getRestartPolicy() : int
- cloud only
- setAgentName() : $this
- Generated from protobuf field <code>string agent_name = 1;</code>
- setDeployment() : $this
- Generated from protobuf field <code>string deployment = 4;</code>
- setMetadata() : $this
- Generated from protobuf field <code>string metadata = 2 [(.logger.redact) = true];</code>
- setRestartPolicy() : $this
- cloud only
Properties
$agent_name
Generated from protobuf field <code>string agent_name = 1;</code>
protected
mixed
$agent_name
= ''
$deployment
Generated from protobuf field <code>string deployment = 4;</code>
protected
mixed
$deployment
= ''
$metadata
Generated from protobuf field <code>string metadata = 2 [(.logger.redact) = true];</code>
protected
mixed
$metadata
= ''
$restart_policy
cloud only
protected
mixed
$restart_policy
= 0
Generated from protobuf field .livekit.JobRestartPolicy restart_policy = 3;
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 $agent_name @type string $metadata @type int $restart_policy cloud only @type string $deployment}
getAgentName()
Generated from protobuf field <code>string agent_name = 1;</code>
public
getAgentName() : string
Return values
stringgetDeployment()
Generated from protobuf field <code>string deployment = 4;</code>
public
getDeployment() : string
Return values
stringgetMetadata()
Generated from protobuf field <code>string metadata = 2 [(.logger.redact) = true];</code>
public
getMetadata() : string
Return values
stringgetRestartPolicy()
cloud only
public
getRestartPolicy() : int
Generated from protobuf field .livekit.JobRestartPolicy restart_policy = 3;
Return values
intsetAgentName()
Generated from protobuf field <code>string agent_name = 1;</code>
public
setAgentName(string $var) : $this
Parameters
- $var : string
Return values
$thissetDeployment()
Generated from protobuf field <code>string deployment = 4;</code>
public
setDeployment(string $var) : $this
Parameters
- $var : string
Return values
$thissetMetadata()
Generated from protobuf field <code>string metadata = 2 [(.logger.redact) = true];</code>
public
setMetadata(string $var) : $this
Parameters
- $var : string
Return values
$thissetRestartPolicy()
cloud only
public
setRestartPolicy(int $var) : $this
Generated from protobuf field .livekit.JobRestartPolicy restart_policy = 3;
Parameters
- $var : int