EDITION_PROTO2

com.google.protobuf.descriptor.Edition.EDITION_PROTO2
case object EDITION_PROTO2 extends Edition, Recognized

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

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Edition
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

type EnumType = Edition

Attributes

Inherited from:
Edition
type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Edition

Value members

Concrete methods

override def isEditionProto2: Boolean

Attributes

Definition Classes

Inherited methods

final def asRecognized: Option[Recognized]

Attributes

Inherited from:
Edition

Attributes

Inherited from:
Edition
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def isEdition1TestOnly: Boolean

Attributes

Inherited from:
Edition
def isEdition2023: Boolean

Attributes

Inherited from:
Edition
def isEdition2024: Boolean

Attributes

Inherited from:
Edition
def isEdition2TestOnly: Boolean

Attributes

Inherited from:
Edition
def isEdition99997TestOnly: Boolean

Attributes

Inherited from:
Edition
def isEdition99998TestOnly: Boolean

Attributes

Inherited from:
Edition
def isEdition99999TestOnly: Boolean

Attributes

Inherited from:
Edition
def isEditionLegacy: Boolean

Attributes

Inherited from:
Edition
def isEditionMax: Boolean

Attributes

Inherited from:
Edition
def isEditionProto3: Boolean

Attributes

Inherited from:
Edition
def isEditionUnknown: Boolean

Attributes

Inherited from:
Edition
def isUnrecognized: Boolean

Attributes

Inherited from:
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Attributes

Inherited from:
GeneratedEnum
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum

Concrete fields

val index: Int
val name: String

Inherited fields

val value: Int

Attributes

Inherited from:
Edition