com.google.protobuf.descriptor.GeneratedCodeInfo

Annotation

final case class Annotation(path: Seq[Int] = scala.collection.Seq.empty[Nothing], sourceFile: Option[String] = scala.None, begin: Option[Int] = scala.None, end: Option[Int] = scala.None) extends trueaccord.scalapb.GeneratedMessage with trueaccord.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( 0L )
Linear Supertypes
Product, Equals, Updatable[Annotation], trueaccord.scalapb.Message[Annotation], trueaccord.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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Annotation(path: Seq[Int] = scala.collection.Seq.empty[Nothing], sourceFile: Option[String] = scala.None, begin: Option[Int] = scala.None, end: Option[Int] = scala.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: 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 addAllPath(__vs: TraversableOnce[Int]): Annotation

  7. def addPath(__vs: Int*): Annotation

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val begin: Option[Int]

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

  10. def clearBegin: Annotation

  11. def clearEnd: Annotation

  12. def clearPath: Annotation

  13. def clearSourceFile: Annotation

  14. def clone(): AnyRef

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

    Definition Classes
    AnnotationGeneratedMessage
  16. val end: Option[Int]

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

    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).

  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. def getBegin: Int

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def getEnd: Int

  22. def getField(__field: FieldDescriptor): PValue

    Definition Classes
    AnnotationGeneratedMessage
  23. def getFieldByNumber(__fieldNumber: Int): Any

    Definition Classes
    AnnotationGeneratedMessage
  24. def getSourceFile: String

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def mergeFrom(_input__: CodedInputStream): Annotation

    Definition Classes
    AnnotationMessage
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. val path: Seq[Int]

    Identifies the element in the original source .

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

  31. final def serializedSize: Int

    Definition Classes
    AnnotationGeneratedMessage
  32. val sourceFile: Option[String]

    Identifies the filesystem path to the original source .

    Identifies the filesystem path to the original source .proto.

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

    Definition Classes
    AnyRef
  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
    Annotation → AnyRef → Any
  38. def update(ms: (Lens[Annotation, Annotation]) ⇒ (Annotation) ⇒ Annotation*): Annotation

    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 withBegin(__v: Int): Annotation

  43. def withEnd(__v: Int): Annotation

  44. def withPath(__v: Seq[Int]): Annotation

  45. def withSourceFile(__v: String): Annotation

  46. def writeDelimitedTo(output: OutputStream): Unit

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

    Definition Classes
    AnnotationGeneratedMessage
  48. 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 Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped