Class/Object

io.envoyproxy.pgv.validate.validate

EnumRules

Related Docs: object EnumRules | package validate

Permalink

final case class EnumRules(const: Option[Int] = _root_.scala.None, definedOnly: Option[Boolean] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty) extends GeneratedMessage with Message[EnumRules] with Updatable[EnumRules] with Product with Serializable

EnumRules describe the constraints applied to enum values

const

Const specifies that this field must be exactly the specified value

definedOnly

DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.

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[EnumRules], Message[EnumRules], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EnumRules
  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 EnumRules(const: Option[Int] = _root_.scala.None, definedOnly: Option[Boolean] = _root_.scala.None, in: Seq[Int] = _root_.scala.Seq.empty, notIn: Seq[Int] = _root_.scala.Seq.empty)

    Permalink

    const

    Const specifies that this field must be exactly the specified value

    definedOnly

    DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.

    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[Int]): EnumRules

    Permalink
  5. def addAllNotIn(__vs: Iterable[Int]): EnumRules

    Permalink
  6. def addIn(__vs: Int*): EnumRules

    Permalink
  7. def addNotIn(__vs: Int*): EnumRules

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clearConst: EnumRules

    Permalink
  10. def clearDefinedOnly: EnumRules

    Permalink
  11. def clearIn: EnumRules

    Permalink
  12. def clearNotIn: EnumRules

    Permalink
  13. def clone(): AnyRef

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

    Permalink
    Definition Classes
    EnumRules → GeneratedMessage
  15. val const: Option[Int]

    Permalink

    Const specifies that this field must be exactly the specified value

  16. val definedOnly: Option[Boolean]

    Permalink

    DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined 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: Int

    Permalink
  21. def getDefinedOnly: Boolean

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

    Permalink
    Definition Classes
    EnumRules → GeneratedMessage
  23. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    EnumRules → GeneratedMessage
  24. val in: Seq[Int]

    Permalink

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

  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def mergeFrom(_input__: CodedInputStream): EnumRules

    Permalink
    Definition Classes
    EnumRules → Message
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. val notIn: Seq[Int]

    Permalink

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

  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
    EnumRules → 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
    EnumRules → GeneratedMessage
  37. def update(ms: (Lens[EnumRules, EnumRules]) ⇒ Mutation[EnumRules]*): EnumRules

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withConst(__v: Int): EnumRules

    Permalink
  42. def withDefinedOnly(__v: Boolean): EnumRules

    Permalink
  43. def withIn(__v: Seq[Int]): EnumRules

    Permalink
  44. def withNotIn(__v: Seq[Int]): EnumRules

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

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

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

Inherited from Message[EnumRules]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped