Ydb.Scripting.ExplainYqlResult
*/
class ExplainYqlResult extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field map parameters_types = 1;
*/
private $parameters_types;
/**
* Generated from protobuf field string plan = 2;
*/
protected $plan = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type array|\Google\Protobuf\Internal\MapField $parameters_types
* @type string $plan
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Protos\YdbScripting::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field map parameters_types = 1;
* @return \Google\Protobuf\Internal\MapField
*/
public function getParametersTypes()
{
return $this->parameters_types;
}
/**
* Generated from protobuf field map parameters_types = 1;
* @param array|\Google\Protobuf\Internal\MapField $var
* @return $this
*/
public function setParametersTypes($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Ydb\Type::class);
$this->parameters_types = $arr;
return $this;
}
/**
* Generated from protobuf field string plan = 2;
* @return string
*/
public function getPlan()
{
return $this->plan;
}
/**
* Generated from protobuf field string plan = 2;
* @param string $var
* @return $this
*/
public function setPlan($var)
{
GPBUtil::checkString($var, True);
$this->plan = $var;
return $this;
}
}