object Type extends GeneratedEnumCompanion[Type] with Serializable
- Alphabetic
- By Inheritance
- Type
- Serializable
- GeneratedEnumCompanion
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait Recognized extends Type
- final case class Unrecognized(unrecognizedValue: Int) extends Type with UnrecognizedEnum with Product with Serializable
- Annotations
- @SerialVersionUID()
- type ValueType = Type
- Definition Classes
- GeneratedEnumCompanion
Value Members
- final def !=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def enumCompanion: GeneratedEnumCompanion[Type]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromJavaValue(pbJavaSource: DescriptorProtos.FieldDescriptorProto.Type): Type
- def fromName(name: String): scala.Option[Type]
- Definition Classes
- GeneratedEnumCompanion
- def fromValue(__value: Int): Type
- Definition Classes
- Type → GeneratedEnumCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 avaialable in Scala.js or scala-native.
- Definition Classes
- Type → GeneratedEnumCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def scalaDescriptor: EnumDescriptor
- Definition Classes
- Type → GeneratedEnumCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toJavaValue(pbScalaSource: Type): DescriptorProtos.FieldDescriptorProto.Type
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val values: Seq[Recognized]
- Definition Classes
- Type → GeneratedEnumCompanion
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- case object TYPE_BOOL extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_BYTES extends Type with Recognized with Product with Serializable
New in version 2.
New in version 2.
- Annotations
- @SerialVersionUID()
- case object TYPE_DOUBLE extends Type with Recognized with Product with Serializable
0 is reserved for errors.
0 is reserved for errors. Order is weird for historical reasons.
- Annotations
- @SerialVersionUID()
- case object TYPE_ENUM extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_FIXED32 extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_FIXED64 extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_FLOAT extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_GROUP extends Type with Recognized with Product with Serializable
Tag-delimited aggregate.
Tag-delimited aggregate. Group type is deprecated and not supported in proto3. However, Proto3 implementations should still be able to parse the group wire format and treat group fields as unknown fields.
- Annotations
- @SerialVersionUID()
- case object TYPE_INT32 extends Type with Recognized with Product with Serializable
Not ZigZag encoded.
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.
- Annotations
- @SerialVersionUID()
- case object TYPE_INT64 extends Type with Recognized with Product with Serializable
Not ZigZag encoded.
Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.
- Annotations
- @SerialVersionUID()
- case object TYPE_MESSAGE extends Type with Recognized with Product with Serializable
Length-delimited aggregate.
Length-delimited aggregate.
- Annotations
- @SerialVersionUID()
- case object TYPE_SFIXED32 extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_SFIXED64 extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_SINT32 extends Type with Recognized with Product with Serializable
Uses ZigZag encoding.
Uses ZigZag encoding.
- Annotations
- @SerialVersionUID()
- case object TYPE_SINT64 extends Type with Recognized with Product with Serializable
Uses ZigZag encoding.
Uses ZigZag encoding.
- Annotations
- @SerialVersionUID()
- case object TYPE_STRING extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_UINT32 extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()
- case object TYPE_UINT64 extends Type with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()