api.CreateUserResponse */ class CreateUserResponse extends \Google\Protobuf\Internal\Message { /** * User ID. * * Generated from protobuf field string id = 1; */ protected $id = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * User ID. * } */ public function __construct($data = NULL) { \GPBMetadata\Chirpstack\Api\User::initOnce(); parent::__construct($data); } /** * User ID. * * Generated from protobuf field string id = 1; * @return string */ public function getId() { return $this->id; } /** * User ID. * * Generated from protobuf field string id = 1; * @param string $var * @return $this */ public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; } }