Class/Object

com.google.protobuf.descriptor.GeneratedCodeInfo

Annotation

Related Docs: object Annotation | package GeneratedCodeInfo

Permalink

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)

    Permalink

    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

    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 addAllPath(__vs: TraversableOnce[Int]): Annotation

    Permalink
  5. def addPath(__vs: Int*): Annotation

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val begin: Option[Int]

    Permalink

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

  8. def clearBegin: Annotation

    Permalink
  9. def clearEnd: Annotation

    Permalink
  10. def clearPath: Annotation

    Permalink
  11. def clearSourceFile: Annotation

    Permalink
  12. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnnotationGeneratedMessage
  14. val end: Option[Int]

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getBegin: Int

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getEnd: Int

    Permalink
  20. def getField(__field: FieldDescriptor): PValue

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

    Permalink
    Definition Classes
    AnnotationGeneratedMessage
  22. def getSourceFile: String

    Permalink
  23. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. val path: Seq[Int]

    Permalink

    Identifies the element in the original source .proto file.

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

  29. final def serializedSize: Int

    Permalink
    Definition Classes
    AnnotationGeneratedMessage
  30. val sourceFile: Option[String]

    Permalink

    Identifies the filesystem path to the original source .proto.

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

    Permalink
    Definition Classes
    AnyRef
  32. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  33. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  34. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  35. 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
    AnnotationGeneratedMessage
  36. def update(ms: (Lens[Annotation, Annotation]) ⇒ Mutation[Annotation]*): Annotation

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withBegin(__v: Int): Annotation

    Permalink
  41. def withEnd(__v: Int): Annotation

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

    Permalink
  43. def withSourceFile(__v: String): Annotation

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

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

    Permalink
    Definition Classes
    AnnotationGeneratedMessage
  46. 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[Annotation]

Inherited from scalapb.Message[Annotation]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped