public static enum HttpRequest.AuthorizationHeaderCase extends Enum<HttpRequest.AuthorizationHeaderCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
AUTHORIZATIONHEADER_NOT_SET |
OAUTH_TOKEN |
OIDC_TOKEN |
Modifier and Type | Method and Description |
---|---|
static HttpRequest.AuthorizationHeaderCase |
forNumber(int value) |
int |
getNumber() |
static HttpRequest.AuthorizationHeaderCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HttpRequest.AuthorizationHeaderCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpRequest.AuthorizationHeaderCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpRequest.AuthorizationHeaderCase OAUTH_TOKEN
public static final HttpRequest.AuthorizationHeaderCase OIDC_TOKEN
public static final HttpRequest.AuthorizationHeaderCase AUTHORIZATIONHEADER_NOT_SET
public static HttpRequest.AuthorizationHeaderCase[] values()
for (HttpRequest.AuthorizationHeaderCase c : HttpRequest.AuthorizationHeaderCase.values()) System.out.println(c);
public static HttpRequest.AuthorizationHeaderCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static HttpRequest.AuthorizationHeaderCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static HttpRequest.AuthorizationHeaderCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.