Ydb.Discovery.WhoAmIRequest */ class WhoAmIRequest extends \Google\Protobuf\Internal\Message { /** * Include user groups in response * * Generated from protobuf field bool include_groups = 1; */ protected $include_groups = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $include_groups * Include user groups in response * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbDiscovery::initOnce(); parent::__construct($data); } /** * Include user groups in response * * Generated from protobuf field bool include_groups = 1; * @return bool */ public function getIncludeGroups() { return $this->include_groups; } /** * Include user groups in response * * Generated from protobuf field bool include_groups = 1; * @param bool $var * @return $this */ public function setIncludeGroups($var) { GPBUtil::checkBool($var); $this->include_groups = $var; return $this; } }