package blaze_query

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AllowedRuleClassInfo

build.proto:477

Information about allowed rule classes for a specific attribute of a rule.

Used in: AttributeDefinition

enum AllowedRuleClassInfo.AllowedRuleClasses

build.proto:478

Used in: AllowedRuleClassInfo

message Attribute

build.proto:113

A rule attribute. Each attribute must have a type and one of the various value fields populated - for the most part. Attributes of BOOLEAN and TRISTATE type may set all of the int, bool, and string values for backwards compatibility with clients that expect them to be set. Attributes of INTEGER, STRING, LABEL, LICENSE, BOOLEAN, and TRISTATE type may set *none* of the values. This can happen if the Attribute message is prepared for a client that doesn't support SELECTOR_LIST, but the rule has a selector list value for the attribute. (Selector lists for attributes of other types--the collection types--are handled differently when prepared for such a client. The possible collection values are gathered together and flattened.) By checking the type, the appropriate value can be extracted - see the comments on each type for the associated value. The order of lists comes from the blaze parsing. If an attribute is of a list type, the associated list should never be empty.

Used in: Rule

enum Attribute.Discriminator

build.proto:117

Indicates the type of attribute.

Used in: Attribute, SelectorList, AttributeDefinition

message Attribute.Selector

build.proto:185

Used in: SelectorList

message Attribute.SelectorEntry

build.proto:149

Used in: Selector

message Attribute.SelectorList

build.proto:198

Used in: Attribute

enum Attribute.Tristate

build.proto:143

Values for the TriState field type.

Used in: Attribute, SelectorEntry

message AttributeDefinition

build.proto:493

This message represents a single attribute of a single rule. See https://bazel.build/rules/lib/attr.

Used in: RuleDefinition

message AttributeValue

build.proto:516

An AttributeValue represents the value of an attribute. A single field, determined by the attribute type, is populated. It is used only for AttributeDefinition.default. Attribute and SelectorEntry do their own thing for unfortunate historical reasons.

Used in: AttributeDefinition, AttributeValue.DictEntry

message AttributeValue.DictEntry

build.proto:523

Used in: AttributeValue

message BuildLanguage

build.proto:538

message ConfiguredRuleInput

build.proto:337

Used in: Rule

message EnvironmentGroup

build.proto:371

An environment group.

Used in: Target

message FilesetEntry

build.proto:57

Represents an entry attribute of a Fileset rule in a build file.

Used in: Attribute, Attribute.SelectorEntry

enum FilesetEntry.SymlinkBehavior

build.proto:59

Indicates what to do when a source file is actually a symlink.

Used in: FilesetEntry

message GeneratedFile

build.proto:422

A file that is the output of a build rule.

Used in: Target

message LabelDictUnaryEntry

build.proto:36

Used in: Attribute, Attribute.SelectorEntry

message LabelKeyedStringDictEntry

build.proto:46

Used in: Attribute, Attribute.SelectorEntry

message LabelListDictEntry

build.proto:41

Used in: Attribute, Attribute.SelectorEntry

message License

build.proto:26

Used in: Attribute, Attribute.SelectorEntry, SourceFile

message PackageGroup

build.proto:355

A package group. Aside from the name, it contains the list of packages present in the group (as specified in the BUILD file).

Used in: Target

message QueryResult

build.proto:466

Container for all of the blaze query results.

message Rule

build.proto:279

A rule instance (e.g., cc_library foo, java_binary bar).

Used in: RuleSummary, Target

message RuleDefinition

build.proto:529

Used in: BuildLanguage

message RuleSummary

build.proto:347

Summary of all transitive dependencies of 'rule,' where each dependent rule is included only once in the 'dependency' field. Gives complete information to analyze the single build target labeled rule.name, including optional location of target in BUILD file.

message SourceFile

build.proto:385

A file that is an input into the build system. Next-Id: 10

Used in: Target

message StringDictEntry

build.proto:31

Used in: Attribute, Attribute.SelectorEntry

message StringListDictEntry

build.proto:51

Used in: Attribute, Attribute.SelectorEntry

message Target

build.proto:436

A target from a blaze query execution. Similar to the Attribute message, the Discriminator is used to determine which field contains information. For any given type, only one of these can be populated in a single Target.

Used in: QueryResult

enum Target.Discriminator

build.proto:437

Used in: Target