FieldDescriptorProto

com.google.protobuf.descriptor.FieldDescriptorProto
See theFieldDescriptorProto companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait JavaProtoSupport[FieldDescriptorProto, FieldDescriptorProto]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

implicit class FieldDescriptorProtoLens[UpperPB](_l: Lens[UpperPB, FieldDescriptorProto]) extends ObjectLens[UpperPB, FieldDescriptorProto]

Attributes

Supertypes
class ObjectLens[UpperPB, FieldDescriptorProto]
trait Lens[UpperPB, FieldDescriptorProto]
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed abstract class Label(val value: Int) extends GeneratedEnum

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object LABEL_OPTIONAL.type
object LABEL_REPEATED.type
object LABEL_REQUIRED.type
trait Recognized
class Unrecognized

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Label.type
sealed abstract class Type(val value: Int) extends GeneratedEnum

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Recognized
object TYPE_BOOL.type
object TYPE_BYTES.type
object TYPE_DOUBLE.type
object TYPE_ENUM.type
object TYPE_FIXED32.type
object TYPE_FIXED64.type
object TYPE_FLOAT.type
object TYPE_GROUP.type
object TYPE_INT32.type
object TYPE_INT64.type
object TYPE_MESSAGE.type
object TYPE_SFIXED32.type
object TYPE_SFIXED64.type
object TYPE_SINT32.type
object TYPE_SINT64.type
object TYPE_STRING.type
object TYPE_UINT32.type
object TYPE_UINT64.type
class Unrecognized
Show all
object Type extends GeneratedEnumCompanion[Type]

Attributes

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

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 = A

Attributes

Inherited from:
GeneratedMessageCompanion

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
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 available 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 available in Scala.js or scala-native.

Attributes

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.

Attributes

def toJavaProto(scalaPbSource: FieldDescriptorProto): FieldDescriptorProto

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
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.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: FieldDescriptorProto): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion

Implicits

Implicits

final implicit def FieldDescriptorProtoLens[UpperPB](_l: Lens[UpperPB, FieldDescriptorProto]): FieldDescriptorProtoLens[UpperPB]