/** * Sets or replaces all elements for {@link Registration#getChecks() checks} list. * @param elements An iterable of checks elements * @return {@code this} builder for use in a chained invocation */ public final Builder checks(Iterable<? extends Registration.RegCheck> elements) { checksBuilder = ImmutableList.builder(); return addAllChecks(elements); }
check(checkOptional); addAllChecks(instance.getChecks()); addAllTags(instance.getTags()); putAllMeta(instance.getMeta());
builder.addAllChecks(json.checks);