FieldDescriptorProto

Companion:
class
trait Product
trait Mirror
trait JavaProtoSupport[FieldDescriptorProto, FieldDescriptorProto]
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

implicit class FieldDescriptorProtoLens[UpperPB](_l: Lens[UpperPB, FieldDescriptorProto]) extends ObjectLens[UpperPB, FieldDescriptorProto]
sealed abstract class Label(val value: Int) extends GeneratedEnum
Companion:
object
Companion:
class
sealed abstract class Type(val value: Int) extends GeneratedEnum
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 fromJavaProto(javaPbSource: FieldDescriptorProto): FieldDescriptorProto
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

def of(name: Option[String], number: Option[Int], label: Option[Label], `type`: Option[Type], typeName: Option[String], extendee: Option[String], defaultValue: Option[String], oneofIndex: Option[Int], jsonName: Option[String], options: Option[FieldOptions], proto3Optional: Option[Boolean]): FieldDescriptorProto
def parseFrom(`_input__`: CodedInputStream): FieldDescriptorProto

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

def toJavaProto(scalaPbSource: FieldDescriptorProto): FieldDescriptorProto

Inherited methods

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

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[A]
def parseDelimitedFrom(input: CodedInputStream): Option[A]
def parseFrom(s: Array[Byte]): A
def parseFrom(input: InputStream): A
def streamFromDelimitedInput(input: InputStream): Stream[A]
def validate(s: Array[Byte]): Try[A]
def validateAscii(s: String): Either[TextFormatError, A]

Implicits