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/RomanizeTextResponse.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; /** * The response message for synchronous romanization. * * Generated from protobuf message <code>google.cloud.translation.v3.RomanizeTextResponse</code> */ class RomanizeTextResponse extends \Google\Protobuf\Internal\Message { /** * Text romanization responses. * This field has the same length as * [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents]. * * Generated from protobuf field <code>repeated .google.cloud.translation.v3.Romanization romanizations = 1;</code> */ private $romanizations; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type array<\Google\Cloud\Translate\V3\Romanization>|\Google\Protobuf\Internal\RepeatedField $romanizations * Text romanization responses. * This field has the same length as * [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents]. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Translate\V3\TranslationService::initOnce(); parent::__construct($data); } /** * Text romanization responses. * This field has the same length as * [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents]. * * Generated from protobuf field <code>repeated .google.cloud.translation.v3.Romanization romanizations = 1;</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getRomanizations() { return $this->romanizations; } /** * Text romanization responses. * This field has the same length as * [`contents`][google.cloud.translation.v3.RomanizeTextRequest.contents]. * * Generated from protobuf field <code>repeated .google.cloud.translation.v3.Romanization romanizations = 1;</code> * @param array<\Google\Cloud\Translate\V3\Romanization>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setRomanizations($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Translate\V3\Romanization::class); $this->romanizations = $arr; return $this; } }
Copyright ©2021 || Defacer Indonesia