Class/Object

io.envoyproxy.pgv.validate.validate

FloatRules

Related Docs: object FloatRules | package validate

Permalink

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

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()
Linear Supertypes
Product, Equals, Updatable[FloatRules], Message[FloatRules], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FloatRules
  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 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)

    Permalink

    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

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. def addAllIn(__vs: Iterable[Float]): FloatRules

    Permalink
  5. def addAllNotIn(__vs: Iterable[Float]): FloatRules

    Permalink
  6. def addIn(__vs: Float*): FloatRules

    Permalink
  7. def addNotIn(__vs: Float*): FloatRules

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clearConst: FloatRules

    Permalink
  10. def clearGt: FloatRules

    Permalink
  11. def clearGte: FloatRules

    Permalink
  12. def clearIgnoreEmpty: FloatRules

    Permalink
  13. def clearIn: FloatRules

    Permalink
  14. def clearLt: FloatRules

    Permalink
  15. def clearLte: FloatRules

    Permalink
  16. def clearNotIn: FloatRules

    Permalink
  17. def clone(): AnyRef

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

    Permalink
    Definition Classes
    FloatRules → GeneratedMessage
  19. val const: Option[Float]

    Permalink

    Const specifies that this field must be exactly the specified value

  20. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getConst: Float

    Permalink
  24. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    FloatRules → GeneratedMessage
  25. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    FloatRules → GeneratedMessage
  26. def getGt: Float

    Permalink
  27. def getGte: Float

    Permalink
  28. def getIgnoreEmpty: Boolean

    Permalink
  29. def getLt: Float

    Permalink
  30. def getLte: Float

    Permalink
  31. val gt: Option[Float]

    Permalink

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

    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.

  32. val gte: Option[Float]

    Permalink

    Gte specifies that this field must be greater than or equal to the specified value, inclusive.

    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.

  33. val ignoreEmpty: Option[Boolean]

    Permalink

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

  34. val in: Seq[Float]

    Permalink

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

  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. val lt: Option[Float]

    Permalink

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

  37. val lte: Option[Float]

    Permalink

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

  38. def mergeFrom(_input__: CodedInputStream): FloatRules

    Permalink
    Definition Classes
    FloatRules → Message
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. val notIn: Seq[Float]

    Permalink

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

  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. final def serializedSize: Int

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

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

    Permalink
    Definition Classes
    GeneratedMessage
  46. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  47. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  48. def toProtoString: String

    Permalink
    Definition Classes
    FloatRules → GeneratedMessage
  49. def update(ms: (Lens[FloatRules, FloatRules]) ⇒ Mutation[FloatRules]*): FloatRules

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def withConst(__v: Float): FloatRules

    Permalink
  54. def withGt(__v: Float): FloatRules

    Permalink
  55. def withGte(__v: Float): FloatRules

    Permalink
  56. def withIgnoreEmpty(__v: Boolean): FloatRules

    Permalink
  57. def withIn(__v: Seq[Float]): FloatRules

    Permalink
  58. def withLt(__v: Float): FloatRules

    Permalink
  59. def withLte(__v: Float): FloatRules

    Permalink
  60. def withNotIn(__v: Seq[Float]): FloatRules

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

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

    Permalink
    Definition Classes
    FloatRules → GeneratedMessage
  63. 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[FloatRules]

Inherited from Message[FloatRules]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped