# Functions
WithLegacySupport provides a protovalidate.ValidatorOption that transparently upgrades legacy constraints defined for protoc-gen-validate to be compatible with protovalidate.
# Constants
ModeIfNotPresent uses the translated legacy constraints only if no standard constraints are present on the message, oneof, or field.
ModeMerge merges any existing standard constraints into the translated legacy constraints.
ModeReplace replaces all existing standard constraints on the message, oneof, or field with the translated legacy constraints.
# Type aliases
Mode determines the behavior of how the validator uses the legacy constraints relative to existing standard constraints.