InsightsTranscriptionResult
extends Message
in package
Generated from protobuf message <code>plugnmeet.InsightsTranscriptionResult</code>
Table of Contents
Properties
- $allowed_transcription_storage : mixed
- Generated from protobuf field <code>bool allowed_transcription_storage = 6;</code>
- $from_user_id : mixed
- Generated from protobuf field <code>string from_user_id = 1;</code>
- $from_user_name : mixed
- Generated from protobuf field <code>string from_user_name = 2;</code>
- $is_partial : mixed
- Generated from protobuf field <code>bool is_partial = 5;</code>
- $lang : mixed
- Generated from protobuf field <code>string lang = 3;</code>
- $text : mixed
- Generated from protobuf field <code>string text = 4;</code>
- $translations : mixed
- A map of target language -> translated text
Methods
- __construct() : mixed
- Constructor.
- getAllowedTranscriptionStorage() : bool
- Generated from protobuf field <code>bool allowed_transcription_storage = 6;</code>
- getFromUserId() : string
- Generated from protobuf field <code>string from_user_id = 1;</code>
- getFromUserName() : string
- Generated from protobuf field <code>string from_user_name = 2;</code>
- getIsPartial() : bool
- Generated from protobuf field <code>bool is_partial = 5;</code>
- getLang() : string
- Generated from protobuf field <code>string lang = 3;</code>
- getText() : string
- Generated from protobuf field <code>string text = 4;</code>
- getTranslations() : MapField
- A map of target language -> translated text
- setAllowedTranscriptionStorage() : $this
- Generated from protobuf field <code>bool allowed_transcription_storage = 6;</code>
- setFromUserId() : $this
- Generated from protobuf field <code>string from_user_id = 1;</code>
- setFromUserName() : $this
- Generated from protobuf field <code>string from_user_name = 2;</code>
- setIsPartial() : $this
- Generated from protobuf field <code>bool is_partial = 5;</code>
- setLang() : $this
- Generated from protobuf field <code>string lang = 3;</code>
- setText() : $this
- Generated from protobuf field <code>string text = 4;</code>
- setTranslations() : $this
- A map of target language -> translated text
Properties
$allowed_transcription_storage
Generated from protobuf field <code>bool allowed_transcription_storage = 6;</code>
protected
mixed
$allowed_transcription_storage
= false
$from_user_id
Generated from protobuf field <code>string from_user_id = 1;</code>
protected
mixed
$from_user_id
= ''
$from_user_name
Generated from protobuf field <code>string from_user_name = 2;</code>
protected
mixed
$from_user_name
= ''
$is_partial
Generated from protobuf field <code>bool is_partial = 5;</code>
protected
mixed
$is_partial
= false
$lang
Generated from protobuf field <code>string lang = 3;</code>
protected
mixed
$lang
= ''
$text
Generated from protobuf field <code>string text = 4;</code>
protected
mixed
$text
= ''
$translations
A map of target language -> translated text
private
mixed
$translations
Generated from protobuf field map<string, string> translations = 7;
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 $from_user_id @type string $from_user_name @type string $lang @type string $text @type bool $is_partial @type bool $allowed_transcription_storage @type array|\Google\Protobuf\Internal\MapField $translations A map of target language -> translated text}
getAllowedTranscriptionStorage()
Generated from protobuf field <code>bool allowed_transcription_storage = 6;</code>
public
getAllowedTranscriptionStorage() : bool
Return values
boolgetFromUserId()
Generated from protobuf field <code>string from_user_id = 1;</code>
public
getFromUserId() : string
Return values
stringgetFromUserName()
Generated from protobuf field <code>string from_user_name = 2;</code>
public
getFromUserName() : string
Return values
stringgetIsPartial()
Generated from protobuf field <code>bool is_partial = 5;</code>
public
getIsPartial() : bool
Return values
boolgetLang()
Generated from protobuf field <code>string lang = 3;</code>
public
getLang() : string
Return values
stringgetText()
Generated from protobuf field <code>string text = 4;</code>
public
getText() : string
Return values
stringgetTranslations()
A map of target language -> translated text
public
getTranslations() : MapField
Generated from protobuf field map<string, string> translations = 7;
Return values
MapFieldsetAllowedTranscriptionStorage()
Generated from protobuf field <code>bool allowed_transcription_storage = 6;</code>
public
setAllowedTranscriptionStorage(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetFromUserId()
Generated from protobuf field <code>string from_user_id = 1;</code>
public
setFromUserId(string $var) : $this
Parameters
- $var : string
Return values
$thissetFromUserName()
Generated from protobuf field <code>string from_user_name = 2;</code>
public
setFromUserName(string $var) : $this
Parameters
- $var : string
Return values
$thissetIsPartial()
Generated from protobuf field <code>bool is_partial = 5;</code>
public
setIsPartial(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetLang()
Generated from protobuf field <code>string lang = 3;</code>
public
setLang(string $var) : $this
Parameters
- $var : string
Return values
$thissetText()
Generated from protobuf field <code>string text = 4;</code>
public
setText(string $var) : $this
Parameters
- $var : string
Return values
$thissetTranslations()
A map of target language -> translated text
public
setTranslations(array<string|int, mixed>|MapField $var) : $this
Generated from protobuf field map<string, string> translations = 7;
Parameters
- $var : array<string|int, mixed>|MapField