Label

Companion:
class
trait Sum
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Label.type

Type members

Classlikes

case object LABEL_OPTIONAL extends Label with Recognized

0 is reserved for errors

0 is reserved for errors

case object LABEL_REPEATED extends Label with Recognized
case object LABEL_REQUIRED extends Label with Recognized
sealed trait Recognized extends Label
final case class Unrecognized(unrecognizedValue: Int) extends Label 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: Label): Label
def fromValue(`__value`: Int): Label
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

def toJavaValue(pbScalaSource: Label): Label

Inherited methods

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

Concrete fields

lazy val values: Seq[Label]

Implicits