Package build.buf.protovalidate
Class Config.Builder
java.lang.Object
build.buf.protovalidate.Config.Builder
- Enclosing class:
Config
Builder for configuration. Provides a forward compatible API for users.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the correspondingConfig.setDisableLazy(boolean disableLazy) Set the configuration for disabling lazy evaluation.setFailFast(boolean failFast) Set the configuration for failing fast.
-
Method Details
-
setFailFast
Set the configuration for failing fast.- Parameters:
failFast- the boolean for enabling- Returns:
- this builder
-
setDisableLazy
Set the configuration for disabling lazy evaluation.- Parameters:
disableLazy- the boolean for enabling- Returns:
- this builder
-
build
Build the correspondingConfig.- Returns:
- the configuration.
-