EmittingRules

A set of rules that describes which types to generate.

Despite the builder, instances of this class are not safe for concurrent use.

Identifier Matching

Identifiers in this set may be in the following forms:

  • Package names, followed by .*, like squareup.protos.person.*. This matches types and services defined in the package and its descendant packages.

  • Fully qualified type and service names, like squareup.protos.person.Person.

Identifiers should not contain member names.

This set has included identifiers and excluded identifiers, with the most precise identifier taking precedence over the other ones. For instance, if there is one included identifier a.Movie along an excluded identifier a.*, the type a.Movie is considered included in the set.

If the includes set is empty, that implies that all elements should be included. Use this to exclude unwanted types and members without also including everything else.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Returns true if type should be generated.

Link copied to clipboard
Link copied to clipboard