DGraphProto not part of source

Any reason why DGraphProto is not part of the source. I started to write my own Classes for doing at lot of the work that is included in that class. Any chance to share source and documentation. Source I have but it is obviously decompiled.


I think it’s because it’s autogenerated using protoc. @abhimanyusinghgaur can correct me if I am wrong.

Yeah! it is auto-generated.

$ cd github.com/dgraph-io/dgraph4j
$ ./gradlew build -DskipTests

and you should get these files

  • github.com/dgraph-io/dgraph4j/src/generated/main/java/io/dgraph/DgraphProto.java
  • github.com/dgraph-io/dgraph4j/src/generated/main/grpc/io/dgraph/DgraphGrpc.java

Here is the original proto file for clients: dgo/api.proto at master · dgraph-io/dgo · GitHub

Thanks will give it a try