EnumType

com.google.protobuf.descriptor.FeatureSet.EnumType
See theEnumType companion class
object EnumType extends GeneratedEnumCompanion[EnumType]

Attributes

Companion
class
Source
FeatureSet.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[EnumType]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
EnumType.type

Members list

Type members

Classlikes

case object CLOSED extends EnumType, Recognized

Attributes

Source
FeatureSet.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class EnumType
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
CLOSED.type
case object ENUM_TYPE_UNKNOWN extends EnumType, Recognized

Attributes

Source
FeatureSet.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class EnumType
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object OPEN extends EnumType, Recognized

Attributes

Source
FeatureSet.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class EnumType
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
OPEN.type
sealed trait Recognized extends EnumType

Attributes

Source
FeatureSet.scala
Supertypes
class EnumType
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object CLOSED.type
object ENUM_TYPE_UNKNOWN.type
object OPEN.type
final case class Unrecognized(unrecognizedValue: Int) extends EnumType, UnrecognizedEnum

Attributes

Source
FeatureSet.scala
Supertypes
trait UnrecognizedEnum
class EnumType
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def fromValue(`__value`: Int): EnumType

Attributes

Source
FeatureSet.scala
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum.

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

Source
FeatureSet.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source
FeatureSet.scala

Inherited methods

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

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[ValueType]

Attributes

Source
FeatureSet.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[EnumType]

Attributes

Source
FeatureSet.scala