Packages

package validate

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class Dummy(dummy: Option[FieldRules] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Dummy] with Product with Serializable
    Annotations
    @SerialVersionUID()
  2. final case class FieldValidationOptions(skipUniqueCheck: Option[Boolean] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[FieldValidationOptions] with Product with Serializable

    skipUniqueCheck

    not implemented yet

    Annotations
    @SerialVersionUID()
  3. final case class FileValidationOptions(insertValidatorInstance: Option[Boolean] = _root_.scala.None, validateAtConstruction: Option[Boolean] = _root_.scala.None, uniqueToSet: Option[Boolean] = _root_.scala.None, catsTransforms: Option[Boolean] = _root_.scala.None, skip: Option[Boolean] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[FileValidationOptions] with Product with Serializable

    uniqueToSet

    The following options inject field transformations in the proto they are defined on. In order to take effect, scalapb-validate's preprocessor need to be enabled in the same file where these options are set. Example: import "scalapb/validate.proto"; import "scalapb/scalapb.proto"; option (scalapb.options) = { scope : PACKAGE // makes the FieldTransformations available for the entire package preprocessors : [ "scalapb-validate-preprocessor" ] [scalapb.validate.file] { cats_transforms : true unique_to_set : true } } transform "repeated.unique: true" to sets.

    catsTransforms

    transform to non-empty map, list and set.

    skip

    Set skip to true to avoid generating validators for this file. This option is also useful to be set a package-scoped option for third-party protos that do not come with validator classes and your messages reference them.

    Annotations
    @SerialVersionUID()
  4. final case class MessageValidationOptions(insertValidatorInstance: Option[Boolean] = _root_.scala.None, validateAtConstruction: Option[Boolean] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[MessageValidationOptions] with Product with Serializable

    Falls back on file validation options (where default exists)

    Falls back on file validation options (where default exists)

    Annotations
    @SerialVersionUID()

Value Members

  1. object Dummy extends GeneratedMessageCompanion[Dummy] with JavaProtoSupport[Dummy, Validate.Dummy] with Serializable
  2. object FieldValidationOptions extends GeneratedMessageCompanion[FieldValidationOptions] with JavaProtoSupport[FieldValidationOptions, Validate.FieldValidationOptions] with Serializable
  3. object FileValidationOptions extends GeneratedMessageCompanion[FileValidationOptions] with JavaProtoSupport[FileValidationOptions, Validate.FileValidationOptions] with Serializable
  4. object MessageValidationOptions extends GeneratedMessageCompanion[MessageValidationOptions] with JavaProtoSupport[MessageValidationOptions, Validate.MessageValidationOptions] with Serializable
  5. object ValidateProto extends GeneratedFileObject

Ungrouped