ElementKind

nscn.polaris2.protoc.codegen.ElementKind

What a field's element is, once the proto type has been classified.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class EnumRef(descriptor: EnumDescriptor)
final case class ScalaMessageRef(descriptor: Descriptor)

A message generated by this generator.

A message generated by this generator.

Attributes

final case class Scalar(scalar: ScalarType)

A scalar, possibly with a user-declared (field).type on top.

A scalar, possibly with a user-declared (field).type on top.

Attributes

final case class WellKnownRef(protoFullName: String, mapping: Mapping, stdlib: Boolean)

A Well-Known Type, whose proto form is protobuf-java's own class.

A Well-Known Type, whose proto form is protobuf-java's own class.

Kept apart from ScalaMessageRef because the two have different method names for the same operations: getSerializedSize against serializedSize, and Timestamp.parseFrom against a generated companion's.

Attributes