InsightsTranslateTextReq
extends Message
in package
Generated from protobuf message <code>plugnmeet.InsightsTranslateTextReq</code>
Table of Contents
Properties
- $source_lang : mixed
- Generated from protobuf field <code>string source_lang = 2;</code>
- $text : mixed
- Generated from protobuf field <code>string text = 1;</code>
- $target_langs : mixed
- Generated from protobuf field <code>repeated string target_langs = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- getSourceLang() : string
- Generated from protobuf field <code>string source_lang = 2;</code>
- getTargetLangs() : RepeatedField<string|int, string>
- Generated from protobuf field <code>repeated string target_langs = 3;</code>
- getText() : string
- Generated from protobuf field <code>string text = 1;</code>
- setSourceLang() : $this
- Generated from protobuf field <code>string source_lang = 2;</code>
- setTargetLangs() : $this
- Generated from protobuf field <code>repeated string target_langs = 3;</code>
- setText() : $this
- Generated from protobuf field <code>string text = 1;</code>
Properties
$source_lang
Generated from protobuf field <code>string source_lang = 2;</code>
protected
mixed
$source_lang
= ''
$text
Generated from protobuf field <code>string text = 1;</code>
protected
mixed
$text
= ''
$target_langs
Generated from protobuf field <code>repeated string target_langs = 3;</code>
private
mixed
$target_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 $text @type string $source_lang @type string[] $target_langs}
getSourceLang()
Generated from protobuf field <code>string source_lang = 2;</code>
public
getSourceLang() : string
Return values
stringgetTargetLangs()
Generated from protobuf field <code>repeated string target_langs = 3;</code>
public
getTargetLangs() : RepeatedField<string|int, string>
Return values
RepeatedField<string|int, string>getText()
Generated from protobuf field <code>string text = 1;</code>
public
getText() : string
Return values
stringsetSourceLang()
Generated from protobuf field <code>string source_lang = 2;</code>
public
setSourceLang(string $var) : $this
Parameters
- $var : string
Return values
$thissetTargetLangs()
Generated from protobuf field <code>repeated string target_langs = 3;</code>
public
setTargetLangs(array<string|int, string> $var) : $this
Parameters
- $var : array<string|int, string>
Return values
$thissetText()
Generated from protobuf field <code>string text = 1;</code>
public
setText(string $var) : $this
Parameters
- $var : string