object CType extends GeneratedEnumCompanion[CType]
- Alphabetic
- By Inheritance
- CType
- GeneratedEnumCompanion
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait Recognized extends CType
- final case class Unrecognized(unrecognizedValue: Int) extends CType with UnrecognizedEnum with Product with Serializable
- Annotations
- @SerialVersionUID()
- type ValueType = CType
- 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[CType]
- 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.FieldOptions.CType): CType
- def fromName(name: String): scala.Option[CType]
- Definition Classes
- GeneratedEnumCompanion
- def fromValue(__value: Int): CType
- Definition Classes
- CType → 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 available in Scala.js or scala-native.
- Definition Classes
- CType → 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
- CType → GeneratedEnumCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toJavaValue(pbScalaSource: CType): DescriptorProtos.FieldOptions.CType
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val values: Seq[ValueType]
- Definition Classes
- CType → 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 CORD extends CType with Recognized with Product with Serializable
The option [ctype=CORD] may be applied to a non-repeated field of type "bytes".
The option [ctype=CORD] may be applied to a non-repeated field of type "bytes". It indicates that in C++, the data should be stored in a Cord instead of a string. For very large strings, this may reduce memory fragmentation. It may also allow better performance when parsing from a Cord, or when parsing with aliasing enabled, as the parsed Cord may then alias the original buffer.
- Annotations
- @SerialVersionUID()
- case object STRING extends CType with Recognized with Product with Serializable
Default mode.
Default mode.
- Annotations
- @SerialVersionUID()
- case object STRING_PIECE extends CType with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()