Edition

com.google.protobuf.descriptor.Edition
See theEdition companion class
object Edition extends GeneratedEnumCompanion[Edition]

Attributes

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

Members list

Type members

Classlikes

case object EDITION_1_TEST_ONLY extends Edition, Recognized

Placeholder editions for testing feature resolution.

Placeholder editions for testing feature resolution. These should not be used or relyed on outside of tests.

Attributes

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

Editions that have been released.

Editions that have been released. The specific values are arbitrary and should not be depended on, but they will always be time-ordered for easy comparison.

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Legacy syntax "editions".

Legacy syntax "editions". These pre-date editions, but behave much like distinct editions. These can't be used to specify the edition of proto files, but feature definitions must supply proto2/proto3 defaults for backwards compatibility.

Attributes

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

Attributes

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

A placeholder for an unknown edition value.

A placeholder for an unknown edition value.

Attributes

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

Attributes

Source
Edition.scala
Supertypes
class Edition
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object EDITION_1_TEST_ONLY.type
object EDITION_2023.type
object EDITION_2_TEST_ONLY.type
object EDITION_PROTO2.type
object EDITION_PROTO3.type
object EDITION_UNKNOWN.type
Show all
final case class Unrecognized(unrecognizedValue: Int) extends Edition, UnrecognizedEnum

Attributes

Source
Edition.scala
Supertypes
trait UnrecognizedEnum
class Edition
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
type MirroredLabel <: String

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): Edition

Attributes

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

Attributes

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

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[Edition]

Attributes

Source
Edition.scala