Class ValidatorFactory

java.lang.Object
build.buf.protovalidate.ValidatorFactory

public final class ValidatorFactory extends Object
ValidatorFactory is used to create a validator.

Validators can be created with an optional Config to customize behavior. They can also be created with a list of seed descriptors to warmup the validator cache ahead of time as well as an indicator to lazily-load any descriptors not provided into the cache.