123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: protos/ydb_cms.proto
- namespace Ydb\Cms;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * Generated from protobuf message <code>Ydb.Cms.DatabaseOptions</code>
- */
- class DatabaseOptions extends \Google\Protobuf\Internal\Message
- {
- /**
- * Do not initialize services required for transactions processing.
- *
- * Generated from protobuf field <code>bool disable_tx_service = 1;</code>
- */
- protected $disable_tx_service = false;
- /**
- * Old-style database, do not create external schemeshard for database
- *
- * Generated from protobuf field <code>bool disable_external_subdomain = 2;</code>
- */
- protected $disable_external_subdomain = false;
- /**
- * Transaction plan resolution in milliseconds
- *
- * Generated from protobuf field <code>uint32 plan_resolution = 3;</code>
- */
- 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 <code>bool disable_tx_service = 1;</code>
- * @return bool
- */
- public function getDisableTxService()
- {
- return $this->disable_tx_service;
- }
- /**
- * Do not initialize services required for transactions processing.
- *
- * Generated from protobuf field <code>bool disable_tx_service = 1;</code>
- * @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 <code>bool disable_external_subdomain = 2;</code>
- * @return bool
- */
- public function getDisableExternalSubdomain()
- {
- return $this->disable_external_subdomain;
- }
- /**
- * Old-style database, do not create external schemeshard for database
- *
- * Generated from protobuf field <code>bool disable_external_subdomain = 2;</code>
- * @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 <code>uint32 plan_resolution = 3;</code>
- * @return int
- */
- public function getPlanResolution()
- {
- return $this->plan_resolution;
- }
- /**
- * Transaction plan resolution in milliseconds
- *
- * Generated from protobuf field <code>uint32 plan_resolution = 3;</code>
- * @param int $var
- * @return $this
- */
- public function setPlanResolution($var)
- {
- GPBUtil::checkUint32($var);
- $this->plan_resolution = $var;
- return $this;
- }
- }
|