public static enum Webhook.GenericWebService.HttpMethod extends Enum<Webhook.GenericWebService.HttpMethod> implements com.google.protobuf.ProtocolMessageEnum
HTTP method to use when calling webhooks.Protobuf enum
google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.HttpMethod| Enum Constant and Description |
|---|
DELETE
HTTP DELETE Method.
|
GET
HTTP GET Method.
|
HEAD
HTTP HEAD Method.
|
HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
|
OPTIONS
HTTP OPTIONS Method.
|
PATCH
HTTP PATCH Method.
|
POST
HTTP POST Method.
|
PUT
HTTP PUT Method.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_VALUE
HTTP DELETE Method.
|
static int |
GET_VALUE
HTTP GET Method.
|
static int |
HEAD_VALUE
HTTP HEAD Method.
|
static int |
HTTP_METHOD_UNSPECIFIED_VALUE
HTTP method not specified.
|
static int |
OPTIONS_VALUE
HTTP OPTIONS Method.
|
static int |
PATCH_VALUE
HTTP PATCH Method.
|
static int |
POST_VALUE
HTTP POST Method.
|
static int |
PUT_VALUE
HTTP PUT Method.
|
| Modifier and Type | Method and Description |
|---|---|
static Webhook.GenericWebService.HttpMethod |
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<Webhook.GenericWebService.HttpMethod> |
internalGetValueMap() |
static Webhook.GenericWebService.HttpMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Webhook.GenericWebService.HttpMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Webhook.GenericWebService.HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Webhook.GenericWebService.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Webhook.GenericWebService.HttpMethod HTTP_METHOD_UNSPECIFIED
HTTP method not specified.
HTTP_METHOD_UNSPECIFIED = 0;public static final Webhook.GenericWebService.HttpMethod POST
HTTP POST Method.
POST = 1;public static final Webhook.GenericWebService.HttpMethod GET
HTTP GET Method.
GET = 2;public static final Webhook.GenericWebService.HttpMethod HEAD
HTTP HEAD Method.
HEAD = 3;public static final Webhook.GenericWebService.HttpMethod PUT
HTTP PUT Method.
PUT = 4;public static final Webhook.GenericWebService.HttpMethod DELETE
HTTP DELETE Method.
DELETE = 5;public static final Webhook.GenericWebService.HttpMethod PATCH
HTTP PATCH Method.
PATCH = 6;public static final Webhook.GenericWebService.HttpMethod OPTIONS
HTTP OPTIONS Method.
OPTIONS = 7;public static final Webhook.GenericWebService.HttpMethod UNRECOGNIZED
public static final int HTTP_METHOD_UNSPECIFIED_VALUE
HTTP method not specified.
HTTP_METHOD_UNSPECIFIED = 0;public static final int POST_VALUE
HTTP POST Method.
POST = 1;public static final int GET_VALUE
HTTP GET Method.
GET = 2;public static final int HEAD_VALUE
HTTP HEAD Method.
HEAD = 3;public static final int PUT_VALUE
HTTP PUT Method.
PUT = 4;public static final int DELETE_VALUE
HTTP DELETE Method.
DELETE = 5;public static final int PATCH_VALUE
HTTP PATCH Method.
PATCH = 6;public static final int OPTIONS_VALUE
HTTP OPTIONS Method.
OPTIONS = 7;public static Webhook.GenericWebService.HttpMethod[] values()
for (Webhook.GenericWebService.HttpMethod c : Webhook.GenericWebService.HttpMethod.values()) System.out.println(c);
public static Webhook.GenericWebService.HttpMethod 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 Webhook.GenericWebService.HttpMethod valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Webhook.GenericWebService.HttpMethod forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Webhook.GenericWebService.HttpMethod> 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 Webhook.GenericWebService.HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.