google.api.servicecontrol.v1.CheckResponse.ConsumerInfo */ class ConsumerInfo extends \Google\Protobuf\Internal\Message { /** * The Google cloud project number, e.g. 1234567890. A value of 0 indicates * no project number is found. * * Generated from protobuf field int64 project_number = 1; */ private $project_number = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $project_number * The Google cloud project number, e.g. 1234567890. A value of 0 indicates * no project number is found. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Api\Servicecontrol\V1\ServiceController::initOnce(); parent::__construct($data); } /** * The Google cloud project number, e.g. 1234567890. A value of 0 indicates * no project number is found. * * Generated from protobuf field int64 project_number = 1; * @return int|string */ public function getProjectNumber() { return $this->project_number; } /** * The Google cloud project number, e.g. 1234567890. A value of 0 indicates * no project number is found. * * Generated from protobuf field int64 project_number = 1; * @param int|string $var * @return $this */ public function setProjectNumber($var) { GPBUtil::checkInt64($var); $this->project_number = $var; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ConsumerInfo::class, \Google\Api\Servicecontrol\V1\CheckResponse_ConsumerInfo::class);