public enum HttpElementLocation extends Enum<HttpElementLocation> implements com.google.protobuf.ProtocolMessageEnum
Enum of location an HTTP element can be.Protobuf enum
google.cloud.aiplatform.v1beta1.HttpElementLocation| Enum Constant and Description |
|---|
HTTP_IN_BODY
Element is in the HTTP request body.
|
HTTP_IN_COOKIE
Element is in the HTTP request cookie.
|
HTTP_IN_HEADER
Element is in the HTTP request header.
|
HTTP_IN_PATH
Element is in the HTTP request path.
|
HTTP_IN_QUERY
Element is in the HTTP request query.
|
HTTP_IN_UNSPECIFIED
HTTP_IN_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_IN_BODY_VALUE
Element is in the HTTP request body.
|
static int |
HTTP_IN_COOKIE_VALUE
Element is in the HTTP request cookie.
|
static int |
HTTP_IN_HEADER_VALUE
Element is in the HTTP request header.
|
static int |
HTTP_IN_PATH_VALUE
Element is in the HTTP request path.
|
static int |
HTTP_IN_QUERY_VALUE
Element is in the HTTP request query.
|
static int |
HTTP_IN_UNSPECIFIED_VALUE
HTTP_IN_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static HttpElementLocation |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<HttpElementLocation> |
internalGetValueMap() |
static HttpElementLocation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HttpElementLocation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HttpElementLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpElementLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpElementLocation HTTP_IN_UNSPECIFIED
HTTP_IN_UNSPECIFIED = 0;public static final HttpElementLocation HTTP_IN_QUERY
Element is in the HTTP request query.
HTTP_IN_QUERY = 1;public static final HttpElementLocation HTTP_IN_HEADER
Element is in the HTTP request header.
HTTP_IN_HEADER = 2;public static final HttpElementLocation HTTP_IN_PATH
Element is in the HTTP request path.
HTTP_IN_PATH = 3;public static final HttpElementLocation HTTP_IN_BODY
Element is in the HTTP request body.
HTTP_IN_BODY = 4;public static final HttpElementLocation HTTP_IN_COOKIE
Element is in the HTTP request cookie.
HTTP_IN_COOKIE = 5;public static final HttpElementLocation UNRECOGNIZED
public static final int HTTP_IN_UNSPECIFIED_VALUE
HTTP_IN_UNSPECIFIED = 0;public static final int HTTP_IN_QUERY_VALUE
Element is in the HTTP request query.
HTTP_IN_QUERY = 1;public static final int HTTP_IN_HEADER_VALUE
Element is in the HTTP request header.
HTTP_IN_HEADER = 2;public static final int HTTP_IN_PATH_VALUE
Element is in the HTTP request path.
HTTP_IN_PATH = 3;public static final int HTTP_IN_BODY_VALUE
Element is in the HTTP request body.
HTTP_IN_BODY = 4;public static final int HTTP_IN_COOKIE_VALUE
Element is in the HTTP request cookie.
HTTP_IN_COOKIE = 5;public static HttpElementLocation[] values()
for (HttpElementLocation c : HttpElementLocation.values()) System.out.println(c);
public static HttpElementLocation 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static HttpElementLocation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HttpElementLocation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HttpElementLocation> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HttpElementLocation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.