You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2017/09/27 20:36:00 UTC
[jira] [Created] (BEAM-2997) Encapsulate all proto enum types
within a message so that they are namespaced in C++/Python
Luke Cwik created BEAM-2997:
-------------------------------
Summary: Encapsulate all proto enum types within a message so that they are namespaced in C++/Python
Key: BEAM-2997
URL: https://issues.apache.org/jira/browse/BEAM-2997
Project: Beam
Issue Type: Improvement
Components: beam-model, sdk-java-core, sdk-py-core
Reporter: Luke Cwik
Assignee: Luke Cwik
Python/C++ dump enums into the parent namespace. By placing the enum within a containing message, we can provide a meaningful name for enums and avoid collisions in names.
See:
https://developers.google.com/protocol-buffers/docs/cpptutorial#enums-and-nested-classes
https://developers.google.com/protocol-buffers/docs/pythontutorial#enums
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)