vmware-archive / haret

A strongly consistent distributed coordination system, built using proven protocols & implemented in Rust.
461 stars 18 forks source link

Use proto2 instead of proto3 because of java output #83

Closed andrewjstone closed 7 years ago

andrewjstone commented 7 years ago

HasXXX methods are not generated for most messages in proto3 java code generation. We need these due to the use of oneof everywhere, so we revert to proto2. Since we don't require any proto3 specific features this is fine.

make optional_version in messages.proto optional