EnumValueOptions

scalapb.options.EnumValueOptions
See theEnumValueOptions companion object
final case class EnumValueOptions(`extends`: Seq[String], scalaName: Option[String], annotations: Seq[String], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[EnumValueOptions], ExtendableMessage[EnumValueOptions]

Value parameters

annotations

Custom annotations to add to the generated case object for this enum value.

extends

Additional classes and traits to mix in to an individual enum value.

scalaName

Name in Scala to use for this enum value.

Attributes

Companion
object
Graph
Supertypes
trait Updatable[EnumValueOptions]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAllAnnotations(`__vs`: Iterable[String]): EnumValueOptions
def addAllExtends(`__vs`: Iterable[String]): EnumValueOptions
def addAnnotations(`__vs`: String*): EnumValueOptions
def addExtends(`__vs`: String*): EnumValueOptions
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
def getScalaName: String
override def serializedSize: Int

Attributes

Definition Classes
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.

Attributes

Returns

human-readable representation of this message.

def withAnnotations(`__v`: Seq[String]): EnumValueOptions
def withExtends(`__v`: Seq[String]): EnumValueOptions
def withScalaName(`__v`: String): EnumValueOptions
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Inherited methods

def extension[T](generatedExtension: GeneratedExtension[EnumValueOptions, T]): T

Attributes

Inherited from:
ExtendableMessage
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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
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
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage

Attributes

Inherited from:
Updatable
def withExtension[T](generatedExtension: GeneratedExtension[EnumValueOptions, T])(value: T): A

Attributes

Inherited from:
ExtendableMessage
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
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