public function setBuckets($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\BucketingConfig_Bucket::class);
        $this->buckets = $arr;

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

        return $this;
    }
public function setBuckets ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dlp \ V2 \ BucketingConfig_Bucket :: class ) ; $ this -> buckets = $ arr ; return $ this ; }
Set of buckets. Ranges must be non-overlapping.

Generated from protobuf field <code>repeated .google.privacy.dlp.v2.BucketingConfig.Bucket buckets = 1;</code>
@param \Google\Cloud\Dlp\V2\BucketingConfig_Bucket[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Set of buckets . Ranges must be non - overlapping .