google.cloud.translation.v3.GcsDestination */ class GcsDestination extends \Google\Protobuf\Internal\Message { /** * Required. There must be no files under 'output_uri_prefix'. * 'output_uri_prefix' must end with "/" and start with "gs://", otherwise an * INVALID_ARGUMENT (400) error is returned. * * Generated from protobuf field string output_uri_prefix = 1; */ private $output_uri_prefix = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $output_uri_prefix * Required. There must be no files under 'output_uri_prefix'. * 'output_uri_prefix' must end with "/" and start with "gs://", otherwise an * INVALID_ARGUMENT (400) error is returned. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Translate\V3\TranslationService::initOnce(); parent::__construct($data); } /** * Required. There must be no files under 'output_uri_prefix'. * 'output_uri_prefix' must end with "/" and start with "gs://", otherwise an * INVALID_ARGUMENT (400) error is returned. * * Generated from protobuf field string output_uri_prefix = 1; * @return string */ public function getOutputUriPrefix() { return $this->output_uri_prefix; } /** * Required. There must be no files under 'output_uri_prefix'. * 'output_uri_prefix' must end with "/" and start with "gs://", otherwise an * INVALID_ARGUMENT (400) error is returned. * * Generated from protobuf field string output_uri_prefix = 1; * @param string $var * @return $this */ public function setOutputUriPrefix($var) { GPBUtil::checkString($var, True); $this->output_uri_prefix = $var; return $this; } }