com.google.protobuf.type

Enum

final case class Enum(name: String = "", enumvalue: Seq[EnumValue] = scala.collection.Seq.empty[Nothing], options: Seq[OptionProto] = scala.collection.Seq.empty[Nothing], sourceContext: Option[SourceContext] = scala.None, syntax: Syntax = ...) extends trueaccord.scalapb.GeneratedMessage with trueaccord.scalapb.Message[Enum] with Updatable[Enum] with Product with Serializable

Enum type definition.

name

Enum type name.

enumvalue

Enum value definitions.

options

Protocol buffer options.

sourceContext

The source context.

syntax

The source syntax.

Annotations
@SerialVersionUID( 0L )
Linear Supertypes
Product, Equals, Updatable[Enum], trueaccord.scalapb.Message[Enum], trueaccord.scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Enum
  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 Enum(name: String = "", enumvalue: Seq[EnumValue] = scala.collection.Seq.empty[Nothing], options: Seq[OptionProto] = scala.collection.Seq.empty[Nothing], sourceContext: Option[SourceContext] = scala.None, syntax: Syntax = ...)

    name

    Enum type name.

    enumvalue

    Enum value definitions.

    options

    Protocol buffer options.

    sourceContext

    The source context.

    syntax

    The source syntax.

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 addAllEnumvalue(__vs: TraversableOnce[EnumValue]): Enum

  7. def addAllOptions(__vs: TraversableOnce[OptionProto]): Enum

  8. def addEnumvalue(__vs: EnumValue*): Enum

  9. def addOptions(__vs: OptionProto*): Enum

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clearEnumvalue: Enum

  12. def clearOptions: Enum

  13. def clearSourceContext: Enum

  14. def clone(): AnyRef

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

    Definition Classes
    EnumGeneratedMessage
  16. val enumvalue: Seq[EnumValue]

    Enum value definitions.

  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def finalize(): Unit

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

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

    Definition Classes
    EnumGeneratedMessage
  21. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    EnumGeneratedMessage
  22. def getSourceContext: SourceContext

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def mergeFrom(_input__: CodedInputStream): Enum

    Definition Classes
    EnumMessage
  25. val name: String

    Enum type name.

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

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

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

    Definition Classes
    AnyRef
  29. val options: Seq[OptionProto]

    Protocol buffer options.

  30. final def serializedSize: Int

    Definition Classes
    EnumGeneratedMessage
  31. val sourceContext: Option[SourceContext]

    The source context.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. val syntax: Syntax

    The source syntax.

  34. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  35. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  36. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  37. def toString(): String

    Definition Classes
    Enum → AnyRef → Any
  38. def update(ms: (Lens[Enum, Enum]) ⇒ (Enum) ⇒ Enum*): Enum

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def withEnumvalue(__v: Seq[EnumValue]): Enum

  43. def withName(__v: String): Enum

  44. def withOptions(__v: Seq[OptionProto]): Enum

  45. def withSourceContext(__v: SourceContext): Enum

  46. def withSyntax(__v: Syntax): Enum

  47. def writeDelimitedTo(output: OutputStream): Unit

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

    Definition Classes
    EnumGeneratedMessage
  49. 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[Enum]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped