OptimizeMode

com.google.protobuf.descriptor.FileOptions.OptimizeMode
See theOptimizeMode companion class
object OptimizeMode extends GeneratedEnumCompanion[OptimizeMode]

Attributes

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

Members list

Type members

Classlikes

case object CODE_SIZE extends OptimizeMode, Recognized

etc.

etc. Use ReflectionOps to implement these methods.

Attributes

Source
FileOptions.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class OptimizeMode
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
CODE_SIZE.type
case object LITE_RUNTIME extends OptimizeMode, Recognized

Generate code using MessageLite and the lite runtime.

Generate code using MessageLite and the lite runtime.

Attributes

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

Attributes

Source
FileOptions.scala
Supertypes
class OptimizeMode
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object CODE_SIZE.type
object LITE_RUNTIME.type
object SPEED.type
case object SPEED extends OptimizeMode, Recognized

Generate complete code for parsing, serialization,

Generate complete code for parsing, serialization,

Attributes

Source
FileOptions.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class OptimizeMode
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
SPEED.type
final case class Unrecognized(unrecognizedValue: Int) extends OptimizeMode, UnrecognizedEnum

Attributes

Source
FileOptions.scala
Supertypes
trait UnrecognizedEnum
class OptimizeMode
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): OptimizeMode

Attributes

Source
FileOptions.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
FileOptions.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source
FileOptions.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
FileOptions.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[OptimizeMode]

Attributes

Source
FileOptions.scala