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, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage 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
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- 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, unknownFields: scalapb.UnknownFieldSet = ...)
- 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: EnumDescriptorProto.type
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
- def discardUnknownFields: EnumDescriptorProto
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- val name: scala.Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val options: scala.Option[EnumOptions]
- val reservedName: Seq[String]
- val reservedRange: Seq[EnumReservedRange]
-
def
serializedSize: Int
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- Definition Classes
- GeneratedMessage
-
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
- Definition Classes
- GeneratedMessage
-
final
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
- val unknownFields: scalapb.UnknownFieldSet
-
def
update(ms: (Lens[EnumDescriptorProto, EnumDescriptorProto]) ⇒ Mutation[EnumDescriptorProto]*): EnumDescriptorProto
- Definition Classes
- Updatable
- val value: Seq[EnumValueDescriptorProto]
-
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()
- def withName(__v: String): EnumDescriptorProto
- def withOptions(__v: EnumOptions): EnumDescriptorProto
- def withReservedName(__v: Seq[String]): EnumDescriptorProto
- def withReservedRange(__v: Seq[EnumReservedRange]): EnumDescriptorProto
- def withUnknownFields(__v: scalapb.UnknownFieldSet): EnumDescriptorProto
- def withValue(__v: Seq[EnumValueDescriptorProto]): EnumDescriptorProto
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
Serializes the message into the given coded output stream
Serializes the message into the given coded output stream
- Definition Classes
- EnumDescriptorProto → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
Serializes the message into the given output stream
Serializes the message into the given output stream
- Definition Classes
- GeneratedMessage