EnumRules

@SerialVersionUID(0L) final case class EnumRules(const: Option[Int], definedOnly: Option[Boolean], in: Seq[Int], notIn: Seq[Int], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[EnumRules]

EnumRules describe the constraints applied to enum values

EnumRules describe the constraints applied to enum values

Value Params
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

Companion
object
trait Updatable[EnumRules]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addAllIn(__vs: Iterable[Int]): EnumRules
def addAllNotIn(__vs: Iterable[Int]): EnumRules
def addIn(__vs: Int*): EnumRules
def addNotIn(__vs: Int*): EnumRules
def companion: GeneratedMessageCompanion[_]
def getConst: Int
def getDefinedOnly: Boolean
def getField(__field: FieldDescriptor): PValue
def getFieldByNumber(__fieldNumber: Int): Any
override def serializedSize: Int
Definition Classes
GeneratedMessage
def toProtoString: String
def withConst(__v: Int): EnumRules
def withDefinedOnly(__v: Boolean): EnumRules
def withIn(__v: Seq[Int]): EnumRules
def withNotIn(__v: Seq[Int]): EnumRules
def withUnknownFields(__v: UnknownFieldSet): EnumRules
def writeTo(_output__: CodedOutputStream): Unit

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final def toByteArray: Array[Byte]

Serializes the messgae and returns a byte array containing its raw bytes

Serializes the messgae and returns a byte array containing its raw bytes

Inherited from
GeneratedMessage
final def toByteString: ByteString

Serializes the messgae and returns a ByteString containing its raw bytes

Serializes the messgae and returns a ByteString containing its raw bytes

Inherited from
GeneratedMessage
final def toPMessage: PMessage
Inherited from
GeneratedMessage
def update(ms: Lens[EnumRules, EnumRules] => () => EnumRules*): EnumRules
Inherited from
Updatable
final def writeDelimitedTo(output: OutputStream): Unit
Inherited from
GeneratedMessage
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Inherited from
GeneratedMessage