grpc/tools/distrib/python/xds_protos
Lidi Zheng eb4b65ae5a
Add opentelemetry as a submodule for latest xDS API (#26850)
* Add opentelemetry

* Python changes for opentelemetry

* Add opentelemetry to check submodules
2021-08-02 12:42:44 -07:00
..
README.rst Fix some issues with the xds-protos package (#25999) 2021-04-20 09:23:07 -07:00
build.py Add opentelemetry as a submodule for latest xDS API (#26850) 2021-08-02 12:42:44 -07:00
build_validate_upload.sh Remove Python 2.7 binary wheel generations (#26691) 2021-07-23 08:20:39 -07:00
setup.py Add opentelemetry as a submodule for latest xDS API (#26850) 2021-08-02 12:42:44 -07:00

README.rst

Package "xds-protos" is a collection of ProtoBuf generated Python files for xDS protos (or the `data-plane-api <https://github.com/envoyproxy/data-plane-api>`_). You can find the source code of this project in `grpc/grpc <https://github.com/grpc/grpc>`_. For any question or suggestion, please post to https://github.com/grpc/grpc/issues.

Each generated Python file can be imported according to their proto package. For example, if we are trying to import a proto located at "envoy/service/status/v3/csds.proto", whose proto package is "package envoy.service.status.v3", then we can import it as:

::

  # Import the message definitions
  from envoy.service.status.v3 import csds_pb2
  # Import the gRPC service and stub
  from envoy.service.status.v3 import csds_pb2_grpc