Field

Companion
class
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

sealed abstract class Cardinality(val value: Int) extends GeneratedEnum

Whether a field is optional, required, or repeated.

Whether a field is optional, required, or repeated.

Companion
object
class FieldLens[UpperPB](_l: Lens[UpperPB, Field]) extends ObjectLens[UpperPB, Field]
sealed abstract class Kind(val value: Int) extends GeneratedEnum

Basic field types.

Basic field types.

Companion
object
Companion
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type ValueType = A

Value members

Concrete methods

def javaDescriptor: Descriptor
def of(kind: Kind, cardinality: Cardinality, number: Int, name: String, typeUrl: String, oneofIndex: Int, packed: Boolean, options: Seq[OptionProto], jsonName: String, defaultValue: String): Field
def parseFrom(`_input__`: CodedInputStream): Field

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
def fromAscii(s: String): Field
def merge(a: Field, input: CodedInputStream): Field

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Inherited from
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[Field]
def parseDelimitedFrom(input: CodedInputStream): Option[Field]
def parseFrom(s: Array[Byte]): Field
def parseFrom(input: InputStream): Field
@nowarn("cat=deprecation")
def streamFromDelimitedInput(input: InputStream): Stream[Field]
def toByteArray(a: Field): Array[Byte]
def validate(s: Array[Byte]): Try[Field]
def validateAscii(s: String): Either[TextFormatError, Field]

Implicits