Type

com.google.protobuf.descriptor.FieldDescriptorProto$.Type$
See theType companion class

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Self type
Type.type

Members list

Concise view

Type members

Classlikes

sealed trait Recognized extends Type

Attributes

Graph
Supertypes
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object TYPE_BOOL.type
object TYPE_BYTES.type
object TYPE_DOUBLE.type
object TYPE_ENUM.type
object TYPE_FIXED32.type
object TYPE_FIXED64.type
object TYPE_FLOAT.type
object TYPE_GROUP.type
object TYPE_INT32.type
object TYPE_INT64.type
object TYPE_MESSAGE.type
object TYPE_SFIXED32.type
object TYPE_SFIXED64.type
object TYPE_SINT32.type
object TYPE_SINT64.type
object TYPE_STRING.type
object TYPE_UINT32.type
object TYPE_UINT64.type
case object TYPE_BOOL extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_BYTES extends Type with Recognized

New in version 2.

New in version 2.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_DOUBLE extends Type with Recognized

0 is reserved for errors. Order is weird for historical reasons.

0 is reserved for errors. Order is weird for historical reasons.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_ENUM extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_FIXED32 extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_FIXED64 extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_FLOAT extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_GROUP extends Type with Recognized

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.

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.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_INT32 extends Type with Recognized

Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.

Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_INT64 extends Type with Recognized

Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.

Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_MESSAGE extends Type with Recognized

Length-delimited aggregate.

Length-delimited aggregate.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_SFIXED32 extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_SFIXED64 extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_SINT32 extends Type with Recognized

Uses ZigZag encoding.

Uses ZigZag encoding.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_SINT64 extends Type with Recognized

Uses ZigZag encoding.

Uses ZigZag encoding.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_STRING extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_UINT32 extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
case object TYPE_UINT64 extends Type with Recognized

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
final case class Unrecognized(unrecognizedValue: Int) extends Type with UnrecognizedEnum

Attributes

Graph
Supertypes
class Type
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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 fromValue(`__value`: Int): Type
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

Inherited methods

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

Attributes

Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[Type]

Implicits

Implicits