JSType

com.google.protobuf.descriptor.FieldOptions.JSType
See theJSType companion class

Attributes

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

Members list

Type members

Classlikes

case object JS_NORMAL extends JSType, Recognized

Use the default type.

Use the default type.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class JSType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JS_NORMAL.type
case object JS_NUMBER extends JSType, Recognized

Use JavaScript numbers.

Use JavaScript numbers.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class JSType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JS_NUMBER.type
case object JS_STRING extends JSType, Recognized

Use JavaScript strings.

Use JavaScript strings.

Attributes

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

Attributes

Supertypes
class JSType
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object JS_NORMAL.type
object JS_NUMBER.type
object JS_STRING.type
final case class Unrecognized(unrecognizedValue: Int) extends JSType, UnrecognizedEnum

Attributes

Supertypes
class JSType
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 = A

Attributes

Inherited from:
GeneratedEnumCompanion

Value members

Concrete methods

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

Inherited methods

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

Attributes

Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[ValueType]

Implicits

Implicits