Interface SerializationContextInitializer


  • public interface SerializationContextInitializer
    An interface to be used in conjunction with AutoProtoSchemaBuilder annotation. Just create an abstract class implementing this interface or an interface extending it and annotate it and the compiler (via a custom annotation processor) will generate a concrete implementation of it for you to use. This is a compile-time equivalent of ProtoSchemaBuilder.
    Since:
    4.3
    Author:
    [email protected]
    • Method Detail

      • getProtoFileName

        String getProtoFileName()
        Returns the name of the proto file (which is allowed to contain slashes, so it could look like a path).