Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: conformance.proto
package com.google.javascript.jscomp;
/**
* Protobuf type {@code jscomp.Requirement}
*
*
* A specification of code requirements
*
*/
public final class Requirement extends
com.google.protobuf.GeneratedMessage.ExtendableMessage<
Requirement> implements RequirementOrBuilder {
// Use Requirement.newBuilder() to construct.
private Requirement(com.google.protobuf.GeneratedMessage.ExtendableBuilder builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Requirement(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Requirement defaultInstance;
public static Requirement getDefaultInstance() {
return defaultInstance;
}
public Requirement getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Requirement(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
errorMessage_ = input.readBytes();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
whitelist_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
whitelist_.add(input.readBytes());
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
whitelistRegexp_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
whitelistRegexp_.add(input.readBytes());
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
onlyApplyTo_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
onlyApplyTo_.add(input.readBytes());
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
onlyApplyToRegexp_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
onlyApplyToRegexp_.add(input.readBytes());
break;
}
case 48: {
int rawValue = input.readEnum();
com.google.javascript.jscomp.Requirement.Type value = com.google.javascript.jscomp.Requirement.Type.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(6, rawValue);
} else {
bitField0_ |= 0x00000002;
type_ = value;
}
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
value_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000040;
}
value_.add(input.readBytes());
break;
}
case 66: {
bitField0_ |= 0x00000004;
javaClass_ = input.readBytes();
break;
}
case 74: {
bitField0_ |= 0x00000008;
ruleId_ = input.readBytes();
break;
}
case 82: {
bitField0_ |= 0x00000010;
extends_ = input.readBytes();
break;
}
case 88: {
bitField0_ |= 0x00000020;
reportLooseTypeViolations_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
whitelist_ = new com.google.protobuf.UnmodifiableLazyStringList(whitelist_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
whitelistRegexp_ = new com.google.protobuf.UnmodifiableLazyStringList(whitelistRegexp_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
onlyApplyTo_ = new com.google.protobuf.UnmodifiableLazyStringList(onlyApplyTo_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
onlyApplyToRegexp_ = new com.google.protobuf.UnmodifiableLazyStringList(onlyApplyToRegexp_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
value_ = new com.google.protobuf.UnmodifiableLazyStringList(value_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.javascript.jscomp.Conformance.internal_static_jscomp_Requirement_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.javascript.jscomp.Conformance.internal_static_jscomp_Requirement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.javascript.jscomp.Requirement.class, com.google.javascript.jscomp.Requirement.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Requirement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Requirement(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code jscomp.Requirement.Type}
*
*
* A classification of the requirement and how it is enforced.
*
*/
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
/**
* CUSTOM = 1;
*
*
* A requirement enforced with code a external java class.
*
* A forbidden fully distinguished name. For example:
* - A global name like "eval" or "goog"
* - A namespaced value or type: namespace.Banned
* - A 'static' property: "namespace.Foo.banned"
*
* A banned instance property, for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
*
* A banned reading from an instance property, for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
* Unlike BANNED_PROPERTY, this only bans reads to the property,
* i.e. its use as an rvalue.
*
* A banned write to an instance property, for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
* Unlike BANNED_PROPERTY, this only bans assignments to the property,
* i.e. its use as an lvalue.
*
* A restricted call, for example:
* - The unsafe opt_html parameter must not be passed to createNode:
* goog.ui.tree.TreeControl.prototype.createNode:function()
*
* A banned function call. for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
* Unlike BANNED_PROPERTY, this only bans calls to the property
* i.e. using the property as a value is allowed.
*
* A banned write of a non-constant value to an instance property.
* Unlike BANNED_PROPERTY_WRITE, this only bans assignments of a
* non-constant value.
*
* A requirement enforced with code a external java class.
*
*/
public static final int CUSTOM_VALUE = 1;
/**
* BANNED_DEPENDENCY = 2;
*
*
* A forbidden source file
*
*/
public static final int BANNED_DEPENDENCY_VALUE = 2;
/**
* BANNED_NAME = 3;
*
*
* A forbidden fully distinguished name. For example:
* - A global name like "eval" or "goog"
* - A namespaced value or type: namespace.Banned
* - A 'static' property: "namespace.Foo.banned"
*
*/
public static final int BANNED_NAME_VALUE = 3;
/**
* BANNED_PROPERTY = 4;
*
*
* A banned instance property, for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
*
*/
public static final int BANNED_PROPERTY_VALUE = 4;
/**
* BANNED_PROPERTY_READ = 5;
*
*
* A banned reading from an instance property, for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
* Unlike BANNED_PROPERTY, this only bans reads to the property,
* i.e. its use as an rvalue.
*
*/
public static final int BANNED_PROPERTY_READ_VALUE = 5;
/**
* BANNED_PROPERTY_WRITE = 6;
*
*
* A banned write to an instance property, for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
* Unlike BANNED_PROPERTY, this only bans assignments to the property,
* i.e. its use as an lvalue.
*
*/
public static final int BANNED_PROPERTY_WRITE_VALUE = 6;
/**
* RESTRICTED_NAME_CALL = 7;
*
*
* A restricted call, for example:
* - the "parseInt" call must be called with a radix:
* parseInt:function(string, int)
*
*/
public static final int RESTRICTED_NAME_CALL_VALUE = 7;
/**
* RESTRICTED_METHOD_CALL = 8;
*
*
* A restricted call, for example:
* - The unsafe opt_html parameter must not be passed to createNode:
* goog.ui.tree.TreeControl.prototype.createNode:function()
*
*/
public static final int RESTRICTED_METHOD_CALL_VALUE = 8;
/**
* BANNED_CODE_PATTERN = 9;
*
*
* A banned code pattern. This check is done using against an AST.
* To ban a call to eval:
* "/** @param {?} a */ function template(a) {eval(a);}"
*
*/
public static final int BANNED_CODE_PATTERN_VALUE = 9;
/**
* BANNED_PROPERTY_CALL = 10;
*
*
* A banned function call. for example:
* - An 'instance' property: "namespace.Foo.prototype.banned"
* - All properties of a given name "Object.prototype.banned"
* Unlike BANNED_PROPERTY, this only bans calls to the property
* i.e. using the property as a value is allowed.
*
*/
public static final int BANNED_PROPERTY_CALL_VALUE = 10;
/**
* BANNED_PROPERTY_NON_CONSTANT_WRITE = 11;
*
*
* A banned write of a non-constant value to an instance property.
* Unlike BANNED_PROPERTY_WRITE, this only bans assignments of a
* non-constant value.
*
*/
public static final int BANNED_PROPERTY_NON_CONSTANT_WRITE_VALUE = 11;
public final int getNumber() { return value; }
public static Type valueOf(int value) {
switch (value) {
case 1: return CUSTOM;
case 2: return BANNED_DEPENDENCY;
case 3: return BANNED_NAME;
case 4: return BANNED_PROPERTY;
case 5: return BANNED_PROPERTY_READ;
case 6: return BANNED_PROPERTY_WRITE;
case 7: return RESTRICTED_NAME_CALL;
case 8: return RESTRICTED_METHOD_CALL;
case 9: return BANNED_CODE_PATTERN;
case 10: return BANNED_PROPERTY_CALL;
case 11: return BANNED_PROPERTY_NON_CONSTANT_WRITE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Type findValueByNumber(int number) {
return Type.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.google.javascript.jscomp.Requirement.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Type(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:jscomp.Requirement.Type)
}
private int bitField0_;
// optional string error_message = 1;
public static final int ERROR_MESSAGE_FIELD_NUMBER = 1;
private java.lang.Object errorMessage_;
/**
* 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.
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated string whitelist = 2;
public static final int WHITELIST_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList whitelist_;
/**
* repeated string whitelist = 2;
*
*
* Optional: A list of source paths that are exempt from the requirement.
*
* 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 com.google.protobuf.ByteString
getRuleIdBytes() {
java.lang.Object ref = ruleId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ruleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string extends = 10;
public static final int EXTENDS_FIELD_NUMBER = 10;
private java.lang.Object extends_;
/**
* 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.
*
* 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.
*
* 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.
*
* 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).
*
* 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 boolean getReportLooseTypeViolations() {
return reportLooseTypeViolations_;
}
private void initFields() {
errorMessage_ = "";
whitelist_ = com.google.protobuf.LazyStringArrayList.EMPTY;
whitelistRegexp_ = com.google.protobuf.LazyStringArrayList.EMPTY;
onlyApplyTo_ = com.google.protobuf.LazyStringArrayList.EMPTY;
onlyApplyToRegexp_ = com.google.protobuf.LazyStringArrayList.EMPTY;
type_ = com.google.javascript.jscomp.Requirement.Type.CUSTOM;
value_ = com.google.protobuf.LazyStringArrayList.EMPTY;
javaClass_ = "";
ruleId_ = "";
extends_ = "";
reportLooseTypeViolations_ = true;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!extensionsAreInitialized()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
com.google.protobuf.GeneratedMessage
.ExtendableMessage.ExtensionWriter extensionWriter =
newExtensionWriter();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getErrorMessageBytes());
}
for (int i = 0; i < whitelist_.size(); i++) {
output.writeBytes(2, whitelist_.getByteString(i));
}
for (int i = 0; i < whitelistRegexp_.size(); i++) {
output.writeBytes(3, whitelistRegexp_.getByteString(i));
}
for (int i = 0; i < onlyApplyTo_.size(); i++) {
output.writeBytes(4, onlyApplyTo_.getByteString(i));
}
for (int i = 0; i < onlyApplyToRegexp_.size(); i++) {
output.writeBytes(5, onlyApplyToRegexp_.getByteString(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(6, type_.getNumber());
}
for (int i = 0; i < value_.size(); i++) {
output.writeBytes(7, value_.getByteString(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(8, getJavaClassBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(9, getRuleIdBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(10, getExtendsBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(11, reportLooseTypeViolations_);
}
extensionWriter.writeUntil(536870912, output);
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getErrorMessageBytes());
}
{
int dataSize = 0;
for (int i = 0; i < whitelist_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(whitelist_.getByteString(i));
}
size += dataSize;
size += 1 * getWhitelistList().size();
}
{
int dataSize = 0;
for (int i = 0; i < whitelistRegexp_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(whitelistRegexp_.getByteString(i));
}
size += dataSize;
size += 1 * getWhitelistRegexpList().size();
}
{
int dataSize = 0;
for (int i = 0; i < onlyApplyTo_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(onlyApplyTo_.getByteString(i));
}
size += dataSize;
size += 1 * getOnlyApplyToList().size();
}
{
int dataSize = 0;
for (int i = 0; i < onlyApplyToRegexp_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(onlyApplyToRegexp_.getByteString(i));
}
size += dataSize;
size += 1 * getOnlyApplyToRegexpList().size();
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, type_.getNumber());
}
{
int dataSize = 0;
for (int i = 0; i < value_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(value_.getByteString(i));
}
size += dataSize;
size += 1 * getValueList().size();
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getJavaClassBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(9, getRuleIdBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, getExtendsBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, reportLooseTypeViolations_);
}
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static com.google.javascript.jscomp.Requirement parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.javascript.jscomp.Requirement parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.Requirement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.javascript.jscomp.Requirement parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.javascript.jscomp.Requirement parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.Requirement parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.Requirement parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.google.javascript.jscomp.Requirement parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.google.javascript.jscomp.Requirement parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.google.javascript.jscomp.Requirement parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.google.javascript.jscomp.Requirement prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code jscomp.Requirement}
*
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
* Required: The message to report when a requirement is violated. This should
* reference a document describing the reasoning for the requirement
* and contacts.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*