EnumValue

com.google.protobuf.type.EnumValue
See theEnumValue companion object
final case class EnumValue(name: String, number: Int, options: Seq[OptionProto], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[EnumValue]

Enum value definition.

Attributes

name

Enum value name.

number

Enum value number.

options

Protocol buffer options.

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

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
EnumValue.scala

Attributes

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

Attributes

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

Attributes

Source:
EnumValue.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
EnumValue.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:
EnumValue.scala

Attributes

Source:
EnumValue.scala
def withNumber(`__v`: Int): EnumValue

Attributes

Source:
EnumValue.scala

Attributes

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

Attributes

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