GAPIC Proto Compiler Plugin
The GAPIC Proto Compiler Plugin is used to add functionality to protobuf generated types. The additional functionality is required by client libraries generated using the GAPIC code generation tool, which reside in the Toolkit repository.
Currently, this means generating resource name types in Java. The new resource name types will be accessible via getter and setter methods added to the generated types.
Python Versions
GAPIC Proto Compiler Plugin is currently tested with Python 2.7, 3.4, 3.5 and 3.6.
Contributing
Contributions to this library are always welcome and highly encouraged.
See the CONTRIBUTING documentation for more information on how to get started.
Versioning
This library follows Semantic Versioning
It is currently in major version zero (0.y.z
), which means that anything
may change at any time and the public API should not be considered
stable.
License
BSD - See LICENSE for more information.
Development
Install the dependencies below.
* pip install ply pytest tox
Set up the googleapis
directory.
* REPO_PATH=`pwd`
* cd ~/development
* git clone git@github.com:googleapis/googleapis.git
* cd $REPO_PATH
* ln -s ~/development/googleapis ./googleapis
Testing
Please ensure that there are no bazel-*
directories in this repo or
in the googleapis
repo. These can be removed by running bazel clean
.
Testing is as simple as running tox
.