final case class EnumDescriptorProto(name: scala.Option[String] = _root_.scala.None, value: Seq[EnumValueDescriptorProto] = _root_.scala.Seq.empty, options: scala.Option[EnumOptions] = _root_.scala.None, reservedRange: Seq[EnumReservedRange] = _root_.scala.Seq.empty, reservedName: Seq[String] = _root_.scala.Seq.empty) extends scalapb.GeneratedMessage with scalapb.Message[EnumDescriptorProto] with Updatable[EnumDescriptorProto] with Product with Serializable
Describes an enum type.
- reservedRange
Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.
- reservedName
Reserved enum value names, which may not be reused. A given name may only be reserved once.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- EnumDescriptorProto
- Product
- Equals
- Updatable
- Message
- GeneratedMessage
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EnumDescriptorProto(name: scala.Option[String] = _root_.scala.None, value: Seq[EnumValueDescriptorProto] = _root_.scala.Seq.empty, options: scala.Option[EnumOptions] = _root_.scala.None, reservedRange: Seq[EnumReservedRange] = _root_.scala.Seq.empty, reservedName: Seq[String] = _root_.scala.Seq.empty)
- reservedRange
Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.
- reservedName
Reserved enum value names, which may not be reused. A given name may only be reserved once.
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
- def addAllReservedName(__vs: Iterable[String]): EnumDescriptorProto
- def addAllReservedRange(__vs: Iterable[EnumReservedRange]): EnumDescriptorProto
- def addAllValue(__vs: Iterable[EnumValueDescriptorProto]): EnumDescriptorProto
- def addReservedName(__vs: String*): EnumDescriptorProto
- def addReservedRange(__vs: EnumReservedRange*): EnumDescriptorProto
- def addValue(__vs: EnumValueDescriptorProto*): EnumDescriptorProto
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearName: EnumDescriptorProto
- def clearOptions: EnumDescriptorProto
- def clearReservedName: EnumDescriptorProto
- def clearReservedRange: EnumDescriptorProto
- def clearValue: EnumDescriptorProto
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def companion: EnumDescriptorProto
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): scala.Any
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
- def getName: String
- def getOptions: EnumOptions
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergeFrom(_input__: CodedInputStream): EnumDescriptorProto
- Definition Classes
- EnumDescriptorProto → Message
- val name: scala.Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val options: scala.Option[EnumOptions]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val reservedName: Seq[String]
- val reservedRange: Seq[EnumReservedRange]
- final def serializedSize: Int
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
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.
- returns
human-readable representation of this message.
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
- def update(ms: (Lens[EnumDescriptorProto, EnumDescriptorProto]) => Mutation[EnumDescriptorProto]*): EnumDescriptorProto
- Definition Classes
- Updatable
- val value: Seq[EnumValueDescriptorProto]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withName(__v: String): EnumDescriptorProto
- def withOptions(__v: EnumOptions): EnumDescriptorProto
- def withReservedName(__v: Seq[String]): EnumDescriptorProto
- def withReservedRange(__v: Seq[EnumReservedRange]): EnumDescriptorProto
- def withValue(__v: Seq[EnumValueDescriptorProto]): EnumDescriptorProto
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
- def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def getAllFields: Map[FieldDescriptor, scala.Any]
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use toPMessage
- def getField(field: FieldDescriptor): scala.Any
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue