Package com.google.genai.types
Enum HttpElementLocation.Known
- All Implemented Interfaces:
Serializable,Comparable<HttpElementLocation.Known>
- Enclosing class:
- HttpElementLocation
Enum representing the known values for HttpElementLocation.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionElement is in the HTTP request body.Element is in the HTTP request cookie.Element is in the HTTP request header.Element is in the HTTP request path.Element is in the HTTP request query. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpElementLocation.KnownReturns the enum constant of this type with the specified name.static HttpElementLocation.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HTTP_IN_UNSPECIFIED
-
HTTP_IN_QUERY
Element is in the HTTP request query. -
HTTP_IN_HEADER
Element is in the HTTP request header. -
HTTP_IN_PATH
Element is in the HTTP request path. -
HTTP_IN_BODY
Element is in the HTTP request body. -
HTTP_IN_COOKIE
Element is in the HTTP request cookie. -
HTTP_ELEMENT_LOCATION_UNSPECIFIED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-