GeneratedCodeInfo

Companion:
class
trait Product
trait Mirror
trait JavaProtoSupport[GeneratedCodeInfo, GeneratedCodeInfo]
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Annotation(path: Seq[Int], sourceFile: Option[String], begin: Option[Int], end: Option[Int], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Annotation]
Value parameters:
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).

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.

Companion:
object
implicit class GeneratedCodeInfoLens[UpperPB](_l: Lens[UpperPB, GeneratedCodeInfo]) extends ObjectLens[UpperPB, GeneratedCodeInfo]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type ValueType = A

Value members

Concrete methods

def fromJavaProto(javaPbSource: GeneratedCodeInfo): GeneratedCodeInfo
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

def of(annotation: Seq[Annotation]): GeneratedCodeInfo
def parseFrom(`_input__`: CodedInputStream): GeneratedCodeInfo

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

def toJavaProto(scalaPbSource: GeneratedCodeInfo): GeneratedCodeInfo

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
def fromAscii(s: String): A
def merge(a: GeneratedCodeInfo, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]
def parseDelimitedFrom(input: CodedInputStream): Option[A]
def parseFrom(s: Array[Byte]): A
def parseFrom(input: InputStream): A
def streamFromDelimitedInput(input: InputStream): Stream[A]
def toByteArray(a: GeneratedCodeInfo): Array[Byte]
def validate(s: Array[Byte]): Try[A]
def validateAscii(s: String): Either[TextFormatError, A]

Implicits

Implicits

final implicit def GeneratedCodeInfoLens[UpperPB](_l: Lens[UpperPB, GeneratedCodeInfo]): GeneratedCodeInfoLens[UpperPB]