Class ProtoGenerator.WrapperMessage
java.lang.Object
io.github.anupambasak.gradle.plugins.pojo2proto.ProtoGenerator.WrapperMessage
- Enclosing class:
ProtoGenerator
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
-
getProtoPackage
The proto package the wrapper is generated in (the package of the first message that needed it). -
getFile
Path of the wrapper's own .proto file, relative to the destination; also its import path. -
getElementType
-
getImports
-