com.google.protobuf.type

EnumValue

final case class EnumValue(name: String = "", number: Int = 0, options: Seq[OptionProto] = scala.collection.Seq.empty[Nothing]) extends scalapb.GeneratedMessage with scalapb.Message[EnumValue] with Updatable[EnumValue] with Product with Serializable

Enum value definition.

name

Enum value name.

number

Enum value number.

options

Protocol buffer options.

Annotations
@SerialVersionUID( 0L )
Linear Supertypes
Product, Equals, Updatable[EnumValue], scalapb.Message[EnumValue], scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EnumValue
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EnumValue(name: String = "", number: Int = 0, options: Seq[OptionProto] = scala.collection.Seq.empty[Nothing])

    name

    Enum value name.

    number

    Enum value number.

    options

    Protocol buffer options.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addAllOptions(__vs: TraversableOnce[OptionProto]): EnumValue

  7. def addOptions(__vs: OptionProto*): EnumValue

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clearOptions: EnumValue

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def companion: EnumValue.type

    Definition Classes
    EnumValueGeneratedMessage
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getField(__field: FieldDescriptor): PValue

    Definition Classes
    EnumValueGeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    EnumValueGeneratedMessage
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def mergeFrom(_input__: CodedInputStream): EnumValue

    Definition Classes
    EnumValueMessage
  19. val name: String

    Enum value name.

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val number: Int

    Enum value number.

  24. val options: Seq[OptionProto]

    Protocol buffer options.

  25. final def serializedSize: Int

    Definition Classes
    EnumValueGeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  28. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  29. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  30. 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
    EnumValueGeneratedMessage
  31. def update(ms: (Lens[EnumValue, EnumValue]) ⇒ (EnumValue) ⇒ EnumValue*): EnumValue

    Definition Classes
    Updatable
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withName(__v: String): EnumValue

  36. def withNumber(__v: Int): EnumValue

  37. def withOptions(__v: Seq[OptionProto]): EnumValue

  38. def writeDelimitedTo(output: OutputStream): Unit

    Definition Classes
    GeneratedMessage
  39. def writeTo(_output__: CodedOutputStream): Unit

    Definition Classes
    EnumValueGeneratedMessage
  40. def writeTo(output: OutputStream): Unit

    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[EnumValue]

Inherited from scalapb.Message[EnumValue]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped