Class ProtoToJavaBeanModelCompiler

  • All Implemented Interfaces:
    ProtoCompiler

    public class ProtoToJavaBeanModelCompiler
    extends STCodeGenerator
    Compiles proto files to protobuf java messages (pojos). Generates a Schema from the proto files.
    • Schemas are always separated from messages
    • Schemas are able to be inherited
    • Schemas have a lot of Annotation/Options to configure compiler output
    • @Transient support for Messages/Enumerations
    • Constructor Detail

      • ProtoToJavaBeanModelCompiler

        public ProtoToJavaBeanModelCompiler()
    • Method Detail

      • getRemoteModelName

        public java.lang.String getRemoteModelName​(org.antlr.stringtemplate.StringTemplateGroup group,
                                                   Message message)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getRemoteModelSchemaName

        public java.lang.String getRemoteModelSchemaName​(org.antlr.stringtemplate.StringTemplateGroup group,
                                                         Message message)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException