All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.RequirementOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: conformance.proto

package com.google.javascript.jscomp;

public interface RequirementOrBuilder extends
    com.google.protobuf.GeneratedMessage.
        ExtendableMessageOrBuilder {

  // optional string error_message = 1;
  /**
   * 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.
   * 
*/ 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.
   * 
*/ java.lang.String getErrorMessage(); /** * optional string error_message = 1; * *
   * Required: The message to report when a requirement is violated. This should
   * reference a document describing the reasoning for the requirement
   * and contacts.
   * 
*/ com.google.protobuf.ByteString getErrorMessageBytes(); // repeated string whitelist = 2; /** * repeated string whitelist = 2; * *
   * Optional: A list of source paths that are exempt from the requirement.
   * 
*/ java.util.List getWhitelistList(); /** * repeated string whitelist = 2; * *
   * Optional: A list of source paths that are exempt from the requirement.
   * 
*/ int getWhitelistCount(); /** * repeated string whitelist = 2; * *
   * Optional: A list of source paths that are exempt from the requirement.
   * 
*/ java.lang.String getWhitelist(int index); /** * repeated string whitelist = 2; * *
   * Optional: A list of source paths that are exempt from the requirement.
   * 
*/ com.google.protobuf.ByteString getWhitelistBytes(int index); // repeated string whitelist_regexp = 3; /** * repeated string whitelist_regexp = 3; * *
   * Optional: A list of source paths regexs that are exempt from the
   * requirement.
   * 
*/ java.util.List getWhitelistRegexpList(); /** * repeated string whitelist_regexp = 3; * *
   * Optional: A list of source paths regexs that are exempt from the
   * requirement.
   * 
*/ int getWhitelistRegexpCount(); /** * repeated string whitelist_regexp = 3; * *
   * Optional: A list of source paths regexs that are exempt from the
   * requirement.
   * 
*/ java.lang.String getWhitelistRegexp(int index); /** * repeated string whitelist_regexp = 3; * *
   * Optional: A list of source paths regexs that are exempt from the
   * requirement.
   * 
*/ com.google.protobuf.ByteString getWhitelistRegexpBytes(int index); // repeated string only_apply_to = 4; /** * repeated string only_apply_to = 4; * *
   * Optional: A list of source paths that will be checked for the requirement
   * (the opposite of whitelist).
   * 
*/ java.util.List getOnlyApplyToList(); /** * repeated string only_apply_to = 4; * *
   * Optional: A list of source paths that will be checked for the requirement
   * (the opposite of whitelist).
   * 
*/ 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).
   * 
*/ java.lang.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).
   * 
*/ com.google.protobuf.ByteString getOnlyApplyToBytes(int index); // repeated string only_apply_to_regexp = 5; /** * 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).
   * 
*/ java.util.List 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).
   * 
*/ 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).
   * 
*/ java.lang.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).
   * 
*/ com.google.protobuf.ByteString getOnlyApplyToRegexpBytes(int index); // optional .jscomp.Requirement.Type type = 6; /** * optional .jscomp.Requirement.Type type = 6; * *
   * Required: The type of requirement.
   * 
*/ boolean hasType(); /** * optional .jscomp.Requirement.Type type = 6; * *
   * Required: The type of requirement.
   * 
*/ com.google.javascript.jscomp.Requirement.Type getType(); // repeated string value = 7; /** * repeated string value = 7; * *
   * The value banned, optional for "custom" requirements.
   * 
*/ java.util.List getValueList(); /** * repeated string value = 7; * *
   * The value banned, optional for "custom" requirements.
   * 
*/ int getValueCount(); /** * repeated string value = 7; * *
   * The value banned, optional for "custom" requirements.
   * 
*/ java.lang.String getValue(int index); /** * repeated string value = 7; * *
   * The value banned, optional for "custom" requirements.
   * 
*/ com.google.protobuf.ByteString getValueBytes(int index); // optional string java_class = 8; /** * optional string java_class = 8; * *
   * For "custom" requirements, the Java class used to enforce the requirement.
   * Ignored otherwise.
   * 
*/ boolean hasJavaClass(); /** * optional string java_class = 8; * *
   * For "custom" requirements, the Java class used to enforce the requirement.
   * Ignored otherwise.
   * 
*/ java.lang.String getJavaClass(); /** * optional string java_class = 8; * *
   * For "custom" requirements, the Java class used to enforce the requirement.
   * Ignored otherwise.
   * 
*/ com.google.protobuf.ByteString getJavaClassBytes(); // optional string rule_id = 9; /** * 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'.
   * 
*/ 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'.
   * 
*/ java.lang.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'.
   * 
*/ com.google.protobuf.ByteString getRuleIdBytes(); // optional string extends = 10; /** * 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.
   * 
*/ 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.
   * 
*/ java.lang.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.
   * 
*/ com.google.protobuf.ByteString getExtendsBytes(); // optional bool report_loose_type_violations = 11 [default = true]; /** * 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).
   * 
*/ 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).
   * 
*/ boolean getReportLooseTypeViolations(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy