ScalarType

nscn.polaris2.protoc.codegen.ScalarType
See theScalarType companion object
final case class ScalarType(scalaType: String, codedName: String, wireType: Int, defaultValue: String, fixedSize: Option[Int])

How one scalar proto type is spelled in Scala and on the wire.

codedName is the suffix protobuf-java uses consistently across computeXSize / writeX / readX, which is what lets the generators emit all three from one table entry.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product