Ydb.Cms.DatabaseOptions */ class DatabaseOptions extends \Google\Protobuf\Internal\Message { /** * Do not initialize services required for transactions processing. * * Generated from protobuf field bool disable_tx_service = 1; */ protected $disable_tx_service = false; /** * Old-style database, do not create external schemeshard for database * * Generated from protobuf field bool disable_external_subdomain = 2; */ protected $disable_external_subdomain = false; /** * Transaction plan resolution in milliseconds * * Generated from protobuf field uint32 plan_resolution = 3; */ protected $plan_resolution = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $disable_tx_service * Do not initialize services required for transactions processing. * @type bool $disable_external_subdomain * Old-style database, do not create external schemeshard for database * @type int $plan_resolution * Transaction plan resolution in milliseconds * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbCms::initOnce(); parent::__construct($data); } /** * Do not initialize services required for transactions processing. * * Generated from protobuf field bool disable_tx_service = 1; * @return bool */ public function getDisableTxService() { return $this->disable_tx_service; } /** * Do not initialize services required for transactions processing. * * Generated from protobuf field bool disable_tx_service = 1; * @param bool $var * @return $this */ public function setDisableTxService($var) { GPBUtil::checkBool($var); $this->disable_tx_service = $var; return $this; } /** * Old-style database, do not create external schemeshard for database * * Generated from protobuf field bool disable_external_subdomain = 2; * @return bool */ public function getDisableExternalSubdomain() { return $this->disable_external_subdomain; } /** * Old-style database, do not create external schemeshard for database * * Generated from protobuf field bool disable_external_subdomain = 2; * @param bool $var * @return $this */ public function setDisableExternalSubdomain($var) { GPBUtil::checkBool($var); $this->disable_external_subdomain = $var; return $this; } /** * Transaction plan resolution in milliseconds * * Generated from protobuf field uint32 plan_resolution = 3; * @return int */ public function getPlanResolution() { return $this->plan_resolution; } /** * Transaction plan resolution in milliseconds * * Generated from protobuf field uint32 plan_resolution = 3; * @param int $var * @return $this */ public function setPlanResolution($var) { GPBUtil::checkUint32($var); $this->plan_resolution = $var; return $this; } }