Enum HttpMethod (2.9.0)

public enum HttpMethod extends Enum<HttpMethod> implements ProtocolMessageEnum

The HTTP method used to execute the task.

Protobuf enum google.cloud.tasks.v2beta2.HttpMethod

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DELETE

HTTP DELETE

DELETE = 5;

DELETE_VALUE

HTTP DELETE

DELETE = 5;

GET

HTTP GET

GET = 2;

GET_VALUE

HTTP GET

GET = 2;

HEAD

HTTP HEAD

HEAD = 3;

HEAD_VALUE

HTTP HEAD

HEAD = 3;

HTTP_METHOD_UNSPECIFIED

HTTP method unspecified

HTTP_METHOD_UNSPECIFIED = 0;

HTTP_METHOD_UNSPECIFIED_VALUE

HTTP method unspecified

HTTP_METHOD_UNSPECIFIED = 0;

POST

HTTP POST

POST = 1;

POST_VALUE

HTTP POST

POST = 1;

PUT

HTTP PUT

PUT = 4;

PUT_VALUE

HTTP PUT

PUT = 4;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()