grpc/tools/distrib/python/xds_protos
Xuan Wang 9b2898d716 regenerate projects 2024-06-11 23:01:43 +00:00
..
bazel/cc_proto_descriptor_library/testdata [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
contrib/envoy/extensions [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
envoy [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
google Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
opencensus Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
opentelemetry Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
udpa Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
validate Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
xds [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
BUILD.bazel Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
MANIFEST.in [packaging] Publish xds-protos as part of the standard package pipeline (#33797) 2023-07-25 16:41:02 -07:00
README.rst Fix some issues with the xds-protos package (#25999) 2021-04-20 09:23:07 -07:00
__init__.py Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
build.py [Python Modernization] Deprecate pkg_resources (#35849) 2024-02-14 16:44:42 -08:00
generated_file_import_test.py [build] Update `envoy-api` and `xds` dependencies (#35603) 2024-01-23 15:15:47 -08:00
grpc_version.py regenerate projects 2024-06-11 23:01:43 +00:00
setup.py [Python grpcio_tools] Update version requirement of protobuf in grpcio_tools (#36230) 2024-04-11 15:39:29 -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