GeneratedEnumCompanion

scalapb.GeneratedEnumCompanion
trait GeneratedEnumCompanion[A <: GeneratedEnum] extends Serializable

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object MatchType
object OptionsScope
object Feature
object Label
object Type
object CType
object JSType
object OptimizeMode
object NullValue
object Cardinality
object Kind
object Syntax
Show all

Members list

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 available 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 available in Scala.js or scala-native.

Attributes

def values: Seq[A]

Concrete methods

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