public interface RequirementOrBuilder extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Requirement>
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
optional string error_message = 1; |
com.google.protobuf.ByteString |
getErrorMessageBytes()
optional string error_message = 1; |
String |
getExtends()
optional string extends = 10; |
com.google.protobuf.ByteString |
getExtendsBytes()
optional string extends = 10; |
String |
getJavaClass()
optional string java_class = 8; |
com.google.protobuf.ByteString |
getJavaClassBytes()
optional string java_class = 8; |
String |
getOnlyApplyTo(int index)
repeated string only_apply_to = 4; |
com.google.protobuf.ByteString |
getOnlyApplyToBytes(int index)
repeated string only_apply_to = 4; |
int |
getOnlyApplyToCount()
repeated string only_apply_to = 4; |
List<String> |
getOnlyApplyToList()
repeated string only_apply_to = 4; |
String |
getOnlyApplyToRegexp(int index)
repeated string only_apply_to_regexp = 5; |
com.google.protobuf.ByteString |
getOnlyApplyToRegexpBytes(int index)
repeated string only_apply_to_regexp = 5; |
int |
getOnlyApplyToRegexpCount()
repeated string only_apply_to_regexp = 5; |
List<String> |
getOnlyApplyToRegexpList()
repeated string only_apply_to_regexp = 5; |
String |
getRuleId()
optional string rule_id = 9; |
com.google.protobuf.ByteString |
getRuleIdBytes()
optional string rule_id = 9; |
Requirement.Type |
getType()
optional .jscomp.Requirement.Type type = 6; |
String |
getValue(int index)
repeated string value = 7; |
com.google.protobuf.ByteString |
getValueBytes(int index)
repeated string value = 7; |
int |
getValueCount()
repeated string value = 7; |
List<String> |
getValueList()
repeated string value = 7; |
String |
getWhitelist(int index)
repeated string whitelist = 2; |
com.google.protobuf.ByteString |
getWhitelistBytes(int index)
repeated string whitelist = 2; |
int |
getWhitelistCount()
repeated string whitelist = 2; |
List<String> |
getWhitelistList()
repeated string whitelist = 2; |
String |
getWhitelistRegexp(int index)
repeated string whitelist_regexp = 3; |
com.google.protobuf.ByteString |
getWhitelistRegexpBytes(int index)
repeated string whitelist_regexp = 3; |
int |
getWhitelistRegexpCount()
repeated string whitelist_regexp = 3; |
List<String> |
getWhitelistRegexpList()
repeated string whitelist_regexp = 3; |
boolean |
hasErrorMessage()
optional string error_message = 1; |
boolean |
hasExtends()
optional string extends = 10; |
boolean |
hasJavaClass()
optional string java_class = 8; |
boolean |
hasRuleId()
optional string rule_id = 9; |
boolean |
hasType()
optional .jscomp.Requirement.Type type = 6; |
getExtension, getExtension, getExtensionCount, hasExtension
boolean hasErrorMessage()
optional string error_message = 1;
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
String getErrorMessage()
optional string error_message = 1;
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
com.google.protobuf.ByteString getErrorMessageBytes()
optional string error_message = 1;
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
List<String> getWhitelistList()
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
int getWhitelistCount()
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
String getWhitelist(int index)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
com.google.protobuf.ByteString getWhitelistBytes(int index)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
List<String> getWhitelistRegexpList()
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
int getWhitelistRegexpCount()
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
String getWhitelistRegexp(int index)
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
com.google.protobuf.ByteString getWhitelistRegexpBytes(int index)
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
List<String> getOnlyApplyToList()
repeated string only_apply_to = 4;
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
int getOnlyApplyToCount()
repeated string only_apply_to = 4;
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
String getOnlyApplyTo(int index)
repeated string only_apply_to = 4;
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
com.google.protobuf.ByteString getOnlyApplyToBytes(int index)
repeated string only_apply_to = 4;
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
List<String> getOnlyApplyToRegexpList()
repeated string only_apply_to_regexp = 5;
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
int getOnlyApplyToRegexpCount()
repeated string only_apply_to_regexp = 5;
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
String getOnlyApplyToRegexp(int index)
repeated string only_apply_to_regexp = 5;
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
com.google.protobuf.ByteString getOnlyApplyToRegexpBytes(int index)
repeated string only_apply_to_regexp = 5;
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp). It is an error to specify both (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
boolean hasType()
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
Requirement.Type getType()
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
List<String> getValueList()
repeated string value = 7;
The value banned, optional for "custom" requirements.
int getValueCount()
repeated string value = 7;
The value banned, optional for "custom" requirements.
String getValue(int index)
repeated string value = 7;
The value banned, optional for "custom" requirements.
com.google.protobuf.ByteString getValueBytes(int index)
repeated string value = 7;
The value banned, optional for "custom" requirements.
boolean hasJavaClass()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
String getJavaClass()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
com.google.protobuf.ByteString getJavaClassBytes()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
boolean hasRuleId()
optional string rule_id = 9;
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is '//javascript/closure:innerHtml'.
String getRuleId()
optional string rule_id = 9;
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is '//javascript/closure:innerHtml'.
com.google.protobuf.ByteString getRuleIdBytes()
optional string rule_id = 9;
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is '//javascript/closure:innerHtml'.
boolean hasExtends()
optional string extends = 10;
Allows extending whitelists of rules with the specified rule_id. If this field is specified then all fields except whitelist and whitelist_regexp are ignored.
String getExtends()
optional string extends = 10;
Allows extending whitelists of rules with the specified rule_id. If this field is specified then all fields except whitelist and whitelist_regexp are ignored.
com.google.protobuf.ByteString getExtendsBytes()
optional string extends = 10;
Allows extending whitelists of rules with the specified rule_id. If this field is specified then all fields except whitelist and whitelist_regexp are ignored.
Copyright © 2009-2016 Google. All Rights Reserved.