Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AnnotationBoolean c : AnnotationBoolean.values())
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eAnnotationBoolean\u003c/code\u003e is an enum designed for use in API annotations, allowing for a boolean flag or an unspecified state.\u003c/p\u003e\n"],["\u003cp\u003eThis enum has three constants: \u003ccode\u003eTRUE\u003c/code\u003e, \u003ccode\u003eFALSE\u003c/code\u003e, and \u003ccode\u003eUNSPECIFIED\u003c/code\u003e, providing options for explicit boolean values or an undefined state.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalues()\u003c/code\u003e method returns an array containing all the constants of the \u003ccode\u003eAnnotationBoolean\u003c/code\u003e enum, in their declared order.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalueOf(String name)\u003c/code\u003e method retrieves a specific \u003ccode\u003eAnnotationBoolean\u003c/code\u003e enum constant by its name, throwing an exception if no matching constant exists or if a null argument is provided.\u003c/p\u003e\n"]]],[],null,["# AnnotationBoolean\n\ncom.google.api.server.spi.config\n\nEnum AnnotationBoolean\n----------------------\n\n- java.lang.Object\n-\n - java.lang.Enum\\\u003c[AnnotationBoolean](../../../../../../com/google/api/server/spi/config/AnnotationBoolean.html \"enum in com.google.api.server.spi.config\")\\\u003e\n -\n - com.google.api.server.spi.config.AnnotationBoolean\n\n-\n\n All Implemented Interfaces:\n : java.io.Serializable, java.lang.Comparable\\\u003c[AnnotationBoolean](../../../../../../com/google/api/server/spi/config/AnnotationBoolean.html \"enum in com.google.api.server.spi.config\")\\\u003e\n\n *** ** * ** ***\n\n \u003cbr /\u003e\n\n ```\n public enum AnnotationBoolean\n extends java.lang.Enum\u003cAnnotationBoolean\u003e\n ``` \nEnum allowing a boolean flag or unspecified. For use in api annotations. \n-\n -\n\n ### Enum Constant Summary\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Summary\n\n -\n\n ### Methods inherited from class java.lang.Enum\n\n `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`\n\n \u003c!-- --\u003e\n\n -\n\n ### Methods inherited from class java.lang.Object\n\n`getClass, notify, notifyAll, wait, wait, wait` \n-\n -\n\n ### Enum Constant Detail\n\n\n -\n\n #### TRUE\n\n ```\n public static final AnnotationBoolean TRUE\n ```\n\n\n -\n\n #### FALSE\n\n ```\n public static final AnnotationBoolean FALSE\n ```\n\n\n -\n\n #### UNSPECIFIED\n\n ```\n public static final AnnotationBoolean UNSPECIFIED\n ```\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Detail\n\n\n -\n\n #### values\n\n ```\n public static AnnotationBoolean[] values()\n ``` \n Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: \n\n ```\n for (AnnotationBoolean c : AnnotationBoolean.values())\n System.out.println(c);\n ```\n\n Returns:\n : an array containing the constants of this enum type, in the order they are declared\n\n\n -\n\n #### valueOf\n\n ```\n public static AnnotationBoolean valueOf(java.lang.String name)\n ``` \n Returns the enum constant of this type with the specified name. The string must match *exactly* an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)\n\n Parameters:\n : `name` - the name of the enum constant to be returned.\n\n Returns:\n : the enum constant with the specified name\n\n Throws:\n : `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name\n : `java.lang.NullPointerException` - if the argument is null"]]