EnumValueOptions

final case class EnumValueOptions(`extends`: Seq[String], scalaName: Option[String], annotations: Seq[String], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[EnumValueOptions] with 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.

Companion:
object
trait Updatable[EnumValueOptions]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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 getFieldByNumber(`__fieldNumber`: Int): Any
def getScalaName: String
override def serializedSize: Int
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.

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

Inherited methods

def extension[T](generatedExtension: GeneratedExtension[EnumValueOptions, T]): T
Inherited from:
ExtendableMessage
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
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

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

Inherited from:
GeneratedMessage
final def toPMessage: PMessage
Inherited from:
GeneratedMessage
Inherited from:
Updatable
def withExtension[T](generatedExtension: GeneratedExtension[EnumValueOptions, T])(value: T): A
Inherited from:
ExtendableMessage
final def writeDelimitedTo(output: OutputStream): Unit
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

Inherited from:
GeneratedMessage