Annotation Type ProtoConstructor
-
@Target(CONSTRUCTOR) @Retention(SOURCE) public @interface ProtoConstructorUsed with conjunction ofProtoField. It annotates a constructor which has all of its parameters annotated withProtoField. Useful for immutable classes rather than POJOs