GeneratedEnumCompanion

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

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
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

Members list

Concise view

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]