InsightsAITextChatContent
extends Message
in package
Generated from protobuf message <code>plugnmeet.InsightsAITextChatContent</code>
Table of Contents
Properties
- $request_from : mixed
- Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
- $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.
- clearRequestFrom() : mixed
- clearStreamId() : mixed
- getRequestFrom() : int
- Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
- 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>
- hasRequestFrom() : mixed
- hasStreamId() : mixed
- setRequestFrom() : $this
- Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
- 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
$request_from
Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
protected
mixed
$request_from
= null
$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 @type int $request_from}
clearRequestFrom()
public
clearRequestFrom() : mixed
clearStreamId()
public
clearStreamId() : mixed
getRequestFrom()
Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
public
getRequestFrom() : int
Return values
int —one of the values in InsightsAIRequestSource
getRole()
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
public
getRole() : int
Return values
int —one of the values in InsightsAITextChatRole
getStreamId()
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
stringhasRequestFrom()
public
hasRequestFrom() : mixed
hasStreamId()
public
hasStreamId() : mixed
setRequestFrom()
Generated from protobuf field <code>optional .plugnmeet.InsightsAIRequestSource request_from = 4;</code>
public
setRequestFrom(int $var) : $this
Parameters
- $var : int
-
one of the values in InsightsAIRequestSource
Return values
$thissetRole()
Generated from protobuf field <code>.plugnmeet.InsightsAITextChatRole role = 1;</code>
public
setRole(int $var) : $this
Parameters
- $var : int
-
one of the values in InsightsAITextChatRole
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