Dlp/src/V2/StoredInfoType.php
public function setCurrentVersion($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\StoredInfoTypeVersion::class);
        $this->current_version = $var;

        return $this;
    }
public function setCurrentVersion($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\StoredInfoTypeVersion::class);
        $this->current_version = $var;

        return $this;
    }
public function setCurrentVersion ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ StoredInfoTypeVersion :: class ) ; $ this -> current_version = $ var ; return $ this ; }
Current version of the stored info type.

Generated from protobuf field <code>.google.privacy.dlp.v2.StoredInfoTypeVersion current_version = 2;</code>
@param \Google\Cloud\Dlp\V2\StoredInfoTypeVersion $var
@return $this
Current version of the stored info type .