GoogleCanaryServiceIntegration googleCanaryServiceIntegration = (GoogleCanaryServiceIntegration)s; new GoogleCanaryValidator().setHalyardVersion(halyardVersion).setRegistry(registry).validate(p, googleCanaryServiceIntegration);
.setRegistry(registry) .setTaskScheduler(taskScheduler) .validate(p, googleCanaryServiceIntegration);