Package

io.envoyproxy.pgv.validate

validate

Permalink

package validate

Visibility
  1. Public
  2. All

Type Members

  1. final case class AnyRules(required: Option[Boolean] = _root_.scala.None, in: Seq[String] = _root_.scala.Seq.empty, notIn: Seq[String] = _root_.scala.Seq.empty) extends GeneratedMessage with Message[AnyRules] with Updatable[AnyRules] with Product with Serializable

    Permalink

    AnyRules describe constraints applied exclusively to the google.protobuf.Any well-known type

    AnyRules describe constraints applied exclusively to the google.protobuf.Any well-known type

    required

    Required specifies that this field must be set

    in

    In specifies that this field's type_url must be equal to one of the specified values.

    notIn

    NotIn specifies that this field's type_url must not be equal to any of the specified values.

    Annotations
    @SerialVersionUID()
  2. final case class BoolRules(const: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[BoolRules] with Updatable[BoolRules] with Product with Serializable

    Permalink

    BoolRules describes the constraints applied to bool values

    BoolRules describes the constraints applied to bool values

    const

    Const specifies that this field must be exactly the specified value

    Annotations
    @SerialVersionUID()
  3. final case class BytesRules(const: Option[ByteString] = _root_.scala.None, len: Option[Long] = _root_.scala.None, minLen: Option[Long] = _root_.scala.None, maxLen: Option[Long] = _root_.scala.None, pattern: Option[String] = _root_.scala.None, prefix: Option[ByteString] = _root_.scala.None, suffix: Option[ByteString] = _root_.scala.None, contains: Option[ByteString] = _root_.scala.None, in: Seq[ByteString] = _root_.scala.Seq.empty, notIn: Seq[ByteString] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None, wellKnown: WellKnown = ...) extends GeneratedMessage with Message[BytesRules] with Updatable[BytesRules] with Product with Serializable

    Permalink

    BytesRules describe the constraints applied to bytes values

    BytesRules describe the constraints applied to bytes values

    const

    Const specifies that this field must be exactly the specified value

    len

    Len specifies that this field must be the specified number of bytes

    minLen

    MinLen specifies that this field must be the specified number of bytes at a minimum

    maxLen

    MaxLen specifies that this field must be the specified number of bytes at a maximum

    pattern

    Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.

    prefix

    Prefix specifies that this field must have the specified bytes at the beginning of the string.

    suffix

    Suffix specifies that this field must have the specified bytes at the end of the string.

    contains

    Contains specifies that this field must have the specified bytes anywhere in the string.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  4. final case class DoubleRules(const: Option[Double] = _root_.scala.None, lt: Option[Double] = _root_.scala.None, lte: Option[Double] = _root_.scala.None, gt: Option[Double] = _root_.scala.None, gte: Option[Double] = _root_.scala.None, in: Seq[Double] = _root_.scala.Seq.empty, notIn: Seq[Double] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[DoubleRules] with Updatable[DoubleRules] with Product with Serializable

    Permalink

    DoubleRules describes the constraints applied to double values

    DoubleRules describes the constraints applied to double values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  5. final case class DurationRules(required: Option[Boolean] = _root_.scala.None, const: Option[Duration] = _root_.scala.None, lt: Option[Duration] = _root_.scala.None, lte: Option[Duration] = _root_.scala.None, gt: Option[Duration] = _root_.scala.None, gte: Option[Duration] = _root_.scala.None, in: Seq[Duration] = _root_.scala.Seq.empty, notIn: Seq[Duration] = _root_.scala.Seq.empty) extends GeneratedMessage with Message[DurationRules] with Updatable[DurationRules] with Product with Serializable

    Permalink

    DurationRules describe the constraints applied exclusively to the google.protobuf.Duration well-known type

    DurationRules describe the constraints applied exclusively to the google.protobuf.Duration well-known type

    required

    Required specifies that this field must be set

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lt specifies that this field must be less than the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive

    gte

    Gte specifies that this field must be greater than the specified value, inclusive

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    Annotations
    @SerialVersionUID()
  6. final case class EnumRules(const: Option[Int] = _root_.scala.None, definedOnly: Option[Boolean] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty) extends GeneratedMessage with Message[EnumRules] with Updatable[EnumRules] with Product with Serializable

    Permalink

    EnumRules describe the constraints applied to enum values

    EnumRules describe the constraints applied to enum values

    const

    Const specifies that this field must be exactly the specified value

    definedOnly

    DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    Annotations
    @SerialVersionUID()
  7. final case class FieldRules(message: Option[MessageRules] = _root_.scala.None, type: Type = ...) extends GeneratedMessage with Message[FieldRules] with Updatable[FieldRules] with Product with Serializable

    Permalink

    FieldRules encapsulates the rules for each type of field.

    FieldRules encapsulates the rules for each type of field. Depending on the field, the correct set should be used to ensure proper validations.

    Annotations
    @SerialVersionUID()
  8. final case class Fixed32Rules(const: Option[Int] = _root_.scala.None, lt: Option[Int] = _root_.scala.None, lte: Option[Int] = _root_.scala.None, gt: Option[Int] = _root_.scala.None, gte: Option[Int] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[Fixed32Rules] with Updatable[Fixed32Rules] with Product with Serializable

    Permalink

    Fixed32Rules describes the constraints applied to fixed32 values

    Fixed32Rules describes the constraints applied to fixed32 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  9. final case class Fixed64Rules(const: Option[Long] = _root_.scala.None, lt: Option[Long] = _root_.scala.None, lte: Option[Long] = _root_.scala.None, gt: Option[Long] = _root_.scala.None, gte: Option[Long] = _root_.scala.None, in: Seq[Long] = _root_.scala.Seq.empty, notIn: Seq[Long] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[Fixed64Rules] with Updatable[Fixed64Rules] with Product with Serializable

    Permalink

    Fixed64Rules describes the constraints applied to fixed64 values

    Fixed64Rules describes the constraints applied to fixed64 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  10. final case class FloatRules(const: Option[Float] = _root_.scala.None, lt: Option[Float] = _root_.scala.None, lte: Option[Float] = _root_.scala.None, gt: Option[Float] = _root_.scala.None, gte: Option[Float] = _root_.scala.None, in: Seq[Float] = _root_.scala.Seq.empty, notIn: Seq[Float] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[FloatRules] with Updatable[FloatRules] with Product with Serializable

    Permalink

    FloatRules describes the constraints applied to float values

    FloatRules describes the constraints applied to float values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  11. final case class Int32Rules(const: Option[Int] = _root_.scala.None, lt: Option[Int] = _root_.scala.None, lte: Option[Int] = _root_.scala.None, gt: Option[Int] = _root_.scala.None, gte: Option[Int] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[Int32Rules] with Updatable[Int32Rules] with Product with Serializable

    Permalink

    Int32Rules describes the constraints applied to int32 values

    Int32Rules describes the constraints applied to int32 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  12. final case class Int64Rules(const: Option[Long] = _root_.scala.None, lt: Option[Long] = _root_.scala.None, lte: Option[Long] = _root_.scala.None, gt: Option[Long] = _root_.scala.None, gte: Option[Long] = _root_.scala.None, in: Seq[Long] = _root_.scala.Seq.empty, notIn: Seq[Long] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[Int64Rules] with Updatable[Int64Rules] with Product with Serializable

    Permalink

    Int64Rules describes the constraints applied to int64 values

    Int64Rules describes the constraints applied to int64 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  13. sealed trait KnownRegex extends GeneratedEnum

    Permalink

    WellKnownRegex contain some well-known patterns.

  14. final case class MapRules(minPairs: Option[Long] = _root_.scala.None, maxPairs: Option[Long] = _root_.scala.None, noSparse: Option[Boolean] = _root_.scala.None, keys: Option[FieldRules] = _root_.scala.None, values: Option[FieldRules] = _root_.scala.None, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[MapRules] with Updatable[MapRules] with Product with Serializable

    Permalink

    MapRules describe the constraints applied to map values

    MapRules describe the constraints applied to map values

    minPairs

    MinPairs specifies that this field must have the specified number of KVs at a minimum

    maxPairs

    MaxPairs specifies that this field must have the specified number of KVs at a maximum

    noSparse

    NoSparse specifies values in this field cannot be unset. This only applies to map's with message value types.

    keys

    Keys specifies the constraints to be applied to each key in the field.

    values

    Values specifies the constraints to be applied to the value of each key in the field. Message values will still have their validations evaluated unless skip is specified here.

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  15. final case class MessageRules(skip: Option[Boolean] = _root_.scala.None, required: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[MessageRules] with Updatable[MessageRules] with Product with Serializable

    Permalink

    MessageRules describe the constraints applied to embedded message values.

    MessageRules describe the constraints applied to embedded message values. For message-type fields, validation is performed recursively.

    skip

    Skip specifies that the validation rules of this field should not be evaluated

    required

    Required specifies that this field must be set

    Annotations
    @SerialVersionUID()
  16. final case class RepeatedRules(minItems: Option[Long] = _root_.scala.None, maxItems: Option[Long] = _root_.scala.None, unique: Option[Boolean] = _root_.scala.None, items: Option[FieldRules] = _root_.scala.None, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[RepeatedRules] with Updatable[RepeatedRules] with Product with Serializable

    Permalink

    RepeatedRules describe the constraints applied to repeated values

    RepeatedRules describe the constraints applied to repeated values

    minItems

    MinItems specifies that this field must have the specified number of items at a minimum

    maxItems

    MaxItems specifies that this field must have the specified number of items at a maximum

    unique

    Unique specifies that all elements in this field must be unique. This contraint is only applicable to scalar and enum types (messages are not supported).

    items

    Items specifies the contraints to be applied to each item in the field. Repeated message fields will still execute validation against each item unless skip is specified here.

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  17. final case class SFixed32Rules(const: Option[Int] = _root_.scala.None, lt: Option[Int] = _root_.scala.None, lte: Option[Int] = _root_.scala.None, gt: Option[Int] = _root_.scala.None, gte: Option[Int] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[SFixed32Rules] with Updatable[SFixed32Rules] with Product with Serializable

    Permalink

    SFixed32Rules describes the constraints applied to sfixed32 values

    SFixed32Rules describes the constraints applied to sfixed32 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  18. final case class SFixed64Rules(const: Option[Long] = _root_.scala.None, lt: Option[Long] = _root_.scala.None, lte: Option[Long] = _root_.scala.None, gt: Option[Long] = _root_.scala.None, gte: Option[Long] = _root_.scala.None, in: Seq[Long] = _root_.scala.Seq.empty, notIn: Seq[Long] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[SFixed64Rules] with Updatable[SFixed64Rules] with Product with Serializable

    Permalink

    SFixed64Rules describes the constraints applied to sfixed64 values

    SFixed64Rules describes the constraints applied to sfixed64 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  19. final case class SInt32Rules(const: Option[Int] = _root_.scala.None, lt: Option[Int] = _root_.scala.None, lte: Option[Int] = _root_.scala.None, gt: Option[Int] = _root_.scala.None, gte: Option[Int] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[SInt32Rules] with Updatable[SInt32Rules] with Product with Serializable

    Permalink

    SInt32Rules describes the constraints applied to sint32 values

    SInt32Rules describes the constraints applied to sint32 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  20. final case class SInt64Rules(const: Option[Long] = _root_.scala.None, lt: Option[Long] = _root_.scala.None, lte: Option[Long] = _root_.scala.None, gt: Option[Long] = _root_.scala.None, gte: Option[Long] = _root_.scala.None, in: Seq[Long] = _root_.scala.Seq.empty, notIn: Seq[Long] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[SInt64Rules] with Updatable[SInt64Rules] with Product with Serializable

    Permalink

    SInt64Rules describes the constraints applied to sint64 values

    SInt64Rules describes the constraints applied to sint64 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  21. final case class StringRules(const: Option[String] = _root_.scala.None, len: Option[Long] = _root_.scala.None, minLen: Option[Long] = _root_.scala.None, maxLen: Option[Long] = _root_.scala.None, lenBytes: Option[Long] = _root_.scala.None, minBytes: Option[Long] = _root_.scala.None, maxBytes: Option[Long] = _root_.scala.None, pattern: Option[String] = _root_.scala.None, prefix: Option[String] = _root_.scala.None, suffix: Option[String] = _root_.scala.None, contains: Option[String] = _root_.scala.None, notContains: Option[String] = _root_.scala.None, in: Seq[String] = _root_.scala.Seq.empty, notIn: Seq[String] = _root_.scala.Seq.empty, strict: Option[Boolean] = _root_.scala.None, ignoreEmpty: Option[Boolean] = _root_.scala.None, wellKnown: WellKnown = ...) extends GeneratedMessage with Message[StringRules] with Updatable[StringRules] with Product with Serializable

    Permalink

    StringRules describe the constraints applied to string values

    StringRules describe the constraints applied to string values

    const

    Const specifies that this field must be exactly the specified value

    len

    Len specifies that this field must be the specified number of characters (Unicode code points). Note that the number of characters may differ from the number of bytes in the string.

    minLen

    MinLen specifies that this field must be the specified number of characters (Unicode code points) at a minimum. Note that the number of characters may differ from the number of bytes in the string.

    maxLen

    MaxLen specifies that this field must be the specified number of characters (Unicode code points) at a maximum. Note that the number of characters may differ from the number of bytes in the string.

    lenBytes

    LenBytes specifies that this field must be the specified number of bytes at a minimum

    minBytes

    MinBytes specifies that this field must be the specified number of bytes at a minimum

    maxBytes

    MaxBytes specifies that this field must be the specified number of bytes at a maximum

    pattern

    Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.

    prefix

    Prefix specifies that this field must have the specified substring at the beginning of the string.

    suffix

    Suffix specifies that this field must have the specified substring at the end of the string.

    contains

    Contains specifies that this field must have the specified substring anywhere in the string.

    notContains

    NotContains specifies that this field cannot have the specified substring anywhere in the string.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    strict

    This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable strict header validation. By default, this is true, and HTTP header validations are RFC-compliant. Setting to false will enable a looser validations that only disallows &92;r&92;n&92;0 characters, which can be used to bypass header matching rules.

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  22. final case class TimestampRules(required: Option[Boolean] = _root_.scala.None, const: Option[Timestamp] = _root_.scala.None, lt: Option[Timestamp] = _root_.scala.None, lte: Option[Timestamp] = _root_.scala.None, gt: Option[Timestamp] = _root_.scala.None, gte: Option[Timestamp] = _root_.scala.None, ltNow: Option[Boolean] = _root_.scala.None, gtNow: Option[Boolean] = _root_.scala.None, within: Option[Duration] = _root_.scala.None) extends GeneratedMessage with Message[TimestampRules] with Updatable[TimestampRules] with Product with Serializable

    Permalink

    TimestampRules describe the constraints applied exclusively to the google.protobuf.Timestamp well-known type

    TimestampRules describe the constraints applied exclusively to the google.protobuf.Timestamp well-known type

    required

    Required specifies that this field must be set

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive

    gte

    Gte specifies that this field must be greater than the specified value, inclusive

    ltNow

    LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.

    gtNow

    GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.

    within

    Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.

    Annotations
    @SerialVersionUID()
  23. final case class UInt32Rules(const: Option[Int] = _root_.scala.None, lt: Option[Int] = _root_.scala.None, lte: Option[Int] = _root_.scala.None, gt: Option[Int] = _root_.scala.None, gte: Option[Int] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[UInt32Rules] with Updatable[UInt32Rules] with Product with Serializable

    Permalink

    UInt32Rules describes the constraints applied to uint32 values

    UInt32Rules describes the constraints applied to uint32 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()
  24. final case class UInt64Rules(const: Option[Long] = _root_.scala.None, lt: Option[Long] = _root_.scala.None, lte: Option[Long] = _root_.scala.None, gt: Option[Long] = _root_.scala.None, gte: Option[Long] = _root_.scala.None, in: Seq[Long] = _root_.scala.Seq.empty, notIn: Seq[Long] = _root_.scala.Seq.empty, ignoreEmpty: Option[Boolean] = _root_.scala.None) extends GeneratedMessage with Message[UInt64Rules] with Updatable[UInt64Rules] with Product with Serializable

    Permalink

    UInt64Rules describes the constraints applied to uint64 values

    UInt64Rules describes the constraints applied to uint64 values

    const

    Const specifies that this field must be exactly the specified value

    lt

    Lt specifies that this field must be less than the specified value, exclusive

    lte

    Lte specifies that this field must be less than or equal to the specified value, inclusive

    gt

    Gt specifies that this field must be greater than the specified value, exclusive. If the value of Gt is larger than a specified Lt or Lte, the range is reversed.

    gte

    Gte specifies that this field must be greater than or equal to the specified value, inclusive. If the value of Gte is larger than a specified Lt or Lte, the range is reversed.

    in

    In specifies that this field must be equal to one of the specified values

    notIn

    NotIn specifies that this field cannot be equal to one of the specified values

    ignoreEmpty

    IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty

    Annotations
    @SerialVersionUID()

Value Members

  1. object AnyRules extends GeneratedMessageCompanion[AnyRules] with JavaProtoSupport[AnyRules, Validate.AnyRules] with Serializable

    Permalink
  2. object BoolRules extends GeneratedMessageCompanion[BoolRules] with JavaProtoSupport[BoolRules, Validate.BoolRules] with Serializable

    Permalink
  3. object BytesRules extends GeneratedMessageCompanion[BytesRules] with JavaProtoSupport[BytesRules, Validate.BytesRules] with Serializable

    Permalink
  4. object DoubleRules extends GeneratedMessageCompanion[DoubleRules] with JavaProtoSupport[DoubleRules, Validate.DoubleRules] with Serializable

    Permalink
  5. object DurationRules extends GeneratedMessageCompanion[DurationRules] with JavaProtoSupport[DurationRules, Validate.DurationRules] with Serializable

    Permalink
  6. object EnumRules extends GeneratedMessageCompanion[EnumRules] with JavaProtoSupport[EnumRules, Validate.EnumRules] with Serializable

    Permalink
  7. object FieldRules extends GeneratedMessageCompanion[FieldRules] with JavaProtoSupport[FieldRules, Validate.FieldRules] with Serializable

    Permalink
  8. object Fixed32Rules extends GeneratedMessageCompanion[Fixed32Rules] with JavaProtoSupport[Fixed32Rules, Validate.Fixed32Rules] with Serializable

    Permalink
  9. object Fixed64Rules extends GeneratedMessageCompanion[Fixed64Rules] with JavaProtoSupport[Fixed64Rules, Validate.Fixed64Rules] with Serializable

    Permalink
  10. object FloatRules extends GeneratedMessageCompanion[FloatRules] with JavaProtoSupport[FloatRules, Validate.FloatRules] with Serializable

    Permalink
  11. object Int32Rules extends GeneratedMessageCompanion[Int32Rules] with JavaProtoSupport[Int32Rules, Validate.Int32Rules] with Serializable

    Permalink
  12. object Int64Rules extends GeneratedMessageCompanion[Int64Rules] with JavaProtoSupport[Int64Rules, Validate.Int64Rules] with Serializable

    Permalink
  13. object KnownRegex extends GeneratedEnumCompanion[KnownRegex] with Serializable

    Permalink
  14. object MapRules extends GeneratedMessageCompanion[MapRules] with JavaProtoSupport[MapRules, Validate.MapRules] with Serializable

    Permalink
  15. object MessageRules extends GeneratedMessageCompanion[MessageRules] with JavaProtoSupport[MessageRules, Validate.MessageRules] with Serializable

    Permalink
  16. object RepeatedRules extends GeneratedMessageCompanion[RepeatedRules] with JavaProtoSupport[RepeatedRules, Validate.RepeatedRules] with Serializable

    Permalink
  17. object SFixed32Rules extends GeneratedMessageCompanion[SFixed32Rules] with JavaProtoSupport[SFixed32Rules, Validate.SFixed32Rules] with Serializable

    Permalink
  18. object SFixed64Rules extends GeneratedMessageCompanion[SFixed64Rules] with JavaProtoSupport[SFixed64Rules, Validate.SFixed64Rules] with Serializable

    Permalink
  19. object SInt32Rules extends GeneratedMessageCompanion[SInt32Rules] with JavaProtoSupport[SInt32Rules, Validate.SInt32Rules] with Serializable

    Permalink
  20. object SInt64Rules extends GeneratedMessageCompanion[SInt64Rules] with JavaProtoSupport[SInt64Rules, Validate.SInt64Rules] with Serializable

    Permalink
  21. object StringRules extends GeneratedMessageCompanion[StringRules] with JavaProtoSupport[StringRules, Validate.StringRules] with Serializable

    Permalink
  22. object TimestampRules extends GeneratedMessageCompanion[TimestampRules] with JavaProtoSupport[TimestampRules, Validate.TimestampRules] with Serializable

    Permalink
  23. object UInt32Rules extends GeneratedMessageCompanion[UInt32Rules] with JavaProtoSupport[UInt32Rules, Validate.UInt32Rules] with Serializable

    Permalink
  24. object UInt64Rules extends GeneratedMessageCompanion[UInt64Rules] with JavaProtoSupport[UInt64Rules, Validate.UInt64Rules] with Serializable

    Permalink
  25. object ValidateProto extends GeneratedFileObject

    Permalink

Ungrouped