GeneratedEnumCompanion

trait GeneratedEnumCompanion[A <: GeneratedEnum] extends Serializable
trait Serializable
class Object
trait Matchable
class Any
object Feature.type
object Label.type
object Type.type
object CType.type
object JSType.type
object OptimizeMode.type
object IdempotencyLevel.type
object NullValue.type
object Cardinality.type
object Kind.type
object Syntax.type
object MatchType.type
object EnumValueNaming.type
object OptionsScope.type

Type members

Types

type ValueType = A

Value members

Abstract methods

def fromValue(value: Int): A
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 values: Seq[A]

Concrete methods

def fromName(name: String): Option[A]