Dlp/src/V2/CustomInfoType.php
public function setSurrogateType($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType_SurrogateType::class);
        $this->writeOneof(4, $var);

        return $this;
    }
public function setSurrogateType($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType_SurrogateType::class);
        $this->writeOneof(4, $var);

        return $this;
    }
public function setSurrogateType ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ CustomInfoType_SurrogateType :: class ) ; $ this -> writeOneof ( 4 , $ var ) ; return $ this ; }
Message for detecting output from deidentification transformations that
support reversing.

Generated from protobuf field <code>.google.privacy.dlp.v2.CustomInfoType.SurrogateType surrogate_type = 4;</code>
@param \Google\Cloud\Dlp\V2\CustomInfoType\SurrogateType $var
@return $this
Message for detecting output from deidentification transformations that support reversing .