Skip to content

Commit

Permalink
ProtoSourcesProvider docs: Add link to FileDescriptorSet definition
Browse files Browse the repository at this point in the history
RELNOTES: None.
PiperOrigin-RevId: 205850479
  • Loading branch information
Googler authored and Copybara-Service committed Jul 24, 2018
1 parent c7865d5 commit 78930ae
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,24 @@ public interface ProtoSourcesProviderApi<FileT extends FileApi> {

@SkylarkCallable(
name = "direct_descriptor_set",
doc = "The FileDescriptorSet of the direct sources. If no srcs, contains an empty file. ",
doc =
"The <a href=\""
+ "https://github.com/google/protobuf/search?q=%22message+FileDescriptorSet%22+path%3A%2Fsrc"
+ "\">FileDescriptorSet</a> of the direct sources. "
+ "If no srcs, contains an empty file.",
structField = true
)
public FileT directDescriptorSet();

@SkylarkCallable(
name = "transitive_descriptor_sets",
doc =
"A set of FileDescriptorSet files of all dependent proto_library rules, and this one's. "
"A set of <a href=\""
+ "https://github.com/google/protobuf/search?q=%22message+FileDescriptorSet%22+path%3A%2Fsrc"
+ "\">FileDescriptorSet</a> files of all dependent proto_library rules, "
+ "and this one's. "
+ "This is not the same as passing --include_imports to proto-compiler. "
+ "Will be empty if no dependencies. ",
+ "Will be empty if no dependencies.",
structField = true
)
public NestedSet<FileT> transitiveDescriptorSets();
Expand Down

0 comments on commit 78930ae

Please sign in to comment.