SecurityCenter/src/V1/Finding.php
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\SecurityCenter\V1\Finding_State::class);
        $this->state = $var;

        return $this;
    }
public function setState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\SecurityCenter\V1\Finding_State::class);
        $this->state = $var;

        return $this;
    }
public function setState ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ SecurityCenter \ V1 \ Finding_State :: class ) ; $ this -> state = $ var ; return $ this ; }
The state of the finding.

Generated from protobuf field <code>.google.cloud.securitycenter.v1.Finding.State state = 4;</code>
@param int $var
@return $this
The state of the finding .