Documentation

SpeechToTextTranslationReq extends Message
in package

Generated from protobuf message <code>plugnmeet.SpeechToTextTranslationReq</code>

Table of Contents

Properties

$default_subtitle_lang  : mixed
Generated from protobuf field <code>optional string default_subtitle_lang = 8;</code>
$is_enabled  : mixed
Generated from protobuf field <code>bool is_enabled = 3;</code>
$is_enabled_translation  : mixed
Generated from protobuf field <code>bool is_enabled_translation = 6;</code>
$room_id  : mixed
Generated from protobuf field <code>string room_id = 1;</code>
$allowed_speech_langs  : mixed
Generated from protobuf field <code>repeated string allowed_speech_langs = 4;</code>
$allowed_speech_users  : mixed
Generated from protobuf field <code>repeated string allowed_speech_users = 5;</code>
$allowed_trans_langs  : mixed
Generated from protobuf field <code>repeated string allowed_trans_langs = 7;</code>

Methods

__construct()  : mixed
Constructor.
clearDefaultSubtitleLang()  : mixed
getAllowedSpeechLangs()  : RepeatedField<string|int, string>
Generated from protobuf field <code>repeated string allowed_speech_langs = 4;</code>
getAllowedSpeechUsers()  : RepeatedField<string|int, string>
Generated from protobuf field <code>repeated string allowed_speech_users = 5;</code>
getAllowedTransLangs()  : RepeatedField<string|int, string>
Generated from protobuf field <code>repeated string allowed_trans_langs = 7;</code>
getDefaultSubtitleLang()  : string
Generated from protobuf field <code>optional string default_subtitle_lang = 8;</code>
getIsEnabled()  : bool
Generated from protobuf field <code>bool is_enabled = 3;</code>
getIsEnabledTranslation()  : bool
Generated from protobuf field <code>bool is_enabled_translation = 6;</code>
getRoomId()  : string
Generated from protobuf field <code>string room_id = 1;</code>
hasDefaultSubtitleLang()  : mixed
setAllowedSpeechLangs()  : $this
Generated from protobuf field <code>repeated string allowed_speech_langs = 4;</code>
setAllowedSpeechUsers()  : $this
Generated from protobuf field <code>repeated string allowed_speech_users = 5;</code>
setAllowedTransLangs()  : $this
Generated from protobuf field <code>repeated string allowed_trans_langs = 7;</code>
setDefaultSubtitleLang()  : $this
Generated from protobuf field <code>optional string default_subtitle_lang = 8;</code>
setIsEnabled()  : $this
Generated from protobuf field <code>bool is_enabled = 3;</code>
setIsEnabledTranslation()  : $this
Generated from protobuf field <code>bool is_enabled_translation = 6;</code>
setRoomId()  : $this
Generated from protobuf field <code>string room_id = 1;</code>

Properties

$default_subtitle_lang

Generated from protobuf field <code>optional string default_subtitle_lang = 8;</code>

protected mixed $default_subtitle_lang = null

$is_enabled_translation

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

protected mixed $is_enabled_translation = false

$allowed_speech_langs

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

private mixed $allowed_speech_langs

$allowed_speech_users

Generated from protobuf field <code>repeated string allowed_speech_users = 5;</code>

private mixed $allowed_speech_users

$allowed_trans_langs

Generated from protobuf field <code>repeated string allowed_trans_langs = 7;</code>

private mixed $allowed_trans_langs

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 $room_id
@type bool $is_enabled
@type string[] $allowed_speech_langs
@type string[] $allowed_speech_users
@type bool $is_enabled_translation
@type string[] $allowed_trans_langs
@type string $default_subtitle_lang

}

getAllowedSpeechLangs()

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

public getAllowedSpeechLangs() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>

getAllowedSpeechUsers()

Generated from protobuf field <code>repeated string allowed_speech_users = 5;</code>

public getAllowedSpeechUsers() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>

getAllowedTransLangs()

Generated from protobuf field <code>repeated string allowed_trans_langs = 7;</code>

public getAllowedTransLangs() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>

getDefaultSubtitleLang()

Generated from protobuf field <code>optional string default_subtitle_lang = 8;</code>

public getDefaultSubtitleLang() : string
Return values
string

getIsEnabled()

Generated from protobuf field <code>bool is_enabled = 3;</code>

public getIsEnabled() : bool
Return values
bool

getIsEnabledTranslation()

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

public getIsEnabledTranslation() : bool
Return values
bool

getRoomId()

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

public getRoomId() : string
Return values
string

setAllowedSpeechLangs()

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

public setAllowedSpeechLangs(array<string|int, string> $var) : $this
Parameters
$var : array<string|int, string>
Return values
$this

setAllowedSpeechUsers()

Generated from protobuf field <code>repeated string allowed_speech_users = 5;</code>

public setAllowedSpeechUsers(array<string|int, string> $var) : $this
Parameters
$var : array<string|int, string>
Return values
$this

setAllowedTransLangs()

Generated from protobuf field <code>repeated string allowed_trans_langs = 7;</code>

public setAllowedTransLangs(array<string|int, string> $var) : $this
Parameters
$var : array<string|int, string>
Return values
$this

setDefaultSubtitleLang()

Generated from protobuf field <code>optional string default_subtitle_lang = 8;</code>

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

setIsEnabled()

Generated from protobuf field <code>bool is_enabled = 3;</code>

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

setIsEnabledTranslation()

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

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

setRoomId()

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

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

        
On this page

Search results