Starlark rules for building protocol buffers.
proto_descriptor_set(<a href="#proto_descriptor_set-name">name</a>, <a href="#proto_descriptor_set-deps">deps</a>)
Collects all FileDescriptorSets from deps and combines them into a single FileDescriptorSet containing all the FileDescriptorProto.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| deps | Sequence of ProtoInfos to collect FileDescriptorSets from. | List of labels | optional | [] |
proto_lang_toolchain(<a href="#proto_lang_toolchain-name">name</a>, <a href="#proto_lang_toolchain-toolchain_type">toolchain_type</a>, <a href="#proto_lang_toolchain-exec_compatible_with">exec_compatible_with</a>, <a href="#proto_lang_toolchain-target_compatible_with">target_compatible_with</a>, <a href="#proto_lang_toolchain-attrs">attrs</a>)
Creates a proto_lang_toolchain and corresponding toolchain target.
Toolchain target is only created when toolchain_type is set.
https://docs.bazel.build/versions/master/be/protocol-buffer.html#proto_lang_toolchain
PARAMETERS
proto_library(<a href="#proto_library-attrs">attrs</a>)
Bazel proto_library rule.
https://docs.bazel.build/versions/master/be/protocol-buffer.html#proto_library
PARAMETERS
| Name | Description | Default Value |
|---|---|---|
| attrs | Rule attributes | none |
proto_toolchain(<a href="#proto_toolchain-name">name</a>, <a href="#proto_toolchain-proto_compiler">proto_compiler</a>, <a href="#proto_toolchain-exec_compatible_with">exec_compatible_with</a>)
Creates a proto_toolchain and toolchain target for proto_library.
Toolchain target is suffixed with “_toolchain”.
PARAMETERS