Class/Object

io.envoyproxy.pgv.validate.validate

BytesRules

Related Docs: object BytesRules | package validate

Permalink

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, wellKnown: WellKnown = ...) extends GeneratedMessage with Message[BytesRules] with Updatable[BytesRules] with Product with Serializable

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

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[BytesRules], Message[BytesRules], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BytesRules
  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 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, wellKnown: WellKnown = ...)

    Permalink

    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

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[ByteString]): BytesRules

    Permalink
  5. def addAllNotIn(__vs: Iterable[ByteString]): BytesRules

    Permalink
  6. def addIn(__vs: ByteString*): BytesRules

    Permalink
  7. def addNotIn(__vs: ByteString*): BytesRules

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clearConst: BytesRules

    Permalink
  10. def clearContains: BytesRules

    Permalink
  11. def clearIn: BytesRules

    Permalink
  12. def clearLen: BytesRules

    Permalink
  13. def clearMaxLen: BytesRules

    Permalink
  14. def clearMinLen: BytesRules

    Permalink
  15. def clearNotIn: BytesRules

    Permalink
  16. def clearPattern: BytesRules

    Permalink
  17. def clearPrefix: BytesRules

    Permalink
  18. def clearSuffix: BytesRules

    Permalink
  19. def clearWellKnown: BytesRules

    Permalink
  20. def clone(): AnyRef

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

    Permalink
    Definition Classes
    BytesRules → GeneratedMessage
  22. val const: Option[ByteString]

    Permalink

    Const specifies that this field must be exactly the specified value

  23. val contains: Option[ByteString]

    Permalink

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def getConst: ByteString

    Permalink
  28. def getContains: ByteString

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

    Permalink
    Definition Classes
    BytesRules → GeneratedMessage
  30. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    BytesRules → GeneratedMessage
  31. def getIp: Boolean

    Permalink
  32. def getIpv4: Boolean

    Permalink
  33. def getIpv6: Boolean

    Permalink
  34. def getLen: Long

    Permalink
  35. def getMaxLen: Long

    Permalink
  36. def getMinLen: Long

    Permalink
  37. def getPattern: String

    Permalink
  38. def getPrefix: ByteString

    Permalink
  39. def getSuffix: ByteString

    Permalink
  40. val in: Seq[ByteString]

    Permalink

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

  41. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  42. val len: Option[Long]

    Permalink

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

  43. val maxLen: Option[Long]

    Permalink

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

  44. def mergeFrom(_input__: CodedInputStream): BytesRules

    Permalink
    Definition Classes
    BytesRules → Message
  45. val minLen: Option[Long]

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  47. val notIn: Seq[ByteString]

    Permalink

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

  48. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  50. val pattern: Option[String]

    Permalink

    Pattern specifes that this field must match against the specified regular expression (RE2 syntax).

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

  51. val prefix: Option[ByteString]

    Permalink

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

  52. final def serializedSize: Int

    Permalink
    Definition Classes
    BytesRules → GeneratedMessage
  53. val suffix: Option[ByteString]

    Permalink

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

  54. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    GeneratedMessage
  56. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  57. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  58. def toProtoString: String

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. val wellKnown: WellKnown

    Permalink
  64. def withConst(__v: ByteString): BytesRules

    Permalink
  65. def withContains(__v: ByteString): BytesRules

    Permalink
  66. def withIn(__v: Seq[ByteString]): BytesRules

    Permalink
  67. def withIp(__v: Boolean): BytesRules

    Permalink
  68. def withIpv4(__v: Boolean): BytesRules

    Permalink
  69. def withIpv6(__v: Boolean): BytesRules

    Permalink
  70. def withLen(__v: Long): BytesRules

    Permalink
  71. def withMaxLen(__v: Long): BytesRules

    Permalink
  72. def withMinLen(__v: Long): BytesRules

    Permalink
  73. def withNotIn(__v: Seq[ByteString]): BytesRules

    Permalink
  74. def withPattern(__v: String): BytesRules

    Permalink
  75. def withPrefix(__v: ByteString): BytesRules

    Permalink
  76. def withSuffix(__v: ByteString): BytesRules

    Permalink
  77. def withWellKnown(__v: WellKnown): BytesRules

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

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

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

Inherited from Message[BytesRules]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped