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 generateMergeFrom(message: Descriptor)(printer: FunctionalPrinter): FunctionalPrinter

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  45. def javaToScalaConversion(field: FieldDescriptor): Expression

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

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

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

    Definition Classes
    AnyRef
  49. val params: GeneratorParams

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

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

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

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

  54. def scalaFileHeader(file: FileDescriptor): FunctionalPrinter

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

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

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

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

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

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

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

  62. def toBaseTypeExpr(field: FieldDescriptor): LiteralExpression

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

  64. def toCustomTypeExpr(field: FieldDescriptor): LiteralExpression

  65. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DescriptorPimps

Inherited from AnyRef

Inherited from Any

Ungrouped