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 TypeMethodDescriptiongetAllowedRuleClass(int index) Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".com.google.protobuf.ByteStringgetAllowedRuleClassBytes(int index) Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".intRule 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;booleanrequired .blaze_query.AllowedRuleClassInfo.AllowedRuleClasses policy = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
Build.AllowedRuleClassInfo.AllowedRuleClasses getPolicy()required .blaze_query.AllowedRuleClassInfo.AllowedRuleClasses policy = 1;- Returns:
- The policy.
-
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
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.
-