Ydb.Auth.LoginResult */ class LoginResult extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string token = 1; */ protected $token = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $token * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbAuth::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string token = 1; * @return string */ public function getToken() { return $this->token; } /** * Generated from protobuf field string token = 1; * @param string $var * @return $this */ public function setToken($var) { GPBUtil::checkString($var, True); $this->token = $var; return $this; } }