Class ProtoGenerator.WrapperMessage

java.lang.Object
io.github.anupambasak.gradle.plugins.pojo2proto.ProtoGenerator.WrapperMessage
Enclosing class:
ProtoGenerator

public static final class ProtoGenerator.WrapperMessage extends Object
A generated message wrapping a repeated field, used where protobuf does not allow repeated: as a map value (Map<String, List<MyPojo>>) or as the element of another list (List<List<MyPojo>>). message MyPojoList { repeated MyPojo items = 1; }
  • Method Details

    • getName

      public String getName()
    • getElementType

      public String getElementType()
    • getImports

      public Set<String> getImports()