CARDINALITY_REQUIRED

@SerialVersionUID(0L) case object CARDINALITY_REQUIRED extends Cardinality with Recognized

For required fields. Proto2 syntax only.

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Inherited types

Inherited from
Cardinality
type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Concrete methods

override def isCardinalityRequired: Boolean
Definition Classes

Inherited methods

final def asRecognized: Option[Recognized]
Inherited from
Cardinality
def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
def isCardinalityOptional: Boolean
Inherited from
Cardinality
def isCardinalityRepeated: Boolean
Inherited from
Cardinality
def isCardinalityUnknown: Boolean
Inherited from
Cardinality
def isUnrecognized: Boolean
Inherited from
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor
Inherited from
GeneratedEnum
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override def toString: String
Definition Classes
Inherited from
GeneratedEnum

Concrete fields

val index: Int
val name: String

Inherited fields

val value: Int
Inherited from
Cardinality