Add `Operation.deserialize`. (#7427)

This commit adds a `deserialize` method to the Operation object.
The class method is a helper to deserialize the serialized protobuf
operation messages.
2 files changed