Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 608 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 608 Bytes

Protobuf Null Examples

Java CI

Example use Cases of Protobuf and Null Value Serialization

These examples are referenced in my Medium article.

Each example consists of:

  • API: The protobuf definition
  • Client Impl: Client code that exercises the API
  • Server Imple: Server Code that implements the service

Example One

Using the one of pattern to assign a value to null

Example Field Mask

Uses the FieldMask pattern to send and receive a subset of fields

Example Has

Uses the has methods to send a subset of fields