public static enum Tool.Authentication.RequestLocation extends Enum<Tool.Authentication.RequestLocation> implements com.google.protobuf.ProtocolMessageEnum
The location of the API key in the request.Protobuf enum
google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.RequestLocation| Enum Constant and Description |
|---|
HEADER
Represents the key in http header.
|
QUERY_STRING
Represents the key in query string.
|
REQUEST_LOCATION_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_VALUE
Represents the key in http header.
|
static int |
QUERY_STRING_VALUE
Represents the key in query string.
|
static int |
REQUEST_LOCATION_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static Tool.Authentication.RequestLocation |
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<Tool.Authentication.RequestLocation> |
internalGetValueMap() |
static Tool.Authentication.RequestLocation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Tool.Authentication.RequestLocation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tool.Authentication.RequestLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tool.Authentication.RequestLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tool.Authentication.RequestLocation REQUEST_LOCATION_UNSPECIFIED
Default value. This value is unused.
REQUEST_LOCATION_UNSPECIFIED = 0;public static final Tool.Authentication.RequestLocation HEADER
Represents the key in http header.
HEADER = 1;public static final Tool.Authentication.RequestLocation QUERY_STRING
Represents the key in query string.
QUERY_STRING = 2;public static final Tool.Authentication.RequestLocation UNRECOGNIZED
public static final int REQUEST_LOCATION_UNSPECIFIED_VALUE
Default value. This value is unused.
REQUEST_LOCATION_UNSPECIFIED = 0;public static final int HEADER_VALUE
Represents the key in http header.
HEADER = 1;public static final int QUERY_STRING_VALUE
Represents the key in query string.
QUERY_STRING = 2;public static Tool.Authentication.RequestLocation[] values()
for (Tool.Authentication.RequestLocation c : Tool.Authentication.RequestLocation.values()) System.out.println(c);
public static Tool.Authentication.RequestLocation 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 Tool.Authentication.RequestLocation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Tool.Authentication.RequestLocation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Tool.Authentication.RequestLocation> 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 Tool.Authentication.RequestLocation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.