openstatus.status_page.v1.EmailChannel */ class EmailChannel extends \Google\Protobuf\Internal\Message { /** * Email address of the subscriber (required). * * Generated from protobuf field string email = 1 [json_name = "email", (.buf.validate.field) = { */ protected $email = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $email * Email address of the subscriber (required). * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\StatusPage\V1\Service::initOnce(); parent::__construct($data); } /** * Email address of the subscriber (required). * * Generated from protobuf field string email = 1 [json_name = "email", (.buf.validate.field) = { * @return string */ public function getEmail() { return $this->email; } /** * Email address of the subscriber (required). * * Generated from protobuf field string email = 1 [json_name = "email", (.buf.validate.field) = { * @param string $var * @return $this */ public function setEmail(string $var) { GPBUtil::checkString($var, true); $this->email = $var; return $this; } }