DescriptorProto

com.google.protobuf.descriptor.DescriptorProto
See theDescriptorProto companion object
final case class DescriptorProto(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], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[DescriptorProto]

Describes a message type.

Value parameters

reservedName

Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.

Attributes

Companion
object
Source
DescriptorProto.scala
Graph
Supertypes
trait Updatable[DescriptorProto]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
DescriptorProto.scala

Attributes

Source
DescriptorProto.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
DescriptorProto.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
DescriptorProto.scala

Attributes

Source
DescriptorProto.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
DescriptorProto.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
DescriptorProto.scala

Attributes

Source
DescriptorProto.scala
def withUnknownFields(`__v`: UnknownFieldSet): DescriptorProto

Attributes

Source
DescriptorProto.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
DescriptorProto.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[DescriptorProto, DescriptorProto] => () => DescriptorProto*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala