com.google.protobuf.type

Type

final case class Type(name: String = "", fields: Seq[Field] = scala.collection.Seq.empty[Nothing], oneofs: Seq[String] = 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[Type] with Updatable[Type] with Product with Serializable

A protocol buffer message type.

name

The fully qualified message name.

fields

The list of fields.

oneofs

The list of types appearing in oneof definitions in this type.

options

The protocol buffer options.

sourceContext

The source context.

syntax

The source syntax.

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

    name

    The fully qualified message name.

    fields

    The list of fields.

    oneofs

    The list of types appearing in oneof definitions in this type.

    options

    The 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 addAllFields(__vs: TraversableOnce[Field]): Type

  7. def addAllOneofs(__vs: TraversableOnce[String]): Type

  8. def addAllOptions(__vs: TraversableOnce[OptionProto]): Type

  9. def addFields(__vs: Field*): Type

  10. def addOneofs(__vs: String*): Type

  11. def addOptions(__vs: OptionProto*): Type

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clearFields: Type

  14. def clearOneofs: Type

  15. def clearOptions: Type

  16. def clearSourceContext: Type

  17. def clone(): AnyRef

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

    Definition Classes
    TypeGeneratedMessage
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. val fields: Seq[Field]

    The list of fields.

  21. def finalize(): Unit

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

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

    Definition Classes
    TypeGeneratedMessage
  24. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    TypeGeneratedMessage
  25. def getSourceContext: SourceContext

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def mergeFrom(_input__: CodedInputStream): Type

    Definition Classes
    TypeMessage
  28. val name: String

    The fully qualified message name.

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

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

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

    Definition Classes
    AnyRef
  32. val oneofs: Seq[String]

    The list of types appearing in oneof definitions in this type.

  33. val options: Seq[OptionProto]

    The protocol buffer options.

  34. final def serializedSize: Int

    Definition Classes
    TypeGeneratedMessage
  35. val sourceContext: Option[SourceContext]

    The source context.

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

    Definition Classes
    AnyRef
  37. val syntax: Syntax

    The source syntax.

  38. def toByteArray: Array[Byte]

    Definition Classes
    GeneratedMessage
  39. def toByteString: ByteString

    Definition Classes
    GeneratedMessage
  40. def toPMessage: PMessage

    Definition Classes
    GeneratedMessage
  41. def toString(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withFields(__v: Seq[Field]): Type

  47. def withName(__v: String): Type

  48. def withOneofs(__v: Seq[String]): Type

  49. def withOptions(__v: Seq[OptionProto]): Type

  50. def withSourceContext(__v: SourceContext): Type

  51. def withSyntax(__v: Syntax): Type

  52. def writeDelimitedTo(output: OutputStream): Unit

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

    Definition Classes
    TypeGeneratedMessage
  54. 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[Type]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped