Skip to content

A collection of protocol buffers 3 examples written in Java demonstrating possibly more obscure usages

Notifications You must be signed in to change notification settings

kun-zhou/protobuf_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a collection of Java programs demonstrating the use of some of the more obscure features of Protocol Buffer 3.

structure

Proto definitions can be found in src/main/proto.

how to use

To compile, execute gradle installDist from project root.

The following demos are available:

  • FieldMaskDemo: run build/install/protobuf-examples/bin/fieldmask to execute
  • OneofDemo: run build/install/protobuf-examples/bin/oneof to execute
  • NullabilityAndPresenseDemo: run build/install/protobuf-examples/bin/nullability-and-presense to execute
  • JsonToProtobuf: run build/install/protobuf-examples/bin/json-to-protobuf to execute

About

A collection of protocol buffers 3 examples written in Java demonstrating possibly more obscure usages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages