Kind

com.google.protobuf.`type`.Field.Kind
See theKind companion class
object Kind extends GeneratedEnumCompanion[Kind]

Attributes

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

Members list

Type members

Classlikes

sealed trait Recognized extends Kind

Attributes

Supertypes
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object TYPE_BOOL
object TYPE_BYTES
object TYPE_DOUBLE
object TYPE_ENUM
object TYPE_FIXED32
object TYPE_FIXED64
object TYPE_FLOAT
object TYPE_GROUP
object TYPE_INT32
object TYPE_INT64
object TYPE_MESSAGE
object TYPE_SFIXED32
object TYPE_SFIXED64
object TYPE_SINT32
object TYPE_SINT64
object TYPE_STRING
object TYPE_UINT32
object TYPE_UINT64
object TYPE_UNKNOWN
Show all
case object TYPE_BOOL extends Kind, Recognized

Field type bool.

Field type bool.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TYPE_BOOL.type
case object TYPE_BYTES extends Kind, Recognized

Field type bytes.

Field type bytes.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TYPE_BYTES.type
case object TYPE_DOUBLE extends Kind, Recognized

Field type double.

Field type double.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_ENUM extends Kind, Recognized

Field type enum.

Field type enum.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TYPE_ENUM.type
case object TYPE_FIXED32 extends Kind, Recognized

Field type fixed32.

Field type fixed32.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_FIXED64 extends Kind, Recognized

Field type fixed64.

Field type fixed64.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_FLOAT extends Kind, Recognized

Field type float.

Field type float.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TYPE_FLOAT.type
case object TYPE_GROUP extends Kind, Recognized

Field type group. Proto2 syntax only, and deprecated.

Field type group. Proto2 syntax only, and deprecated.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TYPE_GROUP.type
case object TYPE_INT32 extends Kind, Recognized

Field type int32.

Field type int32.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TYPE_INT32.type
case object TYPE_INT64 extends Kind, Recognized

Field type int64.

Field type int64.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TYPE_INT64.type
case object TYPE_MESSAGE extends Kind, Recognized

Field type message.

Field type message.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_SFIXED32 extends Kind, Recognized

Field type sfixed32.

Field type sfixed32.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_SFIXED64 extends Kind, Recognized

Field type sfixed64.

Field type sfixed64.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_SINT32 extends Kind, Recognized

Field type sint32.

Field type sint32.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_SINT64 extends Kind, Recognized

Field type sint64.

Field type sint64.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_STRING extends Kind, Recognized

Field type string.

Field type string.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_UINT32 extends Kind, Recognized

Field type uint32.

Field type uint32.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_UINT64 extends Kind, Recognized

Field type uint64.

Field type uint64.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Kind
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TYPE_UNKNOWN extends Kind, Recognized

Field type unknown.

Field type unknown.

Attributes

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

Attributes

Supertypes
class Kind
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 = Kind

Attributes

Inherited from:
GeneratedEnumCompanion

Value members

Concrete methods

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

Inherited methods

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

Attributes

Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[ValueType]

Implicits

Implicits