Ydb.Table.ColumnMeta */ class ColumnMeta extends \Google\Protobuf\Internal\Message { /** * Name of column * * Generated from protobuf field string name = 1; */ protected $name = ''; /** * Type of column * * Generated from protobuf field .Ydb.Type type = 2; */ protected $type = null; /** * Column family name of the column * * Generated from protobuf field string family = 3; */ protected $family = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * Name of column * @type \Ydb\Type $type * Type of column * @type string $family * Column family name of the column * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbTable::initOnce(); parent::__construct($data); } /** * Name of column * * Generated from protobuf field string name = 1; * @return string */ public function getName() { return $this->name; } /** * Name of column * * Generated from protobuf field string name = 1; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Type of column * * Generated from protobuf field .Ydb.Type type = 2; * @return \Ydb\Type|null */ public function getType() { return $this->type; } public function hasType() { return isset($this->type); } public function clearType() { unset($this->type); } /** * Type of column * * Generated from protobuf field .Ydb.Type type = 2; * @param \Ydb\Type $var * @return $this */ public function setType($var) { GPBUtil::checkMessage($var, \Ydb\Type::class); $this->type = $var; return $this; } /** * Column family name of the column * * Generated from protobuf field string family = 3; * @return string */ public function getFamily() { return $this->family; } /** * Column family name of the column * * Generated from protobuf field string family = 3; * @param string $var * @return $this */ public function setFamily($var) { GPBUtil::checkString($var, True); $this->family = $var; return $this; } }