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 |
clearReportLooseTypeViolations()
optional bool report_loose_type_violations = 11 [default = true]; |
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; |
boolean |
getReportLooseTypeViolations()
optional bool report_loose_type_violations = 11 [default = true]; |
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 |
hasReportLooseTypeViolations()
optional bool report_loose_type_violations = 11 [default = true]; |
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 |
setReportLooseTypeViolations(boolean value)
optional bool report_loose_type_violations = 11 [default = true]; |
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, addExtension, addExtension, addRepeatedField, clearExtension, clearExtension, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setExtension, setExtension, setExtension, setExtension, setField, setRepeatedField
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedFieldBuilder, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<Requirement,Requirement.Builder>
public Requirement.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<Requirement,Requirement.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Requirement.Builder>
public Requirement getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Requirement>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Requirement build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Requirement buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Requirement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Requirement.Builder>
IOException
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public int getWhitelistCount()
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
getWhitelistCount
in interface RequirementOrBuilder
public String getWhitelist(int index)
repeated string whitelist = 2;
Optional: A list of source paths that are exempt from the requirement.
getWhitelist
in interface RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public int getWhitelistRegexpCount()
repeated string whitelist_regexp = 3;
Optional: A list of source paths regexs that are exempt from the requirement.
getWhitelistRegexpCount
in interface RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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).
getOnlyApplyToList
in interface RequirementOrBuilder
public 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).
getOnlyApplyToCount
in interface RequirementOrBuilder
public 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).
getOnlyApplyTo
in interface RequirementOrBuilder
public 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).
getOnlyApplyToBytes
in interface RequirementOrBuilder
public 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).
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).
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).
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).
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).
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).
getOnlyApplyToRegexpList
in interface RequirementOrBuilder
public 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).
getOnlyApplyToRegexpCount
in interface RequirementOrBuilder
public 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).
getOnlyApplyToRegexp
in interface RequirementOrBuilder
public 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).
getOnlyApplyToRegexpBytes
in interface RequirementOrBuilder
public 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).
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).
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).
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).
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).
public boolean hasType()
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
hasType
in interface RequirementOrBuilder
public Requirement.Type getType()
optional .jscomp.Requirement.Type type = 6;
Required: The type of requirement.
getType
in interface RequirementOrBuilder
public 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 RequirementOrBuilder
public int getValueCount()
repeated string value = 7;
The value banned, optional for "custom" requirements.
getValueCount
in interface RequirementOrBuilder
public String getValue(int index)
repeated string value = 7;
The value banned, optional for "custom" requirements.
getValue
in interface RequirementOrBuilder
public com.google.protobuf.ByteString getValueBytes(int index)
repeated string value = 7;
The value banned, optional for "custom" requirements.
getValueBytes
in interface RequirementOrBuilder
public 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 RequirementOrBuilder
public String getJavaClass()
optional string java_class = 8;
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
getJavaClass
in interface RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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 RequirementOrBuilder
public 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.
public boolean hasReportLooseTypeViolations()
optional bool report_loose_type_violations = 11 [default = true];
Whether to report possible violations when type information is not exact. Normally, violations on parent types are reported as possible violations. This field allows to ignore them and report only violations on exact types. This changes the balance between the false positives and the false negatives. With the default value, there might be lots of false positives (possible violations) but there shouldn't be any false negatives. Without reporting the loose type violations, there will be less false positives but there can also be false negatives (an actual violation that is not reported).
hasReportLooseTypeViolations
in interface RequirementOrBuilder
public boolean getReportLooseTypeViolations()
optional bool report_loose_type_violations = 11 [default = true];
Whether to report possible violations when type information is not exact. Normally, violations on parent types are reported as possible violations. This field allows to ignore them and report only violations on exact types. This changes the balance between the false positives and the false negatives. With the default value, there might be lots of false positives (possible violations) but there shouldn't be any false negatives. Without reporting the loose type violations, there will be less false positives but there can also be false negatives (an actual violation that is not reported).
getReportLooseTypeViolations
in interface RequirementOrBuilder
public Requirement.Builder setReportLooseTypeViolations(boolean value)
optional bool report_loose_type_violations = 11 [default = true];
Whether to report possible violations when type information is not exact. Normally, violations on parent types are reported as possible violations. This field allows to ignore them and report only violations on exact types. This changes the balance between the false positives and the false negatives. With the default value, there might be lots of false positives (possible violations) but there shouldn't be any false negatives. Without reporting the loose type violations, there will be less false positives but there can also be false negatives (an actual violation that is not reported).
public Requirement.Builder clearReportLooseTypeViolations()
optional bool report_loose_type_violations = 11 [default = true];
Whether to report possible violations when type information is not exact. Normally, violations on parent types are reported as possible violations. This field allows to ignore them and report only violations on exact types. This changes the balance between the false positives and the false negatives. With the default value, there might be lots of false positives (possible violations) but there shouldn't be any false negatives. Without reporting the loose type violations, there will be less false positives but there can also be false negatives (an actual violation that is not reported).
Copyright © 2009-2017 Google. All Rights Reserved.