Interface Build.AllowedRuleClassInfoOrBuilder

    • Method Detail

      • hasPolicy

        boolean hasPolicy()
        required .blaze_query.AllowedRuleClassInfo.AllowedRuleClasses policy = 1;
        Returns:
        Whether the policy field is set.
      • getAllowedRuleClassList

        java.util.List<java.lang.String> getAllowedRuleClassList()
         Rule class names of rules allowed in this attribute, e.g "cc_library",
         "py_binary". Only present if the allowed_rule_classes field is set to
         SPECIFIED.
         
        repeated string allowed_rule_class = 2;
        Returns:
        A list containing the allowedRuleClass.
      • getAllowedRuleClassCount

        int getAllowedRuleClassCount()
         Rule class names of rules allowed in this attribute, e.g "cc_library",
         "py_binary". Only present if the allowed_rule_classes field is set to
         SPECIFIED.
         
        repeated string allowed_rule_class = 2;
        Returns:
        The count of allowedRuleClass.
      • getAllowedRuleClass

        java.lang.String getAllowedRuleClass​(int index)
         Rule class names of rules allowed in this attribute, e.g "cc_library",
         "py_binary". Only present if the allowed_rule_classes field is set to
         SPECIFIED.
         
        repeated string allowed_rule_class = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedRuleClass at the given index.
      • getAllowedRuleClassBytes

        ByteString getAllowedRuleClassBytes​(int index)
         Rule class names of rules allowed in this attribute, e.g "cc_library",
         "py_binary". Only present if the allowed_rule_classes field is set to
         SPECIFIED.
         
        repeated string allowed_rule_class = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedRuleClass at the given index.