MailInfo */ class MailInfo extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string mail_json_info = 1; */ protected $mail_json_info = ''; /** * Generated from protobuf field int32 mail_type = 2; */ protected $mail_type = 0; /** * Generated from protobuf field int32 check_status = 3; */ protected $check_status = 0; /** * Generated from protobuf field int32 receive_status = 4; */ protected $receive_status = 0; /** * Generated from protobuf field string create_time = 5; */ protected $create_time = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $mail_json_info * @type int $mail_type * @type int $check_status * @type int $receive_status * @type string $create_time * } */ public function __construct($data = NULL) { \GPBMetadata\Mail::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string mail_json_info = 1; * @return string */ public function getMailJsonInfo() { return $this->mail_json_info; } /** * Generated from protobuf field string mail_json_info = 1; * @param string $var * @return $this */ public function setMailJsonInfo($var) { GPBUtil::checkString($var, True); $this->mail_json_info = $var; return $this; } /** * Generated from protobuf field int32 mail_type = 2; * @return int */ public function getMailType() { return $this->mail_type; } /** * Generated from protobuf field int32 mail_type = 2; * @param int $var * @return $this */ public function setMailType($var) { GPBUtil::checkInt32($var); $this->mail_type = $var; return $this; } /** * Generated from protobuf field int32 check_status = 3; * @return int */ public function getCheckStatus() { return $this->check_status; } /** * Generated from protobuf field int32 check_status = 3; * @param int $var * @return $this */ public function setCheckStatus($var) { GPBUtil::checkInt32($var); $this->check_status = $var; return $this; } /** * Generated from protobuf field int32 receive_status = 4; * @return int */ public function getReceiveStatus() { return $this->receive_status; } /** * Generated from protobuf field int32 receive_status = 4; * @param int $var * @return $this */ public function setReceiveStatus($var) { GPBUtil::checkInt32($var); $this->receive_status = $var; return $this; } /** * Generated from protobuf field string create_time = 5; * @return string */ public function getCreateTime() { return $this->create_time; } /** * Generated from protobuf field string create_time = 5; * @param string $var * @return $this */ public function setCreateTime($var) { GPBUtil::checkString($var, True); $this->create_time = $var; return $this; } }