com.trueaccord.scalapb.compiler

ProtobufGenerator

class ProtobufGenerator extends DescriptorPimps

Linear Supertypes
DescriptorPimps, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProtobufGenerator
  2. DescriptorPimps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProtobufGenerator(params: GeneratorParams)

Type Members

  1. implicit class AsSymbolPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  2. implicit class EnumDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  3. implicit class EnumValueDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  4. implicit class FieldDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  5. implicit class FileDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  6. implicit class MessageDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  7. implicit final class MethodDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  8. implicit class OneofDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps
  9. implicit final class ServiceDescriptorPimp extends AnyRef

    Definition Classes
    DescriptorPimps

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. val SCALA_RESERVED_WORDS: Set[String]

    Definition Classes
    DescriptorPimps
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def assignScalaFieldToJava(scalaObject: String, javaObject: String, field: FieldDescriptor): String

  9. def assignScalaMapToJava(scalaObject: String, javaObject: String, field: FieldDescriptor): String

  10. def baseName(fileName: String): String

    Definition Classes
    DescriptorPimps
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def createFileDescriptorCompanionObject(file: FileDescriptor)(fp: FunctionalPrinter): FunctionalPrinter

  13. def defaultValueForDefaultInstance(field: FieldDescriptor): Any

  14. def defaultValueForGet(field: FieldDescriptor, uncustomized: Boolean = false): Any

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

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def escapeString(raw: String): String

  18. def fieldAccessorSymbol(field: FieldDescriptor): String

  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def generateDefaultInstance(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  21. def generateDescriptors(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  22. def generateEnumCompanionForField(message: Descriptor)(fp: FunctionalPrinter): FunctionalPrinter

  23. def generateFieldNumbers(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  24. def generateFileDescriptor(file: FileDescriptor)(fp: FunctionalPrinter): FunctionalPrinter

  25. def generateFromFieldsMap(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  26. def generateFromJavaProto(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  27. def generateGetField(message: Descriptor)(fp: FunctionalPrinter): FunctionalPrinter

  28. def generateGetFieldPValue(message: Descriptor)(fp: FunctionalPrinter): FunctionalPrinter

  29. def generateMergeFrom(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  30. def generateMessageCompanion(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  31. def generateMessageCompanionForField(message: Descriptor)(fp: FunctionalPrinter): FunctionalPrinter

  32. def generateMessageLens(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  33. def generateMessageReads(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  34. def generateMultipleScalaFilesForFileDescriptor(file: FileDescriptor): Seq[File]

  35. def generateScalaDoc(message: Descriptor): (FunctionalPrinter) ⇒ FunctionalPrinter

  36. def generateSerializedSize(message: Descriptor)(fp: FunctionalPrinter): FunctionalPrinter

  37. def generateSerializedSizeForField(fp: FunctionalPrinter, field: FieldDescriptor): FunctionalPrinter

  38. def generateSerializedSizeForPackedFields(message: Descriptor)(fp: FunctionalPrinter): FunctionalPrinter

  39. def generateServiceFiles(file: FileDescriptor): Seq[File]

  40. def generateSingleScalaFileForFileDescriptor(file: FileDescriptor): Seq[File]

  41. def generateToJavaProto(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  42. def generateTypeMappers(fields: Seq[FieldDescriptor])(printer: FunctionalPrinter): FunctionalPrinter

  43. def generateTypeMappersForMapEntry(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  44. def generateWriteSingleValue(field: FieldDescriptor, valueExpr: String)(fp: FunctionalPrinter): FunctionalPrinter

  45. def generateWriteTo(message: Descriptor)(fp: FunctionalPrinter): FunctionalPrinter

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

    Definition Classes
    AnyRef → Any
  47. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  48. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  49. def javaFieldToScala(container: String, field: FieldDescriptor): String

  50. def javaFieldToScala(javaHazzer: String, javaGetter: String, field: FieldDescriptor): String

  51. def javaMapFieldToScala(container: String, field: FieldDescriptor): String

  52. def javaToScalaConversion(field: FieldDescriptor): Expression

  53. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  56. val params: GeneratorParams

    Definition Classes
    ProtobufGeneratorDescriptorPimps
  57. def printConstructorFieldList(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

  58. def printEnum(printer: FunctionalPrinter, e: EnumDescriptor): FunctionalPrinter

  59. def printExtension(fp: FunctionalPrinter, fd: FieldDescriptor): FunctionalPrinter

  60. def printMessage(printer: FunctionalPrinter, message: Descriptor): FunctionalPrinter

  61. def printOneof(printer: FunctionalPrinter, e: OneofDescriptor): FunctionalPrinter

  62. def scalaFileHeader(file: FileDescriptor): FunctionalPrinter

  63. def scalaToJava(field: FieldDescriptor, boxPrimitives: Boolean): Expression

  64. def singleFieldAsPvalue(fd: FieldDescriptor): LiteralExpression

  65. def sizeExpressionForSingleField(field: FieldDescriptor, expr: String): String

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

    Definition Classes
    AnyRef
  67. def toBaseFieldType(field: FieldDescriptor): Expression

  68. def toBaseFieldTypeWithScalaDescriptors(field: FieldDescriptor): Expression

  69. def toBaseType(field: FieldDescriptor)(expr: String): String

  70. def toBaseTypeExpr(field: FieldDescriptor): LiteralExpression

  71. def toCustomType(field: FieldDescriptor)(expr: String): String

  72. def toCustomTypeExpr(field: FieldDescriptor): LiteralExpression

  73. def toString(): String

    Definition Classes
    AnyRef → Any
  74. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DescriptorPimps

Inherited from AnyRef

Inherited from Any

Ungrouped