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

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

Go to download

Closure Compiler is a JavaScript optimizing compiler. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs.

There is a newer version: v20250528
Show newest version
// 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). It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
   * 
*/ 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). It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
   * 
*/ int getOnlyApplyToCount(); /** * repeated string only_apply_to = 4; * *
   * Optional: A list of source paths that will be checked for the requirement
   * (the opposite of whitelist). It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
   * 
*/ 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). It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_regexp).
   * 
*/ 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).
   * It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_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).
   * It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_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).
   * It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_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).
   * It is an error to specify both
   * (whitelist/whitelist_regexp) and (only_apply_to/only_apply_to_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 '//javascript/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 '//javascript/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 '//javascript/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 and whitelist_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 and whitelist_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 and whitelist_regexp
   * are ignored.
   * 
*/ com.google.protobuf.ByteString getExtendsBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy