Get desktop application:
View/edit binary Protocol Buffers messages
Will be filled in via Timestamp().ToJsonString().
Repeated field to lint each API symbol in the package as traversed by the api_generator.
This message tracks the symbol and the statistics of the lints that are run on the docstring of the symbol.
Used in:
The full name of the symbol being linted.
The type of object the symbol is.
Statistics after linting the parameters of the docstring of the symbol.
Statistics after linting the description of the docstring of the symbol.
Statistics after linting the usage examples in the docstring of the symbol.
Statistics after linting the return blocks in the docstring of the symbol.
Statistics after linting the raises blocks in the docstring of the symbol.
The package group a symbol belongs too. For example: tf.keras.layers.Conv2D -> tf.keras tf.Variable -> tf tf.Variable.assign (method) -> tf tf.data.tensor_slices -> tf.data
This message is used to track the description of a docstring. It tracks the one-line brief and the multi-line description.
Used in:
Length of the one line brief description of a docstring. If 0, it means that the one line brief doesn't exist.
Length of the multi-line description of a docstring. If 0, it means that the multi-line description doesn't exist.
This Enum is used to describe the type of object. `api_generator` traverses and extracts docstrings from the objects in the pip package of a library.
Used in:
This message is used to track the parameters in a docstring and lint it. This includes `Args` and `Attributes`.
Used in:
The number of empty parameter descriptions that are present in the args section of a docstring.
The total number of parameters in the signature of an method/function.
The number of empty parameter descriptions that are present in the attributes section of a docstring.
The total number of parameters in the attributes section of a docstring.
The total number of parameters in the args section of a docstring.
This message is used to track if `Raises` is defined in a docstring if `raise` keyword is used in the code.
Used in:
Number of raises that are defined in the docstring. If two raises are of the same name (`ValueError`) but the error raised is different then both of them should be documented.
Total number of unique raises that are present in the code.
This message is used to track if `Returns` is defined in a docstring if `return` keyword is used in the code.
Used in:
Whether a `Returns` block exists in the docstring.
This message is used to track the examples in a docstring that demonstrate how to use that API.
Used in:
Number of testable examples in a docstring. go/testable-docstrings describes how to write a testable example.
Number of untested examples in a docstring. These examples are usually wrapped in triple backticks (```).