Class/Object

io.envoyproxy.pgv.validate.validate

TimestampRules

Related Docs: object TimestampRules | package validate

Permalink

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

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

    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

    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.

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 clearConst: TimestampRules

    Permalink
  6. def clearGt: TimestampRules

    Permalink
  7. def clearGtNow: TimestampRules

    Permalink
  8. def clearGte: TimestampRules

    Permalink
  9. def clearLt: TimestampRules

    Permalink
  10. def clearLtNow: TimestampRules

    Permalink
  11. def clearLte: TimestampRules

    Permalink
  12. def clearRequired: TimestampRules

    Permalink
  13. def clearWithin: TimestampRules

    Permalink
  14. def clone(): AnyRef

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

    Permalink
    Definition Classes
    TimestampRules → GeneratedMessage
  16. val const: Option[Timestamp]

    Permalink

    Const specifies that this field must be exactly the specified value

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getConst: Timestamp

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

    Permalink
    Definition Classes
    TimestampRules → GeneratedMessage
  22. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    TimestampRules → GeneratedMessage
  23. def getGt: Timestamp

    Permalink
  24. def getGtNow: Boolean

    Permalink
  25. def getGte: Timestamp

    Permalink
  26. def getLt: Timestamp

    Permalink
  27. def getLtNow: Boolean

    Permalink
  28. def getLte: Timestamp

    Permalink
  29. def getRequired: Boolean

    Permalink
  30. def getWithin: Duration

    Permalink
  31. val gt: Option[Timestamp]

    Permalink

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

  32. val gtNow: Option[Boolean]

    Permalink

    GtNow specifies that this must be greater than the current time.

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

  33. val gte: Option[Timestamp]

    Permalink

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

  34. final def isInstanceOf[T0]: Boolean

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

    Permalink

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

  36. val ltNow: Option[Boolean]

    Permalink

    LtNow specifies that this must be less than the current time.

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

  37. val lte: Option[Timestamp]

    Permalink

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

  38. def mergeFrom(_input__: CodedInputStream): TimestampRules

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

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

    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: Timestamp): TimestampRules

    Permalink
  54. def withGt(__v: Timestamp): TimestampRules

    Permalink
  55. def withGtNow(__v: Boolean): TimestampRules

    Permalink
  56. def withGte(__v: Timestamp): TimestampRules

    Permalink
  57. def withLt(__v: Timestamp): TimestampRules

    Permalink
  58. def withLtNow(__v: Boolean): TimestampRules

    Permalink
  59. def withLte(__v: Timestamp): TimestampRules

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

    Permalink
  61. def withWithin(__v: Duration): TimestampRules

    Permalink
  62. val within: Option[Duration]

    Permalink

    Within specifies that this field must be within this duration of the current time.

    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.

  63. def writeDelimitedTo(output: OutputStream): Unit

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

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

Inherited from Message[TimestampRules]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped