GeneratedCodeInfo

com.google.protobuf.descriptor.GeneratedCodeInfo
See theGeneratedCodeInfo companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait JavaProtoSupport[GeneratedCodeInfo, GeneratedCodeInfo]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

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

Attributes

Companion
object
Supertypes
trait Updatable[Annotation]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait JavaProtoSupport[Annotation, Annotation]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Annotation.type
implicit class GeneratedCodeInfoLens[UpperPB](_l: Lens[UpperPB, GeneratedCodeInfo]) extends ObjectLens[UpperPB, GeneratedCodeInfo]

Attributes

Supertypes
class ObjectLens[UpperPB, GeneratedCodeInfo]
trait Lens[UpperPB, GeneratedCodeInfo]
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
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 available 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 available in Scala.js or scala-native.

Attributes

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

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def toJavaProto(scalaPbSource: GeneratedCodeInfo): GeneratedCodeInfo

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
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.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: GeneratedCodeInfo): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion

Implicits

Implicits

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