java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.query2.proto.proto2api.Build.Rule
All Implemented Interfaces:
Build.RuleOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Build

public static final class Build.Rule extends com.google.protobuf.GeneratedMessage implements Build.RuleOrBuilder
 A rule instance (e.g., cc_library foo, java_binary bar).
 
Protobuf type blaze_query.Rule
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • RULE_CLASS_FIELD_NUMBER

      public static final int RULE_CLASS_FIELD_NUMBER
      See Also:
    • LOCATION_FIELD_NUMBER

      public static final int LOCATION_FIELD_NUMBER
      See Also:
    • ATTRIBUTE_FIELD_NUMBER

      public static final int ATTRIBUTE_FIELD_NUMBER
      See Also:
    • RULE_INPUT_FIELD_NUMBER

      public static final int RULE_INPUT_FIELD_NUMBER
      See Also:
    • CONFIGURED_RULE_INPUT_FIELD_NUMBER

      public static final int CONFIGURED_RULE_INPUT_FIELD_NUMBER
      See Also:
    • RULE_OUTPUT_FIELD_NUMBER

      public static final int RULE_OUTPUT_FIELD_NUMBER
      See Also:
    • DEFAULT_SETTING_FIELD_NUMBER

      public static final int DEFAULT_SETTING_FIELD_NUMBER
      See Also:
    • DEPRECATED_PUBLIC_BY_DEFAULT_FIELD_NUMBER

      public static final int DEPRECATED_PUBLIC_BY_DEFAULT_FIELD_NUMBER
      See Also:
    • DEPRECATED_IS_SKYLARK_FIELD_NUMBER

      public static final int DEPRECATED_IS_SKYLARK_FIELD_NUMBER
      See Also:
    • SKYLARK_ENVIRONMENT_HASH_CODE_FIELD_NUMBER

      public static final int SKYLARK_ENVIRONMENT_HASH_CODE_FIELD_NUMBER
      See Also:
    • INSTANTIATION_STACK_FIELD_NUMBER

      public static final int INSTANTIATION_STACK_FIELD_NUMBER
      See Also:
    • DEFINITION_STACK_FIELD_NUMBER

      public static final int DEFINITION_STACK_FIELD_NUMBER
      See Also:
    • RULE_CLASS_KEY_FIELD_NUMBER

      public static final int RULE_CLASS_KEY_FIELD_NUMBER
      See Also:
    • RULE_CLASS_INFO_FIELD_NUMBER

      public static final int RULE_CLASS_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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:
      hasName in interface Build.RuleOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name of the rule (formatted as an absolute label, e.g. //foo/bar:baz).
       
      required string name = 1;
      Specified by:
      getName in interface Build.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:
      getNameBytes in interface Build.RuleOrBuilder
      Returns:
      The bytes for name.
    • 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:
      hasRuleClass in interface Build.RuleOrBuilder
      Returns:
      Whether the ruleClass field is set.
    • getRuleClass

      public String 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:
      getRuleClass in interface Build.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:
      getRuleClassBytes in interface Build.RuleOrBuilder
      Returns:
      The bytes for ruleClass.
    • 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:
      hasLocation in interface Build.RuleOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public String 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:
      getLocation in interface Build.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:
      getLocationBytes in interface Build.RuleOrBuilder
      Returns:
      The bytes for location.
    • getAttributeList

      public List<Build.Attribute> getAttributeList()
       All of the attributes that describe the rule.
       
      repeated .blaze_query.Attribute attribute = 4;
      Specified by:
      getAttributeList in interface Build.RuleOrBuilder
    • getAttributeOrBuilderList

      public List<? extends Build.AttributeOrBuilder> getAttributeOrBuilderList()
       All of the attributes that describe the rule.
       
      repeated .blaze_query.Attribute attribute = 4;
      Specified by:
      getAttributeOrBuilderList in interface Build.RuleOrBuilder
    • getAttributeCount

      public int getAttributeCount()
       All of the attributes that describe the rule.
       
      repeated .blaze_query.Attribute attribute = 4;
      Specified by:
      getAttributeCount in interface Build.RuleOrBuilder
    • getAttribute

      public Build.Attribute getAttribute(int index)
       All of the attributes that describe the rule.
       
      repeated .blaze_query.Attribute attribute = 4;
      Specified by:
      getAttribute in interface Build.RuleOrBuilder
    • getAttributeOrBuilder

      public Build.AttributeOrBuilder getAttributeOrBuilder(int index)
       All of the attributes that describe the rule.
       
      repeated .blaze_query.Attribute attribute = 4;
      Specified by:
      getAttributeOrBuilder in interface Build.RuleOrBuilder
    • 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:
      getRuleInputList in interface Build.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:
      getRuleInputCount in interface Build.RuleOrBuilder
      Returns:
      The count of ruleInput.
    • getRuleInput

      public String getRuleInput(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:
      getRuleInput in interface Build.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:
      getRuleInputBytes in interface Build.RuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ruleInput at the given index.
    • getConfiguredRuleInputList

      public List<Build.ConfiguredRuleInput> getConfiguredRuleInputList()
      repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;
      Specified by:
      getConfiguredRuleInputList in interface Build.RuleOrBuilder
    • getConfiguredRuleInputOrBuilderList

      public List<? extends Build.ConfiguredRuleInputOrBuilder> getConfiguredRuleInputOrBuilderList()
      repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;
      Specified by:
      getConfiguredRuleInputOrBuilderList in interface Build.RuleOrBuilder
    • getConfiguredRuleInputCount

      public int getConfiguredRuleInputCount()
      repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;
      Specified by:
      getConfiguredRuleInputCount in interface Build.RuleOrBuilder
    • getConfiguredRuleInput

      public Build.ConfiguredRuleInput getConfiguredRuleInput(int index)
      repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;
      Specified by:
      getConfiguredRuleInput in interface Build.RuleOrBuilder
    • getConfiguredRuleInputOrBuilder

      public Build.ConfiguredRuleInputOrBuilder getConfiguredRuleInputOrBuilder(int index)
      repeated .blaze_query.ConfiguredRuleInput configured_rule_input = 15;
      Specified by:
      getConfiguredRuleInputOrBuilder in interface Build.RuleOrBuilder
    • 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:
      getRuleOutputList in interface Build.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:
      getRuleOutputCount in interface Build.RuleOrBuilder
      Returns:
      The count of ruleOutput.
    • getRuleOutput

      public String getRuleOutput(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:
      getRuleOutput in interface Build.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:
      getRuleOutputBytes in interface Build.RuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ruleOutput at the given index.
    • 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:
      getDefaultSettingList in interface Build.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:
      getDefaultSettingCount in interface Build.RuleOrBuilder
      Returns:
      The count of defaultSetting.
    • getDefaultSetting

      public String getDefaultSetting(int index)
       The set of all "features" inherited from the rule's package declaration.
       
      repeated string default_setting = 7;
      Specified by:
      getDefaultSetting in interface Build.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:
      getDefaultSettingBytes in interface Build.RuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the defaultSetting at the given index.
    • hasDEPRECATEDPublicByDefault

      public boolean hasDEPRECATEDPublicByDefault()
       The rule's class's public by default value.
       
      optional bool DEPRECATED_public_by_default = 9;
      Specified by:
      hasDEPRECATEDPublicByDefault in interface Build.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:
      getDEPRECATEDPublicByDefault in interface Build.RuleOrBuilder
      Returns:
      The dEPRECATEDPublicByDefault.
    • hasDEPRECATEDIsSkylark

      public boolean hasDEPRECATEDIsSkylark()
      optional bool DEPRECATED_is_skylark = 10;
      Specified by:
      hasDEPRECATEDIsSkylark in interface Build.RuleOrBuilder
      Returns:
      Whether the dEPRECATEDIsSkylark field is set.
    • getDEPRECATEDIsSkylark

      public boolean getDEPRECATEDIsSkylark()
      optional bool DEPRECATED_is_skylark = 10;
      Specified by:
      getDEPRECATEDIsSkylark in interface Build.RuleOrBuilder
      Returns:
      The dEPRECATEDIsSkylark.
    • 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:
      hasSkylarkEnvironmentHashCode in interface Build.RuleOrBuilder
      Returns:
      Whether the skylarkEnvironmentHashCode field is set.
    • getSkylarkEnvironmentHashCode

      public String 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:
      getSkylarkEnvironmentHashCode in interface Build.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:
      getSkylarkEnvironmentHashCodeBytes in interface Build.RuleOrBuilder
      Returns:
      The bytes for skylarkEnvironmentHashCode.
    • 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:
      getInstantiationStackList in interface Build.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:
      getInstantiationStackCount in interface Build.RuleOrBuilder
      Returns:
      The count of instantiationStack.
    • getInstantiationStack

      public String getInstantiationStack(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:
      getInstantiationStack in interface Build.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:
      getInstantiationStackBytes in interface Build.RuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the instantiationStack at the given index.
    • 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:
      getDefinitionStackList in interface Build.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:
      getDefinitionStackCount in interface Build.RuleOrBuilder
      Returns:
      The count of definitionStack.
    • getDefinitionStack

      public String getDefinitionStack(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:
      getDefinitionStack in interface Build.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:
      getDefinitionStackBytes in interface Build.RuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the definitionStack at the given index.
    • 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:
      hasRuleClassKey in interface Build.RuleOrBuilder
      Returns:
      Whether the ruleClassKey field is set.
    • getRuleClassKey

      public String 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:
      getRuleClassKey in interface Build.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:
      getRuleClassKeyBytes in interface Build.RuleOrBuilder
      Returns:
      The bytes for ruleClassKey.
    • 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:
      hasRuleClassInfo in interface Build.RuleOrBuilder
      Returns:
      Whether the ruleClassInfo field is set.
    • getRuleClassInfo

      public StardocOutputProtos.RuleInfo 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:
      getRuleClassInfo in interface Build.RuleOrBuilder
      Returns:
      The ruleClassInfo.
    • getRuleClassInfoOrBuilder

      public StardocOutputProtos.RuleInfoOrBuilder 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:
      getRuleClassInfoOrBuilder in interface Build.RuleOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Build.Rule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Rule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Rule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Rule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Rule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Build.Rule parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Build.Rule parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Build.Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Rule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Build.Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Build.Rule.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Build.Rule.Builder newBuilder()
    • newBuilder

      public static Build.Rule.Builder newBuilder(Build.Rule prototype)
    • toBuilder

      public Build.Rule.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Build.Rule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Build.Rule getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Build.Rule> parser()
    • getParserForType

      public com.google.protobuf.Parser<Build.Rule> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Build.Rule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder