Class/Object

io.envoyproxy.pgv.validate.validate

DurationRules

Related Docs: object DurationRules | package validate

Permalink

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

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

    Permalink

    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

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[Duration]): DurationRules

    Permalink
  5. def addAllNotIn(__vs: Iterable[Duration]): DurationRules

    Permalink
  6. def addIn(__vs: Duration*): DurationRules

    Permalink
  7. def addNotIn(__vs: Duration*): DurationRules

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clearConst: DurationRules

    Permalink
  10. def clearGt: DurationRules

    Permalink
  11. def clearGte: DurationRules

    Permalink
  12. def clearIn: DurationRules

    Permalink
  13. def clearLt: DurationRules

    Permalink
  14. def clearLte: DurationRules

    Permalink
  15. def clearNotIn: DurationRules

    Permalink
  16. def clearRequired: DurationRules

    Permalink
  17. def clone(): AnyRef

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

    Permalink
    Definition Classes
    DurationRules → GeneratedMessage
  19. val const: Option[Duration]

    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: Duration

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

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

    Permalink
    Definition Classes
    DurationRules → GeneratedMessage
  26. def getGt: Duration

    Permalink
  27. def getGte: Duration

    Permalink
  28. def getLt: Duration

    Permalink
  29. def getLte: Duration

    Permalink
  30. def getRequired: Boolean

    Permalink
  31. val gt: Option[Duration]

    Permalink

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

  32. val gte: Option[Duration]

    Permalink

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

  33. val in: Seq[Duration]

    Permalink

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

  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. val lt: Option[Duration]

    Permalink

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

  36. val lte: Option[Duration]

    Permalink

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

  37. def mergeFrom(_input__: CodedInputStream): DurationRules

    Permalink
    Definition Classes
    DurationRules → Message
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. val notIn: Seq[Duration]

    Permalink

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

  40. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  42. val required: Option[Boolean]

    Permalink

    Required specifies that this field must be set

  43. final def serializedSize: Int

    Permalink
    Definition Classes
    DurationRules → 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
    DurationRules → GeneratedMessage
  49. def update(ms: (Lens[DurationRules, DurationRules]) ⇒ Mutation[DurationRules]*): DurationRules

    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: Duration): DurationRules

    Permalink
  54. def withGt(__v: Duration): DurationRules

    Permalink
  55. def withGte(__v: Duration): DurationRules

    Permalink
  56. def withIn(__v: Seq[Duration]): DurationRules

    Permalink
  57. def withLt(__v: Duration): DurationRules

    Permalink
  58. def withLte(__v: Duration): DurationRules

    Permalink
  59. def withNotIn(__v: Seq[Duration]): DurationRules

    Permalink
  60. def withRequired(__v: Boolean): DurationRules

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

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

    Permalink
    Definition Classes
    DurationRules → 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[DurationRules]

Inherited from Message[DurationRules]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped