Public Member Functions | |
def | __init__ (self, destination, proto_prefix, urls=None, hash="", strip_prefix="") |
Public Attributes | |
destination | |
hash | |
proto_prefix | |
strip_prefix | |
urls | |
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.
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.
extract_metadata_from_bazel_xml.ExternalProtoLibrary.destination |
Definition at line 67 of file extract_metadata_from_bazel_xml.py.
extract_metadata_from_bazel_xml.ExternalProtoLibrary.hash |
Definition at line 73 of file extract_metadata_from_bazel_xml.py.
extract_metadata_from_bazel_xml.ExternalProtoLibrary.proto_prefix |
Definition at line 68 of file extract_metadata_from_bazel_xml.py.
extract_metadata_from_bazel_xml.ExternalProtoLibrary.strip_prefix |
Definition at line 74 of file extract_metadata_from_bazel_xml.py.
extract_metadata_from_bazel_xml.ExternalProtoLibrary.urls |
Definition at line 70 of file extract_metadata_from_bazel_xml.py.