Public Member Functions | Public Attributes | List of all members
extract_metadata_from_bazel_xml.ExternalProtoLibrary Class Reference

Public Member Functions

def __init__ (self, destination, proto_prefix, urls=None, hash="", strip_prefix="")
 

Public Attributes

 destination
 
 hash
 
 proto_prefix
 
 strip_prefix
 
 urls
 

Detailed Description

ExternalProtoLibrary is the struct about an external proto library.

Fields:
- destination(int): The relative path of this proto library should be.
    Preferably, it should match the submodule path.
- proto_prefix(str): The prefix to remove in order to insure the proto import
    is correct. For more info, see description of
    https://github.com/grpc/grpc/pull/25272.
- urls(List[str]): Following 3 fields should be filled by build metadata from
    Bazel.
- hash(str): The hash of the downloaded archive
- strip_prefix(str): The path to be stripped from the extracted directory, see
    http_archive in Bazel.

Definition at line 50 of file extract_metadata_from_bazel_xml.py.

Constructor & Destructor Documentation

◆ __init__()

def extract_metadata_from_bazel_xml.ExternalProtoLibrary.__init__ (   self,
  destination,
  proto_prefix,
  urls = None,
  hash = "",
  strip_prefix = "" 
)

Definition at line 66 of file extract_metadata_from_bazel_xml.py.

Member Data Documentation

◆ destination

extract_metadata_from_bazel_xml.ExternalProtoLibrary.destination

Definition at line 67 of file extract_metadata_from_bazel_xml.py.

◆ hash

extract_metadata_from_bazel_xml.ExternalProtoLibrary.hash

Definition at line 73 of file extract_metadata_from_bazel_xml.py.

◆ proto_prefix

extract_metadata_from_bazel_xml.ExternalProtoLibrary.proto_prefix

Definition at line 68 of file extract_metadata_from_bazel_xml.py.

◆ strip_prefix

extract_metadata_from_bazel_xml.ExternalProtoLibrary.strip_prefix

Definition at line 74 of file extract_metadata_from_bazel_xml.py.

◆ urls

extract_metadata_from_bazel_xml.ExternalProtoLibrary.urls

Definition at line 70 of file extract_metadata_from_bazel_xml.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:10