public static final class Requirement.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<Requirement,Requirement.Builder> implements RequirementOrBuilder
jscomp.Requirement
A specification of code requirements
| Modifier and Type | Method and Description |
|---|---|
Requirement.Builder |
addAllOnlyApplyTo(Iterable<String> values)
repeated string only_apply_to = 4; |
Requirement.Builder |
addAllOnlyApplyToRegexp(Iterable<String> values)
repeated string only_apply_to_regexp = 5; |
Requirement.Builder |
addAllValue(Iterable<String> values)
repeated string value = 7; |
Requirement.Builder |
addAllWhitelist(Iterable<String> values)
repeated string whitelist = 2; |
Requirement.Builder |
addAllWhitelistRegexp(Iterable<String> values)
repeated string whitelist_regexp = 3; |
Requirement.Builder |
addOnlyApplyTo(String value)
repeated string only_apply_to = 4; |
Requirement.Builder |
addOnlyApplyToBytes(com.google.protobuf.ByteString value)
repeated string only_apply_to = 4; |
Requirement.Builder |
addOnlyApplyToRegexp(String value)
repeated string only_apply_to_regexp = 5; |
Requirement.Builder |
addOnlyApplyToRegexpBytes(com.google.protobuf.ByteString value)
repeated string only_apply_to_regexp = 5; |
Requirement.Builder |
addValue(String value)
repeated string value = 7; |
Requirement.Builder |
addValueBytes(com.google.protobuf.ByteString value)
repeated string value = 7; |
Requirement.Builder |
addWhitelist(String value)
repeated string whitelist = 2; |
Requirement.Builder |
addWhitelistBytes(com.google.protobuf.ByteString value)
repeated string whitelist = 2; |
Requirement.Builder |
addWhitelistRegexp(String value)
repeated string whitelist_regexp = 3; |
Requirement.Builder |
addWhitelistRegexpBytes(com.google.protobuf.ByteString value)
repeated string whitelist_regexp = 3; |
Requirement |
build() |
Requirement |
buildPartial() |
Requirement.Builder |
clear() |
Requirement.Builder |
clearErrorMessage()
optional string error_message = 1; |
Requirement.Builder |
clearExtends()
optional string extends = 10; |
Requirement.Builder |
clearJavaClass()
optional string java_class = 8; |
Requirement.Builder |
clearOnlyApplyTo()
repeated string only_apply_to = 4; |
Requirement.Builder |
clearOnlyApplyToRegexp()
repeated string only_apply_to_regexp = 5; |
Requirement.Builder |
clearRuleId()
optional string rule_id = 9; |
Requirement.Builder |
clearType()
optional .jscomp.Requirement.Type type = 6; |
Requirement.Builder |
clearValue()
repeated string value = 7; |
Requirement.Builder |
clearWhitelist()
repeated string whitelist = 2; |
Requirement.Builder |
clearWhitelistRegexp()
repeated string whitelist_regexp = 3; |
Requirement.Builder |
clone() |
Requirement |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Requirement.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Requirement.Builder |
mergeFrom(com.google.protobuf.Message other) |
Requirement.Builder |
mergeFrom(Requirement other) |
Requirement.Builder |
setErrorMessage(String value)
optional string error_message = 1; |
Requirement.Builder |
setErrorMessageBytes(com.google.protobuf.ByteString value)
optional string error_message = 1; |
Requirement.Builder |
setExtends(String value)
optional string extends = 10; |
Requirement.Builder |
setExtendsBytes(com.google.protobuf.ByteString value)
optional string extends = 10; |
Requirement.Builder |
setJavaClass(String value)
optional string java_class = 8; |
Requirement.Builder |
setJavaClassBytes(com.google.protobuf.ByteString value)
optional string java_class = 8; |
Requirement.Builder |
setOnlyApplyTo(int index,
String value)
repeated string only_apply_to = 4; |
Requirement.Builder |
setOnlyApplyToRegexp(int index,
String value)
repeated string only_apply_to_regexp = 5; |
Requirement.Builder |
setRuleId(String value)
optional string rule_id = 9; |
Requirement.Builder |
setRuleIdBytes(com.google.protobuf.ByteString value)
optional string rule_id = 9; |
Requirement.Builder |
setType(Requirement.Type value)
optional .jscomp.Requirement.Type type = 6; |
Requirement.Builder |
setValue(int index,
String value)
repeated string value = 7; |
Requirement.Builder |
setWhitelist(int index,
String value)
repeated string whitelist = 2; |
Requirement.Builder |
setWhitelistRegexp(int index,
String value)
repeated string whitelist_regexp = 3; |
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedFieldgetFieldBuilder, getParentForChildren, getUnknownFields, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Requirement.Builder>public Requirement.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<Requirement,Requirement.Builder>public Requirement.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<Requirement,Requirement.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Requirement.Builder>public Requirement getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Requirement build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Requirement buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Requirement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Requirement.Builder>public Requirement.Builder mergeFrom(Requirement other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<Requirement,Requirement.Builder>public Requirement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Requirement.Builder>IOExceptionpublic 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.
hasErrorMessage in interface RequirementOrBuilderpublic 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.
getErrorMessage in interface RequirementOrBuilderpublic 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.
getErrorMessageBytes in interface RequirementOrBuilderpublic Requirement.Builder setErrorMessage(String value)
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.
public Requirement.Builder clearErrorMessage()
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.
public Requirement.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
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.
public List<String> getWhitelistList()
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
getWhitelistList in interface RequirementOrBuilderpublic int getWhitelistCount()
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
getWhitelistCount in interface RequirementOrBuilderpublic String getWhitelist(int index)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
getWhitelist in interface RequirementOrBuilderpublic com.google.protobuf.ByteString getWhitelistBytes(int index)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
getWhitelistBytes in interface RequirementOrBuilderpublic Requirement.Builder setWhitelist(int index, String value)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
public Requirement.Builder addWhitelist(String value)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
public Requirement.Builder addAllWhitelist(Iterable<String> values)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
public Requirement.Builder clearWhitelist()
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
public Requirement.Builder addWhitelistBytes(com.google.protobuf.ByteString value)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
public List<String> getWhitelistRegexpList()
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
getWhitelistRegexpList in interface RequirementOrBuilderpublic int getWhitelistRegexpCount()
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
getWhitelistRegexpCount in interface RequirementOrBuilderpublic String getWhitelistRegexp(int index)
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
getWhitelistRegexp in interface RequirementOrBuilderpublic 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.
getWhitelistRegexpBytes in interface RequirementOrBuilderpublic Requirement.Builder setWhitelistRegexp(int index, String value)
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
public Requirement.Builder addWhitelistRegexp(String value)
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
public Requirement.Builder addAllWhitelistRegexp(Iterable<String> values)
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
public Requirement.Builder clearWhitelistRegexp()
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
public Requirement.Builder addWhitelistRegexpBytes(com.google.protobuf.ByteString value)
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
public 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).
getOnlyApplyToList in interface RequirementOrBuilderpublic 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).
getOnlyApplyToCount in interface RequirementOrBuilderpublic 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).
getOnlyApplyTo in interface RequirementOrBuilderpublic 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).
getOnlyApplyToBytes in interface RequirementOrBuilderpublic Requirement.Builder setOnlyApplyTo(int index, String value)
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).
public Requirement.Builder addOnlyApplyTo(String value)
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).
public Requirement.Builder addAllOnlyApplyTo(Iterable<String> values)
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).
public Requirement.Builder clearOnlyApplyTo()
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).
public Requirement.Builder addOnlyApplyToBytes(com.google.protobuf.ByteString value)
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).
public 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).
getOnlyApplyToRegexpList in interface RequirementOrBuilderpublic 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).
getOnlyApplyToRegexpCount in interface RequirementOrBuilderpublic 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).
getOnlyApplyToRegexp in interface RequirementOrBuilderpublic 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).
getOnlyApplyToRegexpBytes in interface RequirementOrBuilderpublic Requirement.Builder setOnlyApplyToRegexp(int index, String value)
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).
public Requirement.Builder addOnlyApplyToRegexp(String value)
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).
public Requirement.Builder addAllOnlyApplyToRegexp(Iterable<String> values)
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).
public Requirement.Builder clearOnlyApplyToRegexp()
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).
public Requirement.Builder addOnlyApplyToRegexpBytes(com.google.protobuf.ByteString value)
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).
public boolean hasType()
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
hasType in interface RequirementOrBuilderpublic Requirement.Type getType()
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
getType in interface RequirementOrBuilderpublic Requirement.Builder setType(Requirement.Type value)
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
public Requirement.Builder clearType()
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
public List<String> getValueList()
repeated string value = 7;
The value banned, optional for "custom" requirements.
getValueList in interface RequirementOrBuilderpublic int getValueCount()
repeated string value = 7;
The value banned, optional for "custom" requirements.
getValueCount in interface RequirementOrBuilderpublic String getValue(int index)
repeated string value = 7;
The value banned, optional for "custom" requirements.
getValue in interface RequirementOrBuilderpublic com.google.protobuf.ByteString getValueBytes(int index)
repeated string value = 7;
The value banned, optional for "custom" requirements.
getValueBytes in interface RequirementOrBuilderpublic Requirement.Builder setValue(int index, String value)
repeated string value = 7;
The value banned, optional for "custom" requirements.
public Requirement.Builder addValue(String value)
repeated string value = 7;
The value banned, optional for "custom" requirements.
public Requirement.Builder addAllValue(Iterable<String> values)
repeated string value = 7;
The value banned, optional for "custom" requirements.
public Requirement.Builder clearValue()
repeated string value = 7;
The value banned, optional for "custom" requirements.
public Requirement.Builder addValueBytes(com.google.protobuf.ByteString value)
repeated string value = 7;
The value banned, optional for "custom" requirements.
public boolean hasJavaClass()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
hasJavaClass in interface RequirementOrBuilderpublic String getJavaClass()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
getJavaClass in interface RequirementOrBuilderpublic com.google.protobuf.ByteString getJavaClassBytes()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
getJavaClassBytes in interface RequirementOrBuilderpublic Requirement.Builder setJavaClass(String value)
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
public Requirement.Builder clearJavaClass()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
public Requirement.Builder setJavaClassBytes(com.google.protobuf.ByteString value)
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
public 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 'closure:innerHtml'.
hasRuleId in interface RequirementOrBuilderpublic 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 'closure:innerHtml'.
getRuleId in interface RequirementOrBuilderpublic 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 'closure:innerHtml'.
getRuleIdBytes in interface RequirementOrBuilderpublic Requirement.Builder setRuleId(String value)
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 'closure:innerHtml'.
public Requirement.Builder clearRuleId()
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 'closure:innerHtml'.
public Requirement.Builder setRuleIdBytes(com.google.protobuf.ByteString value)
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 'closure:innerHtml'.
public 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, whitelist_regexp, only_apply_to and only_apply_to_regexp are ignored.
hasExtends in interface RequirementOrBuilderpublic 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, whitelist_regexp, only_apply_to and only_apply_to_regexp are ignored.
getExtends in interface RequirementOrBuilderpublic 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, whitelist_regexp, only_apply_to and only_apply_to_regexp are ignored.
getExtendsBytes in interface RequirementOrBuilderpublic Requirement.Builder setExtends(String value)
optional string extends = 10;
Allows extending whitelists of rules with the specified rule_id. If this field is specified then all fields except whitelist, whitelist_regexp, only_apply_to and only_apply_to_regexp are ignored.
public Requirement.Builder clearExtends()
optional string extends = 10;
Allows extending whitelists of rules with the specified rule_id. If this field is specified then all fields except whitelist, whitelist_regexp, only_apply_to and only_apply_to_regexp are ignored.
public Requirement.Builder setExtendsBytes(com.google.protobuf.ByteString value)
optional string extends = 10;
Allows extending whitelists of rules with the specified rule_id. If this field is specified then all fields except whitelist, whitelist_regexp, only_apply_to and only_apply_to_regexp are ignored.
Copyright © 2009-2015 Google. All Rights Reserved.