object DescriptorProto extends GeneratedMessageCompanion[DescriptorProto] with JavaProtoSupport[DescriptorProto, DescriptorProtos.DescriptorProto]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DescriptorProto
- JavaProtoSupport
- GeneratedMessageCompanion
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- implicit class DescriptorProtoLens[UpperPB] extends ObjectLens[UpperPB, DescriptorProto]
-
final
case class
ExtensionRange(start: scala.Option[Int] = _root_.scala.None, end: scala.Option[Int] = _root_.scala.None, options: scala.Option[ExtensionRangeOptions] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[ExtensionRange] with Product with Serializable
- start
Inclusive.
- end
Exclusive.
- Annotations
- @SerialVersionUID()
-
final
case class
ReservedRange(start: scala.Option[Int] = _root_.scala.None, end: scala.Option[Int] = _root_.scala.None, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[ReservedRange] with Product with Serializable
Range of reserved tag numbers.
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.
- start
Inclusive.
- end
Exclusive.
- Annotations
- @SerialVersionUID()
-
type
ValueType = DescriptorProto
- Definition Classes
- GeneratedMessageCompanion
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final val ENUM_TYPE_FIELD_NUMBER: Int(4)
- final val EXTENSION_FIELD_NUMBER: Int(6)
- final val EXTENSION_RANGE_FIELD_NUMBER: Int(5)
- final val FIELD_FIELD_NUMBER: Int(2)
- final val NAME_FIELD_NUMBER: Int(1)
- final val NESTED_TYPE_FIELD_NUMBER: Int(3)
- final val ONEOF_DECL_FIELD_NUMBER: Int(8)
- final val OPTIONS_FIELD_NUMBER: Int(7)
- final val RESERVED_NAME_FIELD_NUMBER: Int(10)
- final val RESERVED_RANGE_FIELD_NUMBER: Int(9)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
defaultInstance: DescriptorProto
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
def
enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
-
def
enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromAscii(s: String): DescriptorProto
- Definition Classes
- GeneratedMessageCompanion
-
def
fromJavaProto(javaPbSource: DescriptorProtos.DescriptorProto): DescriptorProto
- Definition Classes
- DescriptorProto → JavaProtoSupport
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
javaDescriptor: Descriptor
Returns the Java descriptors for this message.
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.
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
def
merge(a: DescriptorProto, input: CodedInputStream): DescriptorProto
Merges the given message with the additional fields in the steam.
Merges the given message with the additional fields in the steam.
- Definition Classes
- GeneratedMessageCompanion
- implicit def messageCompanion: GeneratedMessageCompanion[DescriptorProto] with JavaProtoSupport[DescriptorProto, DescriptorProtos.DescriptorProto]
-
def
messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
- Definition Classes
- GeneratedMessageCompanion
-
def
messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
implicit
def
messageReads: Reads[DescriptorProto]
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
lazy val
nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: scalapb.GeneratedMessage]]
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def of(name: scala.Option[String], field: Seq[FieldDescriptorProto], extension: Seq[FieldDescriptorProto], nestedType: Seq[DescriptorProto], enumType: Seq[EnumDescriptorProto], extensionRange: Seq[ExtensionRange], oneofDecl: Seq[OneofDescriptorProto], options: scala.Option[MessageOptions], reservedRange: Seq[ReservedRange], reservedName: Seq[String]): DescriptorProto
-
def
parseDelimitedFrom(input: InputStream): scala.Option[DescriptorProto]
- Definition Classes
- GeneratedMessageCompanion
-
def
parseDelimitedFrom(input: CodedInputStream): scala.Option[DescriptorProto]
- Definition Classes
- GeneratedMessageCompanion
-
def
parseFrom(_input__: CodedInputStream): DescriptorProto
Parses a message from a CodedInputStream.
Parses a message from a CodedInputStream.
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
def
parseFrom(s: Array[Byte]): DescriptorProto
- Definition Classes
- GeneratedMessageCompanion
-
def
parseFrom(input: InputStream): DescriptorProto
- Definition Classes
- GeneratedMessageCompanion
-
def
scalaDescriptor: Descriptor
- Definition Classes
- DescriptorProto → GeneratedMessageCompanion
-
def
streamFromDelimitedInput(input: InputStream): Stream[DescriptorProto]
- Definition Classes
- GeneratedMessageCompanion
- Annotations
- @nowarn()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray(a: DescriptorProto): Array[Byte]
- Definition Classes
- GeneratedMessageCompanion
-
def
toJavaProto(scalaPbSource: DescriptorProto): DescriptorProtos.DescriptorProto
- Definition Classes
- DescriptorProto → JavaProtoSupport
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validate(s: Array[Byte]): Try[DescriptorProto]
- Definition Classes
- GeneratedMessageCompanion
-
def
validateAscii(s: String): Either[TextFormatError, DescriptorProto]
- Definition Classes
- GeneratedMessageCompanion
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object ExtensionRange extends GeneratedMessageCompanion[ExtensionRange] with JavaProtoSupport[ExtensionRange, DescriptorProtos.DescriptorProto.ExtensionRange]
- object ReservedRange extends GeneratedMessageCompanion[ReservedRange] with JavaProtoSupport[ReservedRange, DescriptorProtos.DescriptorProto.ReservedRange]