DescriptorProto

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

Type members

Classlikes

implicit class DescriptorProtoLens[UpperPB](_l: Lens[UpperPB, DescriptorProto]) extends ObjectLens[UpperPB, DescriptorProto]
final case class ExtensionRange(start: Option[Int], end: Option[Int], options: Option[ExtensionRangeOptions], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ExtensionRange]
Value parameters:
end

Exclusive.

start

Inclusive.

Companion:
object
final case class ReservedRange(start: Option[Int], end: Option[Int], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ReservedRange]

Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap.

Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap.

Value parameters:
end

Exclusive.

start

Inclusive.

Companion:
object

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

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], field: Seq[FieldDescriptorProto], extension: Seq[FieldDescriptorProto], nestedType: Seq[DescriptorProto], enumType: Seq[EnumDescriptorProto], extensionRange: Seq[ExtensionRange], oneofDecl: Seq[OneofDescriptorProto], options: Option[MessageOptions], reservedRange: Seq[ReservedRange], reservedName: Seq[String]): DescriptorProto
def parseFrom(`_input__`: CodedInputStream): DescriptorProto

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
def fromAscii(s: String): A
def merge(a: DescriptorProto, 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 toByteArray(a: DescriptorProto): Array[Byte]
def validate(s: Array[Byte]): Try[A]
def validateAscii(s: String): Either[TextFormatError, A]

Implicits

Implicits

final implicit def DescriptorProtoLens[UpperPB](_l: Lens[UpperPB, DescriptorProto]): DescriptorProtoLens[UpperPB]