whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
google
/
cloud-translate
/
src
/
V3
/
Upload File:
files >> //home/kckglobal/www/portal/vendor/google/cloud-translate/src/V3/Romanization.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/translate/v3/translation_service.proto namespace Google\Cloud\Translate\V3; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A single romanization response. * * Generated from protobuf message <code>google.cloud.translation.v3.Romanization</code> */ class Romanization extends \Google\Protobuf\Internal\Message { /** * Romanized text. * If an error occurs during romanization, this field might be excluded from * the response. * * Generated from protobuf field <code>string romanized_text = 1;</code> */ private $romanized_text = ''; /** * The ISO-639 language code of source text in the initial request, detected * automatically, if no source language was passed within the initial * request. If the source language was passed, auto-detection of the language * does not occur and this field is empty. * * Generated from protobuf field <code>string detected_language_code = 2;</code> */ private $detected_language_code = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $romanized_text * Romanized text. * If an error occurs during romanization, this field might be excluded from * the response. * @type string $detected_language_code * The ISO-639 language code of source text in the initial request, detected * automatically, if no source language was passed within the initial * request. If the source language was passed, auto-detection of the language * does not occur and this field is empty. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Translate\V3\TranslationService::initOnce(); parent::__construct($data); } /** * Romanized text. * If an error occurs during romanization, this field might be excluded from * the response. * * Generated from protobuf field <code>string romanized_text = 1;</code> * @return string */ public function getRomanizedText() { return $this->romanized_text; } /** * Romanized text. * If an error occurs during romanization, this field might be excluded from * the response. * * Generated from protobuf field <code>string romanized_text = 1;</code> * @param string $var * @return $this */ public function setRomanizedText($var) { GPBUtil::checkString($var, True); $this->romanized_text = $var; return $this; } /** * The ISO-639 language code of source text in the initial request, detected * automatically, if no source language was passed within the initial * request. If the source language was passed, auto-detection of the language * does not occur and this field is empty. * * Generated from protobuf field <code>string detected_language_code = 2;</code> * @return string */ public function getDetectedLanguageCode() { return $this->detected_language_code; } /** * The ISO-639 language code of source text in the initial request, detected * automatically, if no source language was passed within the initial * request. If the source language was passed, auto-detection of the language * does not occur and this field is empty. * * Generated from protobuf field <code>string detected_language_code = 2;</code> * @param string $var * @return $this */ public function setDetectedLanguageCode($var) { GPBUtil::checkString($var, True); $this->detected_language_code = $var; return $this; } }
Copyright ©2021 || Defacer Indonesia