Cardinality

Companion:
class
trait Sum
trait Mirror
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

@SerialVersionUID(0L)

For optional fields.

For optional fields.

@SerialVersionUID(0L)

For repeated fields.

For repeated fields.

@SerialVersionUID(0L)

For required fields. Proto2 syntax only.

For required fields. Proto2 syntax only.

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

For fields with unknown cardinality.

For fields with unknown cardinality.

sealed trait Recognized extends Cardinality
@SerialVersionUID(0L)
final case class Unrecognized(unrecognizedValue: Int) extends Cardinality with UnrecognizedEnum

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type ValueType = A
Inherited from:
GeneratedEnumCompanion

Value members

Concrete methods

def fromJavaValue(pbJavaSource: Cardinality): Cardinality
def fromValue(`__value`: Int): Cardinality
def javaDescriptor: EnumDescriptor
def toJavaValue(pbScalaSource: Cardinality): Cardinality

Inherited methods

def fromName(name: String): Option[Cardinality]
Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[Cardinality]

Implicits