final case class Enum(name: String = "", enumvalue: Seq[EnumValue] = _root_.scala.Seq.empty, options: Seq[OptionProto] = _root_.scala.Seq.empty, sourceContext: scala.Option[source_context.SourceContext] = _root_.scala.None, syntax: Syntax = ..., edition: String = "", unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Enum] with Product with Serializable
Enum type definition.
- name
Enum type name.
- enumvalue
Enum value definitions.
- options
Protocol buffer options.
- sourceContext
The source context.
- syntax
The source syntax.
- edition
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Enum
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Enum(name: String = "", enumvalue: Seq[EnumValue] = _root_.scala.Seq.empty, options: Seq[OptionProto] = _root_.scala.Seq.empty, sourceContext: scala.Option[source_context.SourceContext] = _root_.scala.None, syntax: Syntax = ..., edition: String = "", unknownFields: scalapb.UnknownFieldSet = ...)
- name
Enum type name.
- enumvalue
Enum value definitions.
- options
Protocol buffer options.
- sourceContext
The source context.
- syntax
The source syntax.
- edition
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
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 addAllEnumvalue(__vs: Iterable[EnumValue]): Enum
- def addAllOptions(__vs: Iterable[OptionProto]): Enum
- def addEnumvalue(__vs: EnumValue*): Enum
- def addOptions(__vs: OptionProto*): Enum
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearEnumvalue: Enum
- def clearOptions: Enum
- def clearSourceContext: Enum
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: Enum.type
- Definition Classes
- Enum → GeneratedMessage
- def discardUnknownFields: Enum
- val edition: String
- val enumvalue: Seq[EnumValue]
-
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
- Enum → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): scala.Any
- Definition Classes
- Enum → GeneratedMessage
- def getSourceContext: source_context.SourceContext
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: 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: Seq[OptionProto]
-
def
serializedSize: Int
- Definition Classes
- Enum → GeneratedMessage
- val sourceContext: scala.Option[source_context.SourceContext]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val syntax: Syntax
-
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
- Enum → GeneratedMessage
- val unknownFields: scalapb.UnknownFieldSet
-
def
update(ms: (Lens[Enum, Enum]) ⇒ Mutation[Enum]*): Enum
- Definition Classes
- Updatable
-
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 withEdition(__v: String): Enum
- def withEnumvalue(__v: Seq[EnumValue]): Enum
- def withName(__v: String): Enum
- def withOptions(__v: Seq[OptionProto]): Enum
- def withSourceContext(__v: source_context.SourceContext): Enum
- def withSyntax(__v: Syntax): Enum
- def withUnknownFields(__v: scalapb.UnknownFieldSet): Enum
-
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
- Enum → 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