Packages

final case class Annotation(path: Seq[Int] = _root_.scala.collection.Seq.empty, sourceFile: Option[String] = None, begin: Option[Int] = None, end: Option[Int] = None) extends scalapb.GeneratedMessage with scalapb.Message[Annotation] with Updatable[Annotation] with Product with Serializable

path

Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.

sourceFile

Identifies the filesystem path to the original source .proto.

begin

Identifies the starting offset in bytes in the generated code that relates to the identified object.

end

Identifies the ending offset in bytes in the generated code that relates to the identified offset. The end offset should be one past the last relevant byte (so the length of the text = end - begin).

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Annotation], scalapb.Message[Annotation], scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Annotation
  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 Annotation(path: Seq[Int] = _root_.scala.collection.Seq.empty, sourceFile: Option[String] = None, begin: Option[Int] = None, end: Option[Int] = None)

    path

    Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.

    sourceFile

    Identifies the filesystem path to the original source .proto.

    begin

    Identifies the starting offset in bytes in the generated code that relates to the identified object.

    end

    Identifies the ending offset in bytes in the generated code that relates to the identified offset. The end offset should be one past the last relevant byte (so the length of the text = end - begin).

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllPath(__vs: TraversableOnce[Int]): Annotation
  5. def addPath(__vs: Int*): Annotation
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val begin: Option[Int]
  8. def clearBegin: Annotation
  9. def clearEnd: Annotation
  10. def clearPath: Annotation
  11. def clearSourceFile: Annotation
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def companion: Annotation.type
    Definition Classes
    AnnotationGeneratedMessage
  14. val end: Option[Int]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getBegin: Int
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def getEnd: Int
  20. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    AnnotationGeneratedMessage
  21. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    AnnotationGeneratedMessage
  22. def getSourceFile: String
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def mergeFrom(_input__: CodedInputStream): Annotation
    Definition Classes
    AnnotationMessage
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  28. val path: Seq[Int]
  29. final def serializedSize: Int
    Definition Classes
    AnnotationGeneratedMessage
  30. val sourceFile: Option[String]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  33. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  34. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  35. def toString(): String
    Definition Classes
    Annotation → AnyRef → Any
  36. def update(ms: (Lens[Annotation, Annotation]) ⇒ Mutation[Annotation]*): Annotation
    Definition Classes
    Updatable
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withBegin(__v: Int): Annotation
  41. def withEnd(__v: Int): Annotation
  42. def withPath(__v: Seq[Int]): Annotation
  43. def withSourceFile(__v: String): Annotation
  44. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  45. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    AnnotationGeneratedMessage
  46. 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[Annotation]

Inherited from scalapb.Message[Annotation]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped