Class Build.Rule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Build.Rule.Builder>
com.google.devtools.build.lib.query2.proto.proto2api.Build.Rule.Builder
- All Implemented Interfaces:
Build.RuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Build.Rule
public static final class Build.Rule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Build.Rule.Builder>
implements Build.RuleOrBuilder
A rule instance (e.g., cc_library foo, java_binary bar).Protobuf type
blaze_query.Rule-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttribute(Iterable<? extends Build.Attribute> values) All of the attributes that describe the rule.addAllConfiguredRuleInput(Iterable<? extends Build.ConfiguredRuleInput> values) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;addAllDefaultSetting(Iterable<String> values) The set of all "features" inherited from the rule's package declaration.addAllDefinitionStack(Iterable<String> values) The Starlark call stack for the definition of the rule class of this particular rule instance.addAllInstantiationStack(Iterable<String> values) The Starlark call stack at the moment the rule was instantiated.addAllRuleInput(Iterable<String> values) All of the inputs to the rule (formatted as absolute labels).addAllRuleOutput(Iterable<String> values) All of the outputs of the rule (formatted as absolute labels).addAttribute(int index, Build.Attribute value) All of the attributes that describe the rule.addAttribute(int index, Build.Attribute.Builder builderForValue) All of the attributes that describe the rule.addAttribute(Build.Attribute value) All of the attributes that describe the rule.addAttribute(Build.Attribute.Builder builderForValue) All of the attributes that describe the rule.All of the attributes that describe the rule.addAttributeBuilder(int index) All of the attributes that describe the rule.addConfiguredRuleInput(int index, Build.ConfiguredRuleInput value) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;addConfiguredRuleInput(int index, Build.ConfiguredRuleInput.Builder builderForValue) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;addConfiguredRuleInput(Build.ConfiguredRuleInput.Builder builderForValue) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;addConfiguredRuleInputBuilder(int index) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;addDefaultSetting(String value) The set of all "features" inherited from the rule's package declaration.addDefaultSettingBytes(com.google.protobuf.ByteString value) The set of all "features" inherited from the rule's package declaration.addDefinitionStack(String value) The Starlark call stack for the definition of the rule class of this particular rule instance.addDefinitionStackBytes(com.google.protobuf.ByteString value) The Starlark call stack for the definition of the rule class of this particular rule instance.addInstantiationStack(String value) The Starlark call stack at the moment the rule was instantiated.addInstantiationStackBytes(com.google.protobuf.ByteString value) The Starlark call stack at the moment the rule was instantiated.addRuleInput(String value) All of the inputs to the rule (formatted as absolute labels).addRuleInputBytes(com.google.protobuf.ByteString value) All of the inputs to the rule (formatted as absolute labels).addRuleOutput(String value) All of the outputs of the rule (formatted as absolute labels).addRuleOutputBytes(com.google.protobuf.ByteString value) All of the outputs of the rule (formatted as absolute labels).build()clear()All of the attributes that describe the rule.repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;The set of all "features" inherited from the rule's package declaration.The Starlark call stack for the definition of the rule class of this particular rule instance.optional bool DEPRECATED_is_skylark = 10;The rule's class's public by default value.The Starlark call stack at the moment the rule was instantiated.The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated.The name of the rule (formatted as an absolute label, e.g.The rule class name (e.g., java_library).Stardoc-format rule class API definition for this rule.A key uniquely identifying the rule's rule class.All of the inputs to the rule (formatted as absolute labels).All of the outputs of the rule (formatted as absolute labels).Hash encapsulating the behavior of this Starlark rule.getAttribute(int index) All of the attributes that describe the rule.getAttributeBuilder(int index) All of the attributes that describe the rule.All of the attributes that describe the rule.intAll of the attributes that describe the rule.All of the attributes that describe the rule.getAttributeOrBuilder(int index) All of the attributes that describe the rule.List<? extends Build.AttributeOrBuilder>All of the attributes that describe the rule.getConfiguredRuleInput(int index) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;getConfiguredRuleInputBuilder(int index) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;intrepeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;getConfiguredRuleInputOrBuilder(int index) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;List<? extends Build.ConfiguredRuleInputOrBuilder>repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;getDefaultSetting(int index) The set of all "features" inherited from the rule's package declaration.com.google.protobuf.ByteStringgetDefaultSettingBytes(int index) The set of all "features" inherited from the rule's package declaration.intThe set of all "features" inherited from the rule's package declaration.com.google.protobuf.ProtocolStringListThe set of all "features" inherited from the rule's package declaration.getDefinitionStack(int index) The Starlark call stack for the definition of the rule class of this particular rule instance.com.google.protobuf.ByteStringgetDefinitionStackBytes(int index) The Starlark call stack for the definition of the rule class of this particular rule instance.intThe Starlark call stack for the definition of the rule class of this particular rule instance.com.google.protobuf.ProtocolStringListThe Starlark call stack for the definition of the rule class of this particular rule instance.booleanoptional bool DEPRECATED_is_skylark = 10;booleanThe rule's class's public by default value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInstantiationStack(int index) The Starlark call stack at the moment the rule was instantiated.com.google.protobuf.ByteStringgetInstantiationStackBytes(int index) The Starlark call stack at the moment the rule was instantiated.intThe Starlark call stack at the moment the rule was instantiated.com.google.protobuf.ProtocolStringListThe Starlark call stack at the moment the rule was instantiated.The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated.com.google.protobuf.ByteStringThe BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated.getName()The name of the rule (formatted as an absolute label, e.g.com.google.protobuf.ByteStringThe name of the rule (formatted as an absolute label, e.g.The rule class name (e.g., java_library).com.google.protobuf.ByteStringThe rule class name (e.g., java_library).Stardoc-format rule class API definition for this rule.Stardoc-format rule class API definition for this rule.Stardoc-format rule class API definition for this rule.A key uniquely identifying the rule's rule class.com.google.protobuf.ByteStringA key uniquely identifying the rule's rule class.getRuleInput(int index) All of the inputs to the rule (formatted as absolute labels).com.google.protobuf.ByteStringgetRuleInputBytes(int index) All of the inputs to the rule (formatted as absolute labels).intAll of the inputs to the rule (formatted as absolute labels).com.google.protobuf.ProtocolStringListAll of the inputs to the rule (formatted as absolute labels).getRuleOutput(int index) All of the outputs of the rule (formatted as absolute labels).com.google.protobuf.ByteStringgetRuleOutputBytes(int index) All of the outputs of the rule (formatted as absolute labels).intAll of the outputs of the rule (formatted as absolute labels).com.google.protobuf.ProtocolStringListAll of the outputs of the rule (formatted as absolute labels).Hash encapsulating the behavior of this Starlark rule.com.google.protobuf.ByteStringHash encapsulating the behavior of this Starlark rule.booleanoptional bool DEPRECATED_is_skylark = 10;booleanThe rule's class's public by default value.booleanThe BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated.booleanhasName()The name of the rule (formatted as an absolute label, e.g.booleanThe rule class name (e.g., java_library).booleanStardoc-format rule class API definition for this rule.booleanA key uniquely identifying the rule's rule class.booleanHash encapsulating the behavior of this Starlark rule.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Build.Rule other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Stardoc-format rule class API definition for this rule.removeAttribute(int index) All of the attributes that describe the rule.removeConfiguredRuleInput(int index) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;setAttribute(int index, Build.Attribute value) All of the attributes that describe the rule.setAttribute(int index, Build.Attribute.Builder builderForValue) All of the attributes that describe the rule.setConfiguredRuleInput(int index, Build.ConfiguredRuleInput value) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;setConfiguredRuleInput(int index, Build.ConfiguredRuleInput.Builder builderForValue) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;setDefaultSetting(int index, String value) The set of all "features" inherited from the rule's package declaration.setDefinitionStack(int index, String value) The Starlark call stack for the definition of the rule class of this particular rule instance.setDEPRECATEDIsSkylark(boolean value) optional bool DEPRECATED_is_skylark = 10;setDEPRECATEDPublicByDefault(boolean value) The rule's class's public by default value.setInstantiationStack(int index, String value) The Starlark call stack at the moment the rule was instantiated.setLocation(String value) The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated.setLocationBytes(com.google.protobuf.ByteString value) The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated.The name of the rule (formatted as an absolute label, e.g.setNameBytes(com.google.protobuf.ByteString value) The name of the rule (formatted as an absolute label, e.g.setRuleClass(String value) The rule class name (e.g., java_library).setRuleClassBytes(com.google.protobuf.ByteString value) The rule class name (e.g., java_library).Stardoc-format rule class API definition for this rule.setRuleClassInfo(StardocOutputProtos.RuleInfo.Builder builderForValue) Stardoc-format rule class API definition for this rule.setRuleClassKey(String value) A key uniquely identifying the rule's rule class.setRuleClassKeyBytes(com.google.protobuf.ByteString value) A key uniquely identifying the rule's rule class.setRuleInput(int index, String value) All of the inputs to the rule (formatted as absolute labels).setRuleOutput(int index, String value) All of the outputs of the rule (formatted as absolute labels).Hash encapsulating the behavior of this Starlark rule.setSkylarkEnvironmentHashCodeBytes(com.google.protobuf.ByteString value) Hash encapsulating the behavior of this Starlark rule.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Build.Rule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Build.Rule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Build.Rule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.Rule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Build.Rule.Builder>
-
mergeFrom
public Build.Rule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.Rule.Builder>- Throws:
IOException
-
hasName
public boolean hasName()The name of the rule (formatted as an absolute label, e.g. //foo/bar:baz).
required string name = 1;- Specified by:
hasNamein interfaceBuild.RuleOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the rule (formatted as an absolute label, e.g. //foo/bar:baz).
required string name = 1;- Specified by:
getNamein interfaceBuild.RuleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the rule (formatted as an absolute label, e.g. //foo/bar:baz).
required string name = 1;- Specified by:
getNameBytesin interfaceBuild.RuleOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the rule (formatted as an absolute label, e.g. //foo/bar:baz).
required string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the rule (formatted as an absolute label, e.g. //foo/bar:baz).
required string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the rule (formatted as an absolute label, e.g. //foo/bar:baz).
required string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasRuleClass
public boolean hasRuleClass()The rule class name (e.g., java_library). Note that the rule class name may not uniquely identify a rule class, since two different .bzl files may define different rule classes with the same name. To uniquely identify the rule class, see rule_class_key field below.
required string rule_class = 2;- Specified by:
hasRuleClassin interfaceBuild.RuleOrBuilder- Returns:
- Whether the ruleClass field is set.
-
getRuleClass
The rule class name (e.g., java_library). Note that the rule class name may not uniquely identify a rule class, since two different .bzl files may define different rule classes with the same name. To uniquely identify the rule class, see rule_class_key field below.
required string rule_class = 2;- Specified by:
getRuleClassin interfaceBuild.RuleOrBuilder- Returns:
- The ruleClass.
-
getRuleClassBytes
public com.google.protobuf.ByteString getRuleClassBytes()The rule class name (e.g., java_library). Note that the rule class name may not uniquely identify a rule class, since two different .bzl files may define different rule classes with the same name. To uniquely identify the rule class, see rule_class_key field below.
required string rule_class = 2;- Specified by:
getRuleClassBytesin interfaceBuild.RuleOrBuilder- Returns:
- The bytes for ruleClass.
-
setRuleClass
The rule class name (e.g., java_library). Note that the rule class name may not uniquely identify a rule class, since two different .bzl files may define different rule classes with the same name. To uniquely identify the rule class, see rule_class_key field below.
required string rule_class = 2;- Parameters:
value- The ruleClass to set.- Returns:
- This builder for chaining.
-
clearRuleClass
The rule class name (e.g., java_library). Note that the rule class name may not uniquely identify a rule class, since two different .bzl files may define different rule classes with the same name. To uniquely identify the rule class, see rule_class_key field below.
required string rule_class = 2;- Returns:
- This builder for chaining.
-
setRuleClassBytes
The rule class name (e.g., java_library). Note that the rule class name may not uniquely identify a rule class, since two different .bzl files may define different rule classes with the same name. To uniquely identify the rule class, see rule_class_key field below.
required string rule_class = 2;- Parameters:
value- The bytes for ruleClass to set.- Returns:
- This builder for chaining.
-
hasLocation
public boolean hasLocation()The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated. The line number will be that of a rule invocation or macro call (that in turn invoked a rule). See https://bazel.build/rules/macros#macro-creation
optional string location = 3;- Specified by:
hasLocationin interfaceBuild.RuleOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated. The line number will be that of a rule invocation or macro call (that in turn invoked a rule). See https://bazel.build/rules/macros#macro-creation
optional string location = 3;- Specified by:
getLocationin interfaceBuild.RuleOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated. The line number will be that of a rule invocation or macro call (that in turn invoked a rule). See https://bazel.build/rules/macros#macro-creation
optional string location = 3;- Specified by:
getLocationBytesin interfaceBuild.RuleOrBuilder- Returns:
- The bytes for location.
-
setLocation
The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated. The line number will be that of a rule invocation or macro call (that in turn invoked a rule). See https://bazel.build/rules/macros#macro-creation
optional string location = 3;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated. The line number will be that of a rule invocation or macro call (that in turn invoked a rule). See https://bazel.build/rules/macros#macro-creation
optional string location = 3;- Returns:
- This builder for chaining.
-
setLocationBytes
The BUILD file and line number of the location (formatted as <absolute_path>:<line_number>:<column_number>) in the rule's package's BUILD file where the rule instance was instantiated. The line number will be that of a rule invocation or macro call (that in turn invoked a rule). See https://bazel.build/rules/macros#macro-creation
optional string location = 3;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
getAttributeList
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4;- Specified by:
getAttributeListin interfaceBuild.RuleOrBuilder
-
getAttributeCount
public int getAttributeCount()All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4;- Specified by:
getAttributeCountin interfaceBuild.RuleOrBuilder
-
getAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4;- Specified by:
getAttributein interfaceBuild.RuleOrBuilder
-
setAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
setAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
addAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
addAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
addAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
addAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
addAllAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
clearAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
removeAttribute
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
getAttributeBuilder
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
getAttributeOrBuilder
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4;- Specified by:
getAttributeOrBuilderin interfaceBuild.RuleOrBuilder
-
getAttributeOrBuilderList
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4;- Specified by:
getAttributeOrBuilderListin interfaceBuild.RuleOrBuilder
-
addAttributeBuilder
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
addAttributeBuilder
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
getAttributeBuilderList
All of the attributes that describe the rule.
repeated .blaze_query.Attribute attribute = 4; -
getRuleInputList
public com.google.protobuf.ProtocolStringList getRuleInputList()All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Specified by:
getRuleInputListin interfaceBuild.RuleOrBuilder- Returns:
- A list containing the ruleInput.
-
getRuleInputCount
public int getRuleInputCount()All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Specified by:
getRuleInputCountin interfaceBuild.RuleOrBuilder- Returns:
- The count of ruleInput.
-
getRuleInput
All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Specified by:
getRuleInputin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ruleInput at the given index.
-
getRuleInputBytes
public com.google.protobuf.ByteString getRuleInputBytes(int index) All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Specified by:
getRuleInputBytesin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ruleInput at the given index.
-
setRuleInput
All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Parameters:
index- The index to set the value at.value- The ruleInput to set.- Returns:
- This builder for chaining.
-
addRuleInput
All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Parameters:
value- The ruleInput to add.- Returns:
- This builder for chaining.
-
addAllRuleInput
All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Parameters:
values- The ruleInput to add.- Returns:
- This builder for chaining.
-
clearRuleInput
All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Returns:
- This builder for chaining.
-
addRuleInputBytes
All of the inputs to the rule (formatted as absolute labels). These are predecessors in the dependency graph.
repeated string rule_input = 5;- Parameters:
value- The bytes of the ruleInput to add.- Returns:
- This builder for chaining.
-
getConfiguredRuleInputList
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;- Specified by:
getConfiguredRuleInputListin interfaceBuild.RuleOrBuilder
-
getConfiguredRuleInputCount
public int getConfiguredRuleInputCount()repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;- Specified by:
getConfiguredRuleInputCountin interfaceBuild.RuleOrBuilder
-
getConfiguredRuleInput
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;- Specified by:
getConfiguredRuleInputin interfaceBuild.RuleOrBuilder
-
setConfiguredRuleInput
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
setConfiguredRuleInput
public Build.Rule.Builder setConfiguredRuleInput(int index, Build.ConfiguredRuleInput.Builder builderForValue) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
addConfiguredRuleInput
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
addConfiguredRuleInput
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
addConfiguredRuleInput
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
addConfiguredRuleInput
public Build.Rule.Builder addConfiguredRuleInput(int index, Build.ConfiguredRuleInput.Builder builderForValue) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
addAllConfiguredRuleInput
public Build.Rule.Builder addAllConfiguredRuleInput(Iterable<? extends Build.ConfiguredRuleInput> values) repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
clearConfiguredRuleInput
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
removeConfiguredRuleInput
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
getConfiguredRuleInputBuilder
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
getConfiguredRuleInputOrBuilder
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;- Specified by:
getConfiguredRuleInputOrBuilderin interfaceBuild.RuleOrBuilder
-
getConfiguredRuleInputOrBuilderList
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;- Specified by:
getConfiguredRuleInputOrBuilderListin interfaceBuild.RuleOrBuilder
-
addConfiguredRuleInputBuilder
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
addConfiguredRuleInputBuilder
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
getConfiguredRuleInputBuilderList
repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15; -
getRuleOutputList
public com.google.protobuf.ProtocolStringList getRuleOutputList()All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Specified by:
getRuleOutputListin interfaceBuild.RuleOrBuilder- Returns:
- A list containing the ruleOutput.
-
getRuleOutputCount
public int getRuleOutputCount()All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Specified by:
getRuleOutputCountin interfaceBuild.RuleOrBuilder- Returns:
- The count of ruleOutput.
-
getRuleOutput
All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Specified by:
getRuleOutputin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ruleOutput at the given index.
-
getRuleOutputBytes
public com.google.protobuf.ByteString getRuleOutputBytes(int index) All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Specified by:
getRuleOutputBytesin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ruleOutput at the given index.
-
setRuleOutput
All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Parameters:
index- The index to set the value at.value- The ruleOutput to set.- Returns:
- This builder for chaining.
-
addRuleOutput
All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Parameters:
value- The ruleOutput to add.- Returns:
- This builder for chaining.
-
addAllRuleOutput
All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Parameters:
values- The ruleOutput to add.- Returns:
- This builder for chaining.
-
clearRuleOutput
All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Returns:
- This builder for chaining.
-
addRuleOutputBytes
All of the outputs of the rule (formatted as absolute labels). These are successors in the dependency graph.
repeated string rule_output = 6;- Parameters:
value- The bytes of the ruleOutput to add.- Returns:
- This builder for chaining.
-
getDefaultSettingList
public com.google.protobuf.ProtocolStringList getDefaultSettingList()The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Specified by:
getDefaultSettingListin interfaceBuild.RuleOrBuilder- Returns:
- A list containing the defaultSetting.
-
getDefaultSettingCount
public int getDefaultSettingCount()The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Specified by:
getDefaultSettingCountin interfaceBuild.RuleOrBuilder- Returns:
- The count of defaultSetting.
-
getDefaultSetting
The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Specified by:
getDefaultSettingin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The defaultSetting at the given index.
-
getDefaultSettingBytes
public com.google.protobuf.ByteString getDefaultSettingBytes(int index) The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Specified by:
getDefaultSettingBytesin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the defaultSetting at the given index.
-
setDefaultSetting
The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Parameters:
index- The index to set the value at.value- The defaultSetting to set.- Returns:
- This builder for chaining.
-
addDefaultSetting
The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Parameters:
value- The defaultSetting to add.- Returns:
- This builder for chaining.
-
addAllDefaultSetting
The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Parameters:
values- The defaultSetting to add.- Returns:
- This builder for chaining.
-
clearDefaultSetting
The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Returns:
- This builder for chaining.
-
addDefaultSettingBytes
The set of all "features" inherited from the rule's package declaration.
repeated string default_setting = 7;- Parameters:
value- The bytes of the defaultSetting to add.- Returns:
- This builder for chaining.
-
hasDEPRECATEDPublicByDefault
public boolean hasDEPRECATEDPublicByDefault()The rule's class's public by default value.
optional bool DEPRECATED_public_by_default = 9;- Specified by:
hasDEPRECATEDPublicByDefaultin interfaceBuild.RuleOrBuilder- Returns:
- Whether the dEPRECATEDPublicByDefault field is set.
-
getDEPRECATEDPublicByDefault
public boolean getDEPRECATEDPublicByDefault()The rule's class's public by default value.
optional bool DEPRECATED_public_by_default = 9;- Specified by:
getDEPRECATEDPublicByDefaultin interfaceBuild.RuleOrBuilder- Returns:
- The dEPRECATEDPublicByDefault.
-
setDEPRECATEDPublicByDefault
The rule's class's public by default value.
optional bool DEPRECATED_public_by_default = 9;- Parameters:
value- The dEPRECATEDPublicByDefault to set.- Returns:
- This builder for chaining.
-
clearDEPRECATEDPublicByDefault
The rule's class's public by default value.
optional bool DEPRECATED_public_by_default = 9;- Returns:
- This builder for chaining.
-
hasDEPRECATEDIsSkylark
public boolean hasDEPRECATEDIsSkylark()optional bool DEPRECATED_is_skylark = 10;- Specified by:
hasDEPRECATEDIsSkylarkin interfaceBuild.RuleOrBuilder- Returns:
- Whether the dEPRECATEDIsSkylark field is set.
-
getDEPRECATEDIsSkylark
public boolean getDEPRECATEDIsSkylark()optional bool DEPRECATED_is_skylark = 10;- Specified by:
getDEPRECATEDIsSkylarkin interfaceBuild.RuleOrBuilder- Returns:
- The dEPRECATEDIsSkylark.
-
setDEPRECATEDIsSkylark
optional bool DEPRECATED_is_skylark = 10;- Parameters:
value- The dEPRECATEDIsSkylark to set.- Returns:
- This builder for chaining.
-
clearDEPRECATEDIsSkylark
optional bool DEPRECATED_is_skylark = 10;- Returns:
- This builder for chaining.
-
hasSkylarkEnvironmentHashCode
public boolean hasSkylarkEnvironmentHashCode()Hash encapsulating the behavior of this Starlark rule. Any change to this rule's definition that could change its behavior will be reflected here.
optional string skylark_environment_hash_code = 12;- Specified by:
hasSkylarkEnvironmentHashCodein interfaceBuild.RuleOrBuilder- Returns:
- Whether the skylarkEnvironmentHashCode field is set.
-
getSkylarkEnvironmentHashCode
Hash encapsulating the behavior of this Starlark rule. Any change to this rule's definition that could change its behavior will be reflected here.
optional string skylark_environment_hash_code = 12;- Specified by:
getSkylarkEnvironmentHashCodein interfaceBuild.RuleOrBuilder- Returns:
- The skylarkEnvironmentHashCode.
-
getSkylarkEnvironmentHashCodeBytes
public com.google.protobuf.ByteString getSkylarkEnvironmentHashCodeBytes()Hash encapsulating the behavior of this Starlark rule. Any change to this rule's definition that could change its behavior will be reflected here.
optional string skylark_environment_hash_code = 12;- Specified by:
getSkylarkEnvironmentHashCodeBytesin interfaceBuild.RuleOrBuilder- Returns:
- The bytes for skylarkEnvironmentHashCode.
-
setSkylarkEnvironmentHashCode
Hash encapsulating the behavior of this Starlark rule. Any change to this rule's definition that could change its behavior will be reflected here.
optional string skylark_environment_hash_code = 12;- Parameters:
value- The skylarkEnvironmentHashCode to set.- Returns:
- This builder for chaining.
-
clearSkylarkEnvironmentHashCode
Hash encapsulating the behavior of this Starlark rule. Any change to this rule's definition that could change its behavior will be reflected here.
optional string skylark_environment_hash_code = 12;- Returns:
- This builder for chaining.
-
setSkylarkEnvironmentHashCodeBytes
Hash encapsulating the behavior of this Starlark rule. Any change to this rule's definition that could change its behavior will be reflected here.
optional string skylark_environment_hash_code = 12;- Parameters:
value- The bytes for skylarkEnvironmentHashCode to set.- Returns:
- This builder for chaining.
-
getInstantiationStackList
public com.google.protobuf.ProtocolStringList getInstantiationStackList()The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Specified by:
getInstantiationStackListin interfaceBuild.RuleOrBuilder- Returns:
- A list containing the instantiationStack.
-
getInstantiationStackCount
public int getInstantiationStackCount()The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Specified by:
getInstantiationStackCountin interfaceBuild.RuleOrBuilder- Returns:
- The count of instantiationStack.
-
getInstantiationStack
The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Specified by:
getInstantiationStackin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The instantiationStack at the given index.
-
getInstantiationStackBytes
public com.google.protobuf.ByteString getInstantiationStackBytes(int index) The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Specified by:
getInstantiationStackBytesin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the instantiationStack at the given index.
-
setInstantiationStack
The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Parameters:
index- The index to set the value at.value- The instantiationStack to set.- Returns:
- This builder for chaining.
-
addInstantiationStack
The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Parameters:
value- The instantiationStack to add.- Returns:
- This builder for chaining.
-
addAllInstantiationStack
The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Parameters:
values- The instantiationStack to add.- Returns:
- This builder for chaining.
-
clearInstantiationStack
The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Returns:
- This builder for chaining.
-
addInstantiationStackBytes
The Starlark call stack at the moment the rule was instantiated. Each entry has the form "file:line:col: function". The outermost stack frame ("<toplevel>", the BUILD file) appears first; the frame for the rule function itself is omitted. The file name may be relative to package's source root directory. Requires --proto:instantiation_stack=true.repeated string instantiation_stack = 13;- Parameters:
value- The bytes of the instantiationStack to add.- Returns:
- This builder for chaining.
-
getDefinitionStackList
public com.google.protobuf.ProtocolStringList getDefinitionStackList()The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Specified by:
getDefinitionStackListin interfaceBuild.RuleOrBuilder- Returns:
- A list containing the definitionStack.
-
getDefinitionStackCount
public int getDefinitionStackCount()The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Specified by:
getDefinitionStackCountin interfaceBuild.RuleOrBuilder- Returns:
- The count of definitionStack.
-
getDefinitionStack
The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Specified by:
getDefinitionStackin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The definitionStack at the given index.
-
getDefinitionStackBytes
public com.google.protobuf.ByteString getDefinitionStackBytes(int index) The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Specified by:
getDefinitionStackBytesin interfaceBuild.RuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the definitionStack at the given index.
-
setDefinitionStack
The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Parameters:
index- The index to set the value at.value- The definitionStack to set.- Returns:
- This builder for chaining.
-
addDefinitionStack
The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Parameters:
value- The definitionStack to add.- Returns:
- This builder for chaining.
-
addAllDefinitionStack
The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Parameters:
values- The definitionStack to add.- Returns:
- This builder for chaining.
-
clearDefinitionStack
The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Returns:
- This builder for chaining.
-
addDefinitionStackBytes
The Starlark call stack for the definition of the rule class of this particular rule instance. If empty, either populating the field was not enabled on the command line with the --proto:definition_stack flag or the rule is a native one.
repeated string definition_stack = 14;- Parameters:
value- The bytes of the definitionStack to add.- Returns:
- This builder for chaining.
-
hasRuleClassKey
public boolean hasRuleClassKey()A key uniquely identifying the rule's rule class. Stable between repeated blaze query invocations (assuming that there are no changes to Starlark files and the same blaze binary is invoked with the same options). Requires --proto:rule_classes=true
optional string rule_class_key = 16;- Specified by:
hasRuleClassKeyin interfaceBuild.RuleOrBuilder- Returns:
- Whether the ruleClassKey field is set.
-
getRuleClassKey
A key uniquely identifying the rule's rule class. Stable between repeated blaze query invocations (assuming that there are no changes to Starlark files and the same blaze binary is invoked with the same options). Requires --proto:rule_classes=true
optional string rule_class_key = 16;- Specified by:
getRuleClassKeyin interfaceBuild.RuleOrBuilder- Returns:
- The ruleClassKey.
-
getRuleClassKeyBytes
public com.google.protobuf.ByteString getRuleClassKeyBytes()A key uniquely identifying the rule's rule class. Stable between repeated blaze query invocations (assuming that there are no changes to Starlark files and the same blaze binary is invoked with the same options). Requires --proto:rule_classes=true
optional string rule_class_key = 16;- Specified by:
getRuleClassKeyBytesin interfaceBuild.RuleOrBuilder- Returns:
- The bytes for ruleClassKey.
-
setRuleClassKey
A key uniquely identifying the rule's rule class. Stable between repeated blaze query invocations (assuming that there are no changes to Starlark files and the same blaze binary is invoked with the same options). Requires --proto:rule_classes=true
optional string rule_class_key = 16;- Parameters:
value- The ruleClassKey to set.- Returns:
- This builder for chaining.
-
clearRuleClassKey
A key uniquely identifying the rule's rule class. Stable between repeated blaze query invocations (assuming that there are no changes to Starlark files and the same blaze binary is invoked with the same options). Requires --proto:rule_classes=true
optional string rule_class_key = 16;- Returns:
- This builder for chaining.
-
setRuleClassKeyBytes
A key uniquely identifying the rule's rule class. Stable between repeated blaze query invocations (assuming that there are no changes to Starlark files and the same blaze binary is invoked with the same options). Requires --proto:rule_classes=true
optional string rule_class_key = 16;- Parameters:
value- The bytes for ruleClassKey to set.- Returns:
- This builder for chaining.
-
hasRuleClassInfo
public boolean hasRuleClassInfo()Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17;- Specified by:
hasRuleClassInfoin interfaceBuild.RuleOrBuilder- Returns:
- Whether the ruleClassInfo field is set.
-
getRuleClassInfo
Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17;- Specified by:
getRuleClassInfoin interfaceBuild.RuleOrBuilder- Returns:
- The ruleClassInfo.
-
setRuleClassInfo
Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17; -
setRuleClassInfo
Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17; -
mergeRuleClassInfo
Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17; -
clearRuleClassInfo
Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17; -
getRuleClassInfoBuilder
Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17; -
getRuleClassInfoOrBuilder
Stardoc-format rule class API definition for this rule. Includes both Starlark-defined and native (including inherited) attributes; does not include hidden or explicitly undocumented attributes. Populated only for the first rule in the stream with a given rule_class_key. Requires --proto:rule_classes=true
optional .stardoc_output.RuleInfo rule_class_info = 17;- Specified by:
getRuleClassInfoOrBuilderin interfaceBuild.RuleOrBuilder
-