public static final class Requirement.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder> implements RequirementOrBuilder
A specification of code requirements NEXT ID: 17Protobuf type
jscomp.Requirement
Modifier and Type | Method and Description |
---|---|
Requirement.Builder |
addAllConfigFile(java.lang.Iterable<java.lang.String> values)
The file(s) that defined this requirement.
|
Requirement.Builder |
addAllOnlyApplyTo(java.lang.Iterable<java.lang.String> values)
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
Requirement.Builder |
addAllOnlyApplyToRegexp(java.lang.Iterable<java.lang.String> values)
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
Requirement.Builder |
addAllValue(java.lang.Iterable<java.lang.String> values)
The value banned, optional for "custom" requirements.
|
Requirement.Builder |
addAllWhitelist(java.lang.Iterable<java.lang.String> values)
Optional: A list of source path prefixes that are exempt from the
requirement.
|
Requirement.Builder |
addAllWhitelistEntry(java.lang.Iterable<? extends Requirement.WhitelistEntry> values)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
addAllWhitelistRegexp(java.lang.Iterable<java.lang.String> values)
Optional: A list of source paths regexs that are exempt from the
requirement.
|
Requirement.Builder |
addConfigFile(java.lang.String value)
The file(s) that defined this requirement.
|
Requirement.Builder |
addConfigFileBytes(com.google.protobuf.ByteString value)
The file(s) that defined this requirement.
|
<Type> Requirement.Builder |
addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,java.util.List<Type>> extension,
Type value) |
Requirement.Builder |
addOnlyApplyTo(java.lang.String value)
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
Requirement.Builder |
addOnlyApplyToBytes(com.google.protobuf.ByteString value)
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
Requirement.Builder |
addOnlyApplyToRegexp(java.lang.String value)
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
Requirement.Builder |
addOnlyApplyToRegexpBytes(com.google.protobuf.ByteString value)
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
Requirement.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Requirement.Builder |
addValue(java.lang.String value)
The value banned, optional for "custom" requirements.
|
Requirement.Builder |
addValueBytes(com.google.protobuf.ByteString value)
The value banned, optional for "custom" requirements.
|
Requirement.Builder |
addWhitelist(java.lang.String value)
Optional: A list of source path prefixes that are exempt from the
requirement.
|
Requirement.Builder |
addWhitelistBytes(com.google.protobuf.ByteString value)
Optional: A list of source path prefixes that are exempt from the
requirement.
|
Requirement.Builder |
addWhitelistEntry(int index,
Requirement.WhitelistEntry.Builder builderForValue)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
addWhitelistEntry(int index,
Requirement.WhitelistEntry value)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
addWhitelistEntry(Requirement.WhitelistEntry.Builder builderForValue)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
addWhitelistEntry(Requirement.WhitelistEntry value)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.WhitelistEntry.Builder |
addWhitelistEntryBuilder()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.WhitelistEntry.Builder |
addWhitelistEntryBuilder(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
addWhitelistRegexp(java.lang.String value)
Optional: A list of source paths regexs that are exempt from the
requirement.
|
Requirement.Builder |
addWhitelistRegexpBytes(com.google.protobuf.ByteString value)
Optional: A list of source paths regexs that are exempt from the
requirement.
|
Requirement |
build() |
Requirement |
buildPartial() |
Requirement.Builder |
clear() |
Requirement.Builder |
clearAllowExtendingValue()
Whether to allow subconfigs to extend the "value" field.
|
Requirement.Builder |
clearConfigFile()
The file(s) that defined this requirement.
|
Requirement.Builder |
clearErrorMessage()
Required: The message to report when a requirement is violated.
|
Requirement.Builder |
clearExtends()
Allows extending whitelists of rules with the specified rule_id.
|
<Type> Requirement.Builder |
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,?> extension) |
Requirement.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Requirement.Builder |
clearJavaClass()
For "custom" requirements, the Java class used to enforce the requirement.
|
Requirement.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Requirement.Builder |
clearOnlyApplyTo()
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
Requirement.Builder |
clearOnlyApplyToRegexp()
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
Requirement.Builder |
clearReportLooseTypeViolations()
Whether to report possible violations when type information is not exact.
|
Requirement.Builder |
clearRuleId()
Gives the rule an unique ID that can be used for extending in other rules
through 'extends'.
|
Requirement.Builder |
clearSeverity()
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING]; |
Requirement.Builder |
clearType()
Required: The type of requirement.
|
Requirement.Builder |
clearTypeMatchingStrategy()
Strategy to use for matching types in the value parameter (e.g.
|
Requirement.Builder |
clearValue()
The value banned, optional for "custom" requirements.
|
Requirement.Builder |
clearWhitelist()
Optional: A list of source path prefixes that are exempt from the
requirement.
|
Requirement.Builder |
clearWhitelistEntry()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
clearWhitelistRegexp()
Optional: A list of source paths regexs that are exempt from the
requirement.
|
Requirement.Builder |
clone() |
boolean |
getAllowExtendingValue()
Whether to allow subconfigs to extend the "value" field.
|
java.lang.String |
getConfigFile(int index)
The file(s) that defined this requirement.
|
com.google.protobuf.ByteString |
getConfigFileBytes(int index)
The file(s) that defined this requirement.
|
int |
getConfigFileCount()
The file(s) that defined this requirement.
|
com.google.protobuf.ProtocolStringList |
getConfigFileList()
The file(s) that defined this requirement.
|
Requirement |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getErrorMessage()
Required: The message to report when a requirement is violated.
|
com.google.protobuf.ByteString |
getErrorMessageBytes()
Required: The message to report when a requirement is violated.
|
java.lang.String |
getExtends()
Allows extending whitelists of rules with the specified rule_id.
|
com.google.protobuf.ByteString |
getExtendsBytes()
Allows extending whitelists of rules with the specified rule_id.
|
java.lang.String |
getJavaClass()
For "custom" requirements, the Java class used to enforce the requirement.
|
com.google.protobuf.ByteString |
getJavaClassBytes()
For "custom" requirements, the Java class used to enforce the requirement.
|
java.lang.String |
getOnlyApplyTo(int index)
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
com.google.protobuf.ByteString |
getOnlyApplyToBytes(int index)
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
int |
getOnlyApplyToCount()
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
com.google.protobuf.ProtocolStringList |
getOnlyApplyToList()
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
java.lang.String |
getOnlyApplyToRegexp(int index)
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
com.google.protobuf.ByteString |
getOnlyApplyToRegexpBytes(int index)
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
int |
getOnlyApplyToRegexpCount()
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
com.google.protobuf.ProtocolStringList |
getOnlyApplyToRegexpList()
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
boolean |
getReportLooseTypeViolations()
Whether to report possible violations when type information is not exact.
|
java.lang.String |
getRuleId()
Gives the rule an unique ID that can be used for extending in other rules
through 'extends'.
|
com.google.protobuf.ByteString |
getRuleIdBytes()
Gives the rule an unique ID that can be used for extending in other rules
through 'extends'.
|
Requirement.Severity |
getSeverity()
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING]; |
Requirement.Type |
getType()
Required: The type of requirement.
|
Requirement.TypeMatchingStrategy |
getTypeMatchingStrategy()
Strategy to use for matching types in the value parameter (e.g.
|
java.lang.String |
getValue(int index)
The value banned, optional for "custom" requirements.
|
com.google.protobuf.ByteString |
getValueBytes(int index)
The value banned, optional for "custom" requirements.
|
int |
getValueCount()
The value banned, optional for "custom" requirements.
|
com.google.protobuf.ProtocolStringList |
getValueList()
The value banned, optional for "custom" requirements.
|
java.lang.String |
getWhitelist(int index)
Optional: A list of source path prefixes that are exempt from the
requirement.
|
com.google.protobuf.ByteString |
getWhitelistBytes(int index)
Optional: A list of source path prefixes that are exempt from the
requirement.
|
int |
getWhitelistCount()
Optional: A list of source path prefixes that are exempt from the
requirement.
|
Requirement.WhitelistEntry |
getWhitelistEntry(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.WhitelistEntry.Builder |
getWhitelistEntryBuilder(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
java.util.List<Requirement.WhitelistEntry.Builder> |
getWhitelistEntryBuilderList()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
int |
getWhitelistEntryCount()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
java.util.List<Requirement.WhitelistEntry> |
getWhitelistEntryList()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.WhitelistEntryOrBuilder |
getWhitelistEntryOrBuilder(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
java.util.List<? extends Requirement.WhitelistEntryOrBuilder> |
getWhitelistEntryOrBuilderList()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
com.google.protobuf.ProtocolStringList |
getWhitelistList()
Optional: A list of source path prefixes that are exempt from the
requirement.
|
java.lang.String |
getWhitelistRegexp(int index)
Optional: A list of source paths regexs that are exempt from the
requirement.
|
com.google.protobuf.ByteString |
getWhitelistRegexpBytes(int index)
Optional: A list of source paths regexs that are exempt from the
requirement.
|
int |
getWhitelistRegexpCount()
Optional: A list of source paths regexs that are exempt from the
requirement.
|
com.google.protobuf.ProtocolStringList |
getWhitelistRegexpList()
Optional: A list of source paths regexs that are exempt from the
requirement.
|
boolean |
hasAllowExtendingValue()
Whether to allow subconfigs to extend the "value" field.
|
boolean |
hasErrorMessage()
Required: The message to report when a requirement is violated.
|
boolean |
hasExtends()
Allows extending whitelists of rules with the specified rule_id.
|
boolean |
hasJavaClass()
For "custom" requirements, the Java class used to enforce the requirement.
|
boolean |
hasReportLooseTypeViolations()
Whether to report possible violations when type information is not exact.
|
boolean |
hasRuleId()
Gives the rule an unique ID that can be used for extending in other rules
through 'extends'.
|
boolean |
hasSeverity()
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING]; |
boolean |
hasType()
Required: The type of requirement.
|
boolean |
hasTypeMatchingStrategy()
Strategy to use for matching types in the value parameter (e.g.
|
protected com.google.protobuf.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Requirement.Builder |
removeWhitelistEntry(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
setAllowExtendingValue(boolean value)
Whether to allow subconfigs to extend the "value" field.
|
Requirement.Builder |
setConfigFile(int index,
java.lang.String value)
The file(s) that defined this requirement.
|
Requirement.Builder |
setErrorMessage(java.lang.String value)
Required: The message to report when a requirement is violated.
|
Requirement.Builder |
setErrorMessageBytes(com.google.protobuf.ByteString value)
Required: The message to report when a requirement is violated.
|
Requirement.Builder |
setExtends(java.lang.String value)
Allows extending whitelists of rules with the specified rule_id.
|
Requirement.Builder |
setExtendsBytes(com.google.protobuf.ByteString value)
Allows extending whitelists of rules with the specified rule_id.
|
<Type> Requirement.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,java.util.List<Type>> extension,
int index,
Type value) |
<Type> Requirement.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,Type> extension,
Type value) |
Requirement.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Requirement.Builder |
setJavaClass(java.lang.String value)
For "custom" requirements, the Java class used to enforce the requirement.
|
Requirement.Builder |
setJavaClassBytes(com.google.protobuf.ByteString value)
For "custom" requirements, the Java class used to enforce the requirement.
|
Requirement.Builder |
setOnlyApplyTo(int index,
java.lang.String value)
Optional: A list of source paths that will be checked for the requirement
(the opposite of whitelist).
|
Requirement.Builder |
setOnlyApplyToRegexp(int index,
java.lang.String value)
Optional: A list of source path regexps that will be checked for
the requirement (the opposite of whitelist_regexp).
|
Requirement.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Requirement.Builder |
setReportLooseTypeViolations(boolean value)
Whether to report possible violations when type information is not exact.
|
Requirement.Builder |
setRuleId(java.lang.String value)
Gives the rule an unique ID that can be used for extending in other rules
through 'extends'.
|
Requirement.Builder |
setRuleIdBytes(com.google.protobuf.ByteString value)
Gives the rule an unique ID that can be used for extending in other rules
through 'extends'.
|
Requirement.Builder |
setSeverity(Requirement.Severity value)
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING]; |
Requirement.Builder |
setType(Requirement.Type value)
Required: The type of requirement.
|
Requirement.Builder |
setTypeMatchingStrategy(Requirement.TypeMatchingStrategy value)
Strategy to use for matching types in the value parameter (e.g.
|
Requirement.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Requirement.Builder |
setValue(int index,
java.lang.String value)
The value banned, optional for "custom" requirements.
|
Requirement.Builder |
setWhitelist(int index,
java.lang.String value)
Optional: A list of source path prefixes that are exempt from the
requirement.
|
Requirement.Builder |
setWhitelistEntry(int index,
Requirement.WhitelistEntry.Builder builderForValue)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
setWhitelistEntry(int index,
Requirement.WhitelistEntry value)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14; |
Requirement.Builder |
setWhitelistRegexp(int index,
java.lang.String value)
Optional: A list of source paths regexs that are exempt from the
requirement.
|
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, newBuilderForField, setExtension, setExtension, setExtension, setExtension
getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Requirement.Builder>
public Requirement getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessageV3.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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Requirement.Builder>
public Requirement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public Requirement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public Requirement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Requirement.Builder>
public Requirement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public Requirement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public <Type> Requirement.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,Type> extension, Type value)
setExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public <Type> Requirement.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,java.util.List<Type>> extension, int index, Type value)
setExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public <Type> Requirement.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,java.util.List<Type>> extension, Type value)
addExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public <Type> Requirement.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<Requirement,?> extension)
clearExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.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.GeneratedMessageV3.ExtendableBuilder<Requirement,Requirement.Builder>
public Requirement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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>
java.io.IOException
public boolean hasErrorMessage()
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
optional string error_message = 1;
hasErrorMessage
in interface RequirementOrBuilder
public java.lang.String getErrorMessage()
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
optional string error_message = 1;
getErrorMessage
in interface RequirementOrBuilder
public com.google.protobuf.ByteString getErrorMessageBytes()
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
optional string error_message = 1;
getErrorMessageBytes
in interface RequirementOrBuilder
public Requirement.Builder setErrorMessage(java.lang.String value)
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
optional string error_message = 1;
value
- The errorMessage to set.public Requirement.Builder clearErrorMessage()
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
optional string error_message = 1;
public Requirement.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
Required: The message to report when a requirement is violated. This should reference a document describing the reasoning for the requirement and contacts.
optional string error_message = 1;
value
- The bytes for errorMessage to set.public com.google.protobuf.ProtocolStringList getWhitelistList()
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
getWhitelistList
in interface RequirementOrBuilder
public int getWhitelistCount()
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
getWhitelistCount
in interface RequirementOrBuilder
public java.lang.String getWhitelist(int index)
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
getWhitelist
in interface RequirementOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getWhitelistBytes(int index)
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
getWhitelistBytes
in interface RequirementOrBuilder
index
- The index of the value to return.public Requirement.Builder setWhitelist(int index, java.lang.String value)
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
index
- The index to set the value at.value
- The whitelist to set.public Requirement.Builder addWhitelist(java.lang.String value)
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
value
- The whitelist to add.public Requirement.Builder addAllWhitelist(java.lang.Iterable<java.lang.String> values)
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
values
- The whitelist to add.public Requirement.Builder clearWhitelist()
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
public Requirement.Builder addWhitelistBytes(com.google.protobuf.ByteString value)
Optional: A list of source path prefixes that are exempt from the requirement.
repeated string whitelist = 2;
value
- The bytes of the whitelist to add.public com.google.protobuf.ProtocolStringList getWhitelistRegexpList()
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
getWhitelistRegexpList
in interface RequirementOrBuilder
public int getWhitelistRegexpCount()
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
getWhitelistRegexpCount
in interface RequirementOrBuilder
public java.lang.String getWhitelistRegexp(int index)
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
getWhitelistRegexp
in interface RequirementOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getWhitelistRegexpBytes(int index)
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
getWhitelistRegexpBytes
in interface RequirementOrBuilder
index
- The index of the value to return.public Requirement.Builder setWhitelistRegexp(int index, java.lang.String value)
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
index
- The index to set the value at.value
- The whitelistRegexp to set.public Requirement.Builder addWhitelistRegexp(java.lang.String value)
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
value
- The whitelistRegexp to add.public Requirement.Builder addAllWhitelistRegexp(java.lang.Iterable<java.lang.String> values)
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
values
- The whitelistRegexp to add.public Requirement.Builder clearWhitelistRegexp()
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
public Requirement.Builder addWhitelistRegexpBytes(com.google.protobuf.ByteString value)
Optional: A list of source paths regexs that are exempt from the requirement.
repeated string whitelist_regexp = 3;
value
- The bytes of the whitelistRegexp to add.public java.util.List<Requirement.WhitelistEntry> getWhitelistEntryList()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
getWhitelistEntryList
in interface RequirementOrBuilder
public int getWhitelistEntryCount()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
getWhitelistEntryCount
in interface RequirementOrBuilder
public Requirement.WhitelistEntry getWhitelistEntry(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
getWhitelistEntry
in interface RequirementOrBuilder
public Requirement.Builder setWhitelistEntry(int index, Requirement.WhitelistEntry value)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder setWhitelistEntry(int index, Requirement.WhitelistEntry.Builder builderForValue)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder addWhitelistEntry(Requirement.WhitelistEntry value)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder addWhitelistEntry(int index, Requirement.WhitelistEntry value)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder addWhitelistEntry(Requirement.WhitelistEntry.Builder builderForValue)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder addWhitelistEntry(int index, Requirement.WhitelistEntry.Builder builderForValue)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder addAllWhitelistEntry(java.lang.Iterable<? extends Requirement.WhitelistEntry> values)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder clearWhitelistEntry()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.Builder removeWhitelistEntry(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.WhitelistEntry.Builder getWhitelistEntryBuilder(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.WhitelistEntryOrBuilder getWhitelistEntryOrBuilder(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
getWhitelistEntryOrBuilder
in interface RequirementOrBuilder
public java.util.List<? extends Requirement.WhitelistEntryOrBuilder> getWhitelistEntryOrBuilderList()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
getWhitelistEntryOrBuilderList
in interface RequirementOrBuilder
public Requirement.WhitelistEntry.Builder addWhitelistEntryBuilder()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public Requirement.WhitelistEntry.Builder addWhitelistEntryBuilder(int index)
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public java.util.List<Requirement.WhitelistEntry.Builder> getWhitelistEntryBuilderList()
repeated .jscomp.Requirement.WhitelistEntry whitelist_entry = 14;
public com.google.protobuf.ProtocolStringList getOnlyApplyToList()
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
getOnlyApplyToList
in interface RequirementOrBuilder
public int getOnlyApplyToCount()
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
getOnlyApplyToCount
in interface RequirementOrBuilder
public java.lang.String getOnlyApplyTo(int index)
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
getOnlyApplyTo
in interface RequirementOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getOnlyApplyToBytes(int index)
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
getOnlyApplyToBytes
in interface RequirementOrBuilder
index
- The index of the value to return.public Requirement.Builder setOnlyApplyTo(int index, java.lang.String value)
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
index
- The index to set the value at.value
- The onlyApplyTo to set.public Requirement.Builder addOnlyApplyTo(java.lang.String value)
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
value
- The onlyApplyTo to add.public Requirement.Builder addAllOnlyApplyTo(java.lang.Iterable<java.lang.String> values)
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
values
- The onlyApplyTo to add.public Requirement.Builder clearOnlyApplyTo()
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
public Requirement.Builder addOnlyApplyToBytes(com.google.protobuf.ByteString value)
Optional: A list of source paths that will be checked for the requirement (the opposite of whitelist).
repeated string only_apply_to = 4;
value
- The bytes of the onlyApplyTo to add.public com.google.protobuf.ProtocolStringList getOnlyApplyToRegexpList()
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
getOnlyApplyToRegexpList
in interface RequirementOrBuilder
public int getOnlyApplyToRegexpCount()
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
getOnlyApplyToRegexpCount
in interface RequirementOrBuilder
public java.lang.String getOnlyApplyToRegexp(int index)
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
getOnlyApplyToRegexp
in interface RequirementOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getOnlyApplyToRegexpBytes(int index)
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
getOnlyApplyToRegexpBytes
in interface RequirementOrBuilder
index
- The index of the value to return.public Requirement.Builder setOnlyApplyToRegexp(int index, java.lang.String value)
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
index
- The index to set the value at.value
- The onlyApplyToRegexp to set.public Requirement.Builder addOnlyApplyToRegexp(java.lang.String value)
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
value
- The onlyApplyToRegexp to add.public Requirement.Builder addAllOnlyApplyToRegexp(java.lang.Iterable<java.lang.String> values)
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
values
- The onlyApplyToRegexp to add.public Requirement.Builder clearOnlyApplyToRegexp()
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
public Requirement.Builder addOnlyApplyToRegexpBytes(com.google.protobuf.ByteString value)
Optional: A list of source path regexps that will be checked for the requirement (the opposite of whitelist_regexp).
repeated string only_apply_to_regexp = 5;
value
- The bytes of the onlyApplyToRegexp to add.public boolean hasType()
Required: The type of requirement.
optional .jscomp.Requirement.Type type = 6;
hasType
in interface RequirementOrBuilder
public Requirement.Type getType()
Required: The type of requirement.
optional .jscomp.Requirement.Type type = 6;
getType
in interface RequirementOrBuilder
public Requirement.Builder setType(Requirement.Type value)
Required: The type of requirement.
optional .jscomp.Requirement.Type type = 6;
value
- The type to set.public Requirement.Builder clearType()
Required: The type of requirement.
optional .jscomp.Requirement.Type type = 6;
public com.google.protobuf.ProtocolStringList getValueList()
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
getValueList
in interface RequirementOrBuilder
public int getValueCount()
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
getValueCount
in interface RequirementOrBuilder
public java.lang.String getValue(int index)
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
getValue
in interface RequirementOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getValueBytes(int index)
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
getValueBytes
in interface RequirementOrBuilder
index
- The index of the value to return.public Requirement.Builder setValue(int index, java.lang.String value)
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
index
- The index to set the value at.value
- The value to set.public Requirement.Builder addValue(java.lang.String value)
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
value
- The value to add.public Requirement.Builder addAllValue(java.lang.Iterable<java.lang.String> values)
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
values
- The value to add.public Requirement.Builder clearValue()
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
public Requirement.Builder addValueBytes(com.google.protobuf.ByteString value)
The value banned, optional for "custom" requirements. Some custom requirements repurpose this for different purposes, such as for whitelists of types.
repeated string value = 7;
value
- The bytes of the value to add.public boolean hasAllowExtendingValue()
Whether to allow subconfigs to extend the "value" field. This does not make sense for banning values, but when the value is used as a whitelist, it becomes important.
optional bool allow_extending_value = 15;
hasAllowExtendingValue
in interface RequirementOrBuilder
public boolean getAllowExtendingValue()
Whether to allow subconfigs to extend the "value" field. This does not make sense for banning values, but when the value is used as a whitelist, it becomes important.
optional bool allow_extending_value = 15;
getAllowExtendingValue
in interface RequirementOrBuilder
public Requirement.Builder setAllowExtendingValue(boolean value)
Whether to allow subconfigs to extend the "value" field. This does not make sense for banning values, but when the value is used as a whitelist, it becomes important.
optional bool allow_extending_value = 15;
value
- The allowExtendingValue to set.public Requirement.Builder clearAllowExtendingValue()
Whether to allow subconfigs to extend the "value" field. This does not make sense for banning values, but when the value is used as a whitelist, it becomes important.
optional bool allow_extending_value = 15;
public boolean hasTypeMatchingStrategy()
Strategy to use for matching types in the value parameter (e.g. for BANNED_CODE_PATTERN checks).
optional .jscomp.Requirement.TypeMatchingStrategy type_matching_strategy = 13 [default = LOOSE];
hasTypeMatchingStrategy
in interface RequirementOrBuilder
public Requirement.TypeMatchingStrategy getTypeMatchingStrategy()
Strategy to use for matching types in the value parameter (e.g. for BANNED_CODE_PATTERN checks).
optional .jscomp.Requirement.TypeMatchingStrategy type_matching_strategy = 13 [default = LOOSE];
getTypeMatchingStrategy
in interface RequirementOrBuilder
public Requirement.Builder setTypeMatchingStrategy(Requirement.TypeMatchingStrategy value)
Strategy to use for matching types in the value parameter (e.g. for BANNED_CODE_PATTERN checks).
optional .jscomp.Requirement.TypeMatchingStrategy type_matching_strategy = 13 [default = LOOSE];
value
- The typeMatchingStrategy to set.public Requirement.Builder clearTypeMatchingStrategy()
Strategy to use for matching types in the value parameter (e.g. for BANNED_CODE_PATTERN checks).
optional .jscomp.Requirement.TypeMatchingStrategy type_matching_strategy = 13 [default = LOOSE];
public boolean hasJavaClass()
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
optional string java_class = 8;
hasJavaClass
in interface RequirementOrBuilder
public java.lang.String getJavaClass()
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
optional string java_class = 8;
getJavaClass
in interface RequirementOrBuilder
public com.google.protobuf.ByteString getJavaClassBytes()
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
optional string java_class = 8;
getJavaClassBytes
in interface RequirementOrBuilder
public Requirement.Builder setJavaClass(java.lang.String value)
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
optional string java_class = 8;
value
- The javaClass to set.public Requirement.Builder clearJavaClass()
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
optional string java_class = 8;
public Requirement.Builder setJavaClassBytes(com.google.protobuf.ByteString value)
For "custom" requirements, the Java class used to enforce the requirement. Ignored otherwise.
optional string java_class = 8;
value
- The bytes for javaClass to set.public boolean hasRuleId()
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is 'closure:innerHtml'.
optional string rule_id = 9;
hasRuleId
in interface RequirementOrBuilder
public java.lang.String getRuleId()
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is 'closure:innerHtml'.
optional string rule_id = 9;
getRuleId
in interface RequirementOrBuilder
public com.google.protobuf.ByteString getRuleIdBytes()
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is 'closure:innerHtml'.
optional string rule_id = 9;
getRuleIdBytes
in interface RequirementOrBuilder
public Requirement.Builder setRuleId(java.lang.String value)
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is 'closure:innerHtml'.
optional string rule_id = 9;
value
- The ruleId to set.public Requirement.Builder clearRuleId()
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is 'closure:innerHtml'.
optional string rule_id = 9;
public Requirement.Builder setRuleIdBytes(com.google.protobuf.ByteString value)
Gives the rule an unique ID that can be used for extending in other rules through 'extends'. An example of ID is 'closure:innerHtml'.
optional string rule_id = 9;
value
- The bytes for ruleId to set.public boolean hasExtends()
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.
optional string extends = 10;
hasExtends
in interface RequirementOrBuilder
public java.lang.String getExtends()
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.
optional string extends = 10;
getExtends
in interface RequirementOrBuilder
public com.google.protobuf.ByteString getExtendsBytes()
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.
optional string extends = 10;
getExtendsBytes
in interface RequirementOrBuilder
public Requirement.Builder setExtends(java.lang.String value)
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.
optional string extends = 10;
value
- The extends to set.public Requirement.Builder clearExtends()
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.
optional string extends = 10;
public Requirement.Builder setExtendsBytes(com.google.protobuf.ByteString value)
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.
optional string extends = 10;
value
- The bytes for extends to set.public boolean hasReportLooseTypeViolations()
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).
optional bool report_loose_type_violations = 11 [default = true];
hasReportLooseTypeViolations
in interface RequirementOrBuilder
public boolean getReportLooseTypeViolations()
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).
optional bool report_loose_type_violations = 11 [default = true];
getReportLooseTypeViolations
in interface RequirementOrBuilder
public Requirement.Builder setReportLooseTypeViolations(boolean value)
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).
optional bool report_loose_type_violations = 11 [default = true];
value
- The reportLooseTypeViolations to set.public Requirement.Builder clearReportLooseTypeViolations()
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).
optional bool report_loose_type_violations = 11 [default = true];
public boolean hasSeverity()
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING];
hasSeverity
in interface RequirementOrBuilder
public Requirement.Severity getSeverity()
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING];
getSeverity
in interface RequirementOrBuilder
public Requirement.Builder setSeverity(Requirement.Severity value)
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING];
value
- The severity to set.public Requirement.Builder clearSeverity()
optional .jscomp.Requirement.Severity severity = 12 [default = WARNING];
public com.google.protobuf.ProtocolStringList getConfigFileList()
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
getConfigFileList
in interface RequirementOrBuilder
public int getConfigFileCount()
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
getConfigFileCount
in interface RequirementOrBuilder
public java.lang.String getConfigFile(int index)
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
getConfigFile
in interface RequirementOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getConfigFileBytes(int index)
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
getConfigFileBytes
in interface RequirementOrBuilder
index
- The index of the value to return.public Requirement.Builder setConfigFile(int index, java.lang.String value)
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
index
- The index to set the value at.value
- The configFile to set.public Requirement.Builder addConfigFile(java.lang.String value)
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
value
- The configFile to add.public Requirement.Builder addAllConfigFile(java.lang.Iterable<java.lang.String> values)
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
values
- The configFile to add.public Requirement.Builder clearConfigFile()
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
public Requirement.Builder addConfigFileBytes(com.google.protobuf.ByteString value)
The file(s) that defined this requirement. If the requirement is extended, then all extending files are included as well. These will be printed in the error message.
repeated string config_file = 16;
value
- The bytes of the configFile to add.public final Requirement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Requirement.Builder>
public final Requirement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Requirement.Builder>
Copyright © 2009-2020 Google. All Rights Reserved.