Class/Object

io.envoyproxy.pgv.validate.validate

RepeatedRules

Related Docs: object RepeatedRules | package validate

Permalink

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

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()
Linear Supertypes
Product, Equals, Updatable[RepeatedRules], Message[RepeatedRules], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepeatedRules
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new 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)

    Permalink

    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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clearIgnoreEmpty: RepeatedRules

    Permalink
  6. def clearItems: RepeatedRules

    Permalink
  7. def clearMaxItems: RepeatedRules

    Permalink
  8. def clearMinItems: RepeatedRules

    Permalink
  9. def clearUnique: RepeatedRules

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def companion: RepeatedRules.type

    Permalink
    Definition Classes
    RepeatedRules → GeneratedMessage
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    RepeatedRules → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    RepeatedRules → GeneratedMessage
  17. def getIgnoreEmpty: Boolean

    Permalink
  18. def getItems: FieldRules

    Permalink
  19. def getMaxItems: Long

    Permalink
  20. def getMinItems: Long

    Permalink
  21. def getUnique: Boolean

    Permalink
  22. val ignoreEmpty: Option[Boolean]

    Permalink

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

  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val items: Option[FieldRules]

    Permalink

    Items specifies the contraints to be applied to each item in the field.

    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.

  25. val maxItems: Option[Long]

    Permalink

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

  26. def mergeFrom(_input__: CodedInputStream): RepeatedRules

    Permalink
    Definition Classes
    RepeatedRules → Message
  27. val minItems: Option[Long]

    Permalink

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

  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def serializedSize: Int

    Permalink
    Definition Classes
    RepeatedRules → GeneratedMessage
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  34. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  35. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  36. def toProtoString: String

    Permalink
    Definition Classes
    RepeatedRules → GeneratedMessage
  37. val unique: Option[Boolean]

    Permalink

    Unique specifies that all elements in this field must be 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).

  38. def update(ms: (Lens[RepeatedRules, RepeatedRules]) ⇒ Mutation[RepeatedRules]*): RepeatedRules

    Permalink
    Definition Classes
    Updatable
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def withIgnoreEmpty(__v: Boolean): RepeatedRules

    Permalink
  43. def withItems(__v: FieldRules): RepeatedRules

    Permalink
  44. def withMaxItems(__v: Long): RepeatedRules

    Permalink
  45. def withMinItems(__v: Long): RepeatedRules

    Permalink
  46. def withUnique(__v: Boolean): RepeatedRules

    Permalink
  47. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  48. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    RepeatedRules → GeneratedMessage
  49. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[RepeatedRules]

Inherited from Message[RepeatedRules]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped