scalapb.validate.compiler
Type members
Classlikes
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Represents a generated function call that returns a Result.
Represents a generated function call that returns a Result.
funcName: fully qualified functin name. The function takes potentially the name (if needsName is true), then the value to be tested, then the list of args are passed: funcName([name], value, *args) needsName: whether the first argument is the name of the field being tested. args: arguments to pass after the value. inputTransform: transformation to apply to the value outputTransform: transformation to apply to the result of funcName imports: list of imports to add to the top of the file (no need to dedupe here) preamble: code to be added for static definitions. Can be used for constants that needs to be computed only once.
StringRulesGenerator helps generate the validation code for protocol buffer string typed field
StringRulesGenerator helps generate the validation code for protocol buffer string typed field