Interface Build.AllowedRuleClassInfoOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Build.AllowedRuleClassInfo,Build.AllowedRuleClassInfo.Builder
- Enclosing class:
- Build
public static interface Build.AllowedRuleClassInfoOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAllowedRuleClass(int index)Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".ByteStringgetAllowedRuleClassBytes(int index)Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".intgetAllowedRuleClassCount()Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".java.util.List<java.lang.String>getAllowedRuleClassList()Rule class names of rules allowed in this attribute, e.g "cc_library", "py_binary".Build.AllowedRuleClassInfo.AllowedRuleClassesgetPolicy()required .blaze_query.AllowedRuleClassInfo.AllowedRuleClasses policy = 1;booleanhasPolicy()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 Detail
-
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
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.
-
-