• Home
Name Date Size #Lines LOC

..--

README.rstD06-Sep-2024774 117

build.pyD06-Sep-20245.8 KiB14695

build_validate_upload.shD06-Sep-20241.2 KiB4014

setup.pyD06-Sep-20241.8 KiB5434

README.rst

1Package "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.
2
3Each 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:
4
5::
6
7  # Import the message definitions
8  from envoy.service.status.v3 import csds_pb2
9  # Import the gRPC service and stub
10  from envoy.service.status.v3 import csds_pb2_grpc
11