Cloud Translation V3 Client - Class RomanizeTextResponse (2.2.0)

Reference documentation and code samples for the Cloud Translation V3 Client class RomanizeTextResponse.

The response message for synchronous romanization.

Generated from protobuf message google.cloud.translation.v3.RomanizeTextResponse

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ romanizations array<Romanization>

Text romanization responses. This field has the same length as contents.

getRomanizations

Text romanization responses.

This field has the same length as contents.

Returns
Type Description
Google\Protobuf\RepeatedField<Romanization>

setRomanizations

Text romanization responses.

This field has the same length as contents.

Parameter
Name Description
var array<Romanization>
Returns
Type Description
$this