CType

com.google.protobuf.descriptor.FieldOptions.CType
See theCType companion class

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
CType.type

Members list

Type members

Classlikes

case object CORD extends CType, Recognized

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class CType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
CORD.type
sealed trait Recognized extends CType

Attributes

Supertypes
class CType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object CORD
object STRING
object STRING_PIECE
case object STRING extends CType, Recognized

Default mode.

Default mode.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class CType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
STRING.type
case object STRING_PIECE extends CType, Recognized

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class CType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
final case class Unrecognized(unrecognizedValue: Int) extends CType, UnrecognizedEnum

Attributes

Supertypes
class CType
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
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type ValueType = CType

Attributes

Inherited from:
GeneratedEnumCompanion

Value members

Concrete methods

def fromJavaValue(pbJavaSource: CType): CType
def fromValue(`__value`: Int): CType
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 toJavaValue(pbScalaSource: CType): CType

Inherited methods

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

Attributes

Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[ValueType]

Implicits

Implicits