InsightsAITextChatContent
extends Message
in package
Generated from protobuf message <code>plugnmeet.InsightsAITextChatContent</code>
Table of Contents
Properties
- $role : mixed
- Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
- $stream_id : mixed
- Generated from protobuf field <code>optional string stream_id = 3;</code>
- $text : mixed
- Generated from protobuf field <code>string text = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- clearStreamId() : mixed
- getRole() : int
- Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
- getStreamId() : string
- Generated from protobuf field <code>optional string stream_id = 3;</code>
- getText() : string
- Generated from protobuf field <code>string text = 2;</code>
- hasStreamId() : mixed
- setRole() : $this
- Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
- setStreamId() : $this
- Generated from protobuf field <code>optional string stream_id = 3;</code>
- setText() : $this
- Generated from protobuf field <code>string text = 2;</code>
Properties
$role
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
protected
mixed
$role
= 0
$stream_id
Generated from protobuf field <code>optional string stream_id = 3;</code>
protected
mixed
$stream_id
= null
$text
Generated from protobuf field <code>string text = 2;</code>
protected
mixed
$text
= ''
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 int $role @type string $text @type string $stream_id}
clearStreamId()
public
clearStreamId() : mixed
getRole()
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
public
getRole() : int
Return values
intgetStreamId()
Generated from protobuf field <code>optional string stream_id = 3;</code>
public
getStreamId() : string
Return values
stringgetText()
Generated from protobuf field <code>string text = 2;</code>
public
getText() : string
Return values
stringhasStreamId()
public
hasStreamId() : mixed
setRole()
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
public
setRole(int $var) : $this
Parameters
- $var : int
Return values
$thissetStreamId()
Generated from protobuf field <code>optional string stream_id = 3;</code>
public
setStreamId(string $var) : $this
Parameters
- $var : string
Return values
$thissetText()
Generated from protobuf field <code>string text = 2;</code>
public
setText(string $var) : $this
Parameters
- $var : string