google.cloud.translation.v3.GcsSource
*/
class GcsSource extends \Google\Protobuf\Internal\Message
{
/**
* Required. Source data URI. For example, `gs://my_bucket/my_object`.
*
* Generated from protobuf field string input_uri = 1;
*/
private $input_uri = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $input_uri
* Required. Source data URI. For example, `gs://my_bucket/my_object`.
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Google\Cloud\Translate\V3\TranslationService::initOnce();
parent::__construct($data);
}
/**
* Required. Source data URI. For example, `gs://my_bucket/my_object`.
*
* Generated from protobuf field string input_uri = 1;
* @return string
*/
public function getInputUri()
{
return $this->input_uri;
}
/**
* Required. Source data URI. For example, `gs://my_bucket/my_object`.
*
* Generated from protobuf field string input_uri = 1;
* @param string $var
* @return $this
*/
public function setInputUri($var)
{
GPBUtil::checkString($var, True);
$this->input_uri = $var;
return $this;
}
}