Enum

com.google.protobuf.type.Enum
See theEnum companion object
final case class Enum(name: String, enumvalue: Seq[EnumValue], options: Seq[OptionProto], sourceContext: Option[SourceContext], syntax: Syntax, edition: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Enum]

Enum type definition.

Attributes

edition

The source edition string, only valid when syntax is SYNTAX_EDITIONS.

enumvalue

Enum value definitions.

name

Enum type name.

options

Protocol buffer options.

sourceContext

The source context.

syntax

The source syntax.

Companion:
object
Source:
Enum.scala
Graph
Supertypes
trait Updatable[Enum]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
Enum.scala

Attributes

Source:
Enum.scala
def addEnumvalue(`__vs`: EnumValue*): Enum

Attributes

Source:
Enum.scala
def addOptions(`__vs`: OptionProto*): Enum

Attributes

Source:
Enum.scala

Attributes

Source:
Enum.scala

Attributes

Source:
Enum.scala

Attributes

Source:
Enum.scala
def companion: Enum.type

Attributes

Source:
Enum.scala

Attributes

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

Attributes

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

Attributes

Source:
Enum.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
Enum.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:
Enum.scala
def withEdition(`__v`: String): Enum

Attributes

Source:
Enum.scala

Attributes

Source:
Enum.scala
def withName(`__v`: String): Enum

Attributes

Source:
Enum.scala

Attributes

Source:
Enum.scala

Attributes

Source:
Enum.scala
def withSyntax(`__v`: Syntax): Enum

Attributes

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

Attributes

Source:
Enum.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:
Enum.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[Enum, Enum] => () => Enum*): 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