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 defaultValueForDefaultInstance(field: FieldDescriptor): Any

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

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

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

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

  17. def fieldAccessorSymbol(field: FieldDescriptor): String

  18. def finalize(): Unit

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

  20. def generateDescriptor(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

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

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

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

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

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

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

  27. def generateInternalFields(message: Descriptor, fp: FunctionalPrinter): FunctionalPrinter

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

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

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

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

  32. def generateScalaFilesForFileDescriptor(file: FileDescriptor): Seq[File]

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

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

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

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

  37. def generateTypeMappers(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

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

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

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

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

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

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

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

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

  46. def javaToScalaConversion(field: FieldDescriptor): Expression

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

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

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

    Definition Classes
    AnyRef
  50. val params: GeneratorParams

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

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

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

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

  55. def scalaFileHeader(file: FileDescriptor): FunctionalPrinter

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

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

  58. final def snakeCaseToCamelCase(name: String, upperInitial: Boolean = false): String

    Attributes
    protected
    Definition Classes
    DescriptorPimps
  59. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  60. final def toAllCaps(name: String): String

    Attributes
    protected
    Definition Classes
    DescriptorPimps
  61. def toBaseFieldType(field: FieldDescriptor): Expression

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

  63. def toBaseTypeExpr(field: FieldDescriptor): LiteralExpression

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

  65. def toCustomTypeExpr(field: FieldDescriptor): LiteralExpression

  66. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DescriptorPimps

Inherited from AnyRef

Inherited from Any

Ungrouped