Dlp/src/V2/Location.php
public function setContentLocations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\ContentLocation::class);
        $this->content_locations = $arr;

        return $this;
    }
public function setContentLocations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\ContentLocation::class);
        $this->content_locations = $arr;

        return $this;
    }
public function setContentLocations ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dlp \ V2 \ ContentLocation :: class ) ; $ this -> content_locations = $ arr ; return $ this ; }
List of nested objects pointing to the precise location of the finding
within the file or record.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;</code>
@param \Google\Cloud\Dlp\V2\ContentLocation[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
List of nested objects pointing to the precise location of the finding within the file or record .