Ydb.Export.ExportToS3Response
*/
class ExportToS3Response extends \Google\Protobuf\Internal\Message
{
/**
* operation.result = ExportToS3Result
* operation.metadata = ExportToS3Metadata
*
* Generated from protobuf field .Ydb.Operations.Operation operation = 1;
*/
protected $operation = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Ydb\Operations\Operation $operation
* operation.result = ExportToS3Result
* operation.metadata = ExportToS3Metadata
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbExport::initOnce();
parent::__construct($data);
}
/**
* operation.result = ExportToS3Result
* operation.metadata = ExportToS3Metadata
*
* Generated from protobuf field .Ydb.Operations.Operation operation = 1;
* @return \Ydb\Operations\Operation|null
*/
public function getOperation()
{
return $this->operation;
}
public function hasOperation()
{
return isset($this->operation);
}
public function clearOperation()
{
unset($this->operation);
}
/**
* operation.result = ExportToS3Result
* operation.metadata = ExportToS3Metadata
*
* Generated from protobuf field .Ydb.Operations.Operation operation = 1;
* @param \Ydb\Operations\Operation $var
* @return $this
*/
public function setOperation($var)
{
GPBUtil::checkMessage($var, \Ydb\Operations\Operation::class);
$this->operation = $var;
return $this;
}
}