Interface Build.AllowedRuleClassInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Build.AllowedRuleClassInfo, Build.AllowedRuleClassInfo.Builder
Enclosing class:
Build

public static interface Build.AllowedRuleClassInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".
    com.google.protobuf.ByteString
    Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".
    int
    Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".
    Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".
    required .blaze_query.AllowedRuleClassInfo.AllowedRuleClasses policy = 1;
    boolean
    required .blaze_query.AllowedRuleClassInfo.AllowedRuleClasses policy = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasPolicy

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

      required .blaze_query.AllowedRuleClassInfo.AllowedRuleClasses policy = 1;
      Returns:
      The policy.
    • getAllowedRuleClassList

      List<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

      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

      com.google.protobuf.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.