Class/Object

com.google.protobuf.type

Type

Related Docs: object Type | package type

Permalink

final case class Type(name: String = "", fields: Seq[Field] = _root_.scala.collection.Seq.empty, oneofs: Seq[String] = _root_.scala.collection.Seq.empty, options: Seq[OptionProto] = _root_.scala.collection.Seq.empty, sourceContext: Option[SourceContext] = _root_.scala.None, syntax: Syntax = ...) extends scalapb.GeneratedMessage with 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()
Linear Supertypes
Product, Equals, Updatable[Type], scalapb.Message[Type], 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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Type(name: String = "", fields: Seq[Field] = _root_.scala.collection.Seq.empty, oneofs: Seq[String] = _root_.scala.collection.Seq.empty, options: Seq[OptionProto] = _root_.scala.collection.Seq.empty, sourceContext: Option[SourceContext] = _root_.scala.None, syntax: Syntax = ...)

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllFields(__vs: TraversableOnce[Field]): Type

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

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

    Permalink
  7. def addFields(__vs: Field*): Type

    Permalink
  8. def addOneofs(__vs: String*): Type

    Permalink
  9. def addOptions(__vs: OptionProto*): Type

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clearFields: Type

    Permalink
  12. def clearOneofs: Type

    Permalink
  13. def clearOptions: Type

    Permalink
  14. def clearSourceContext: Type

    Permalink
  15. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val fields: Seq[Field]

    Permalink

    The list of fields.

  19. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    TypeGeneratedMessage
  23. def getSourceContext: SourceContext

    Permalink
  24. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    TypeMessage
  26. val name: String

    Permalink

    The fully qualified message name.

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

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. val oneofs: Seq[String]

    Permalink

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

  31. val options: Seq[OptionProto]

    Permalink

    The protocol buffer options.

  32. final def serializedSize: Int

    Permalink
    Definition Classes
    TypeGeneratedMessage
  33. val sourceContext: Option[SourceContext]

    Permalink

    The source context.

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

    Permalink
    Definition Classes
    AnyRef
  35. val syntax: Syntax

    Permalink

    The source syntax.

  36. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  37. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  38. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  39. def toProtoString: String

    Permalink

    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
    TypeGeneratedMessage
  40. def update(ms: (Lens[Type, Type]) ⇒ Mutation[Type]*): Type

    Permalink
    Definition Classes
    Updatable
  41. final def wait(): Unit

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

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

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

    Permalink
  45. def withName(__v: String): Type

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

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

    Permalink
  48. def withSourceContext(__v: SourceContext): Type

    Permalink
  49. def withSyntax(__v: Syntax): Type

    Permalink
  50. def writeDelimitedTo(output: OutputStream): Unit

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

    Permalink
    Definition Classes
    TypeGeneratedMessage
  52. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    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 scalapb.Message[Type]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped