Documentation

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 = ''

$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
bool

getFromUserId()

Generated from protobuf field <code>string from_user_id = 1;</code>

public getFromUserId() : string
Return values
string

getFromUserName()

Generated from protobuf field <code>string from_user_name = 2;</code>

public getFromUserName() : string
Return values
string

getIsPartial()

Generated from protobuf field <code>bool is_partial = 5;</code>

public getIsPartial() : bool
Return values
bool

getLang()

Generated from protobuf field <code>string lang = 3;</code>

public getLang() : string
Return values
string

getText()

Generated from protobuf field <code>string text = 4;</code>

public getText() : string
Return values
string

getTranslations()

A map of target language -> translated text

public getTranslations() : MapField

Generated from protobuf field map<string, string> translations = 7;

Return values
MapField

setAllowedTranscriptionStorage()

Generated from protobuf field <code>bool allowed_transcription_storage = 6;</code>

public setAllowedTranscriptionStorage(bool $var) : $this
Parameters
$var : bool
Return values
$this

setFromUserId()

Generated from protobuf field <code>string from_user_id = 1;</code>

public setFromUserId(string $var) : $this
Parameters
$var : string
Return values
$this

setFromUserName()

Generated from protobuf field <code>string from_user_name = 2;</code>

public setFromUserName(string $var) : $this
Parameters
$var : string
Return values
$this

setIsPartial()

Generated from protobuf field <code>bool is_partial = 5;</code>

public setIsPartial(bool $var) : $this
Parameters
$var : bool
Return values
$this

setLang()

Generated from protobuf field <code>string lang = 3;</code>

public setLang(string $var) : $this
Parameters
$var : string
Return values
$this

setText()

Generated from protobuf field <code>string text = 4;</code>

public setText(string $var) : $this
Parameters
$var : string
Return values
$this

setTranslations()

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
Return values
$this

        
On this page

Search results