Prevent the serialization of a specific field with protocol buffers -


I am considering using .proto files as a definition of my components in an organization-system architecture.

This will keep things easy for the network serialization of my components but I have a request: Is it possible to stop any field from being serialized?

An example would be a property component in which x, y, boodex, old man may need old and old for old purposes, but I do not necessarily need to serial those areas, Which are not used on the other side of the network.

I need the flexibility of .proto files so what I want to do with the generating class, I will disregard the purpose of this, maybe I can do something at the protocol level?

If I understand your question, you can specify a message to specify the field rules section Fields under "Optional" .proto file


Comments

Popular posts from this blog

c# - Highlight all words containing a letter in a richtextbox -

Editing Python Class in Shell and SQLAlchemy -

java - JavaFX WebEngine Video Playback in Linux -