Enum EventTrigger.RetryPolicy (2.23.0)

public enum EventTrigger.RetryPolicy extends Enum<EventTrigger.RetryPolicy> implements ProtocolMessageEnum

Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution.

Protobuf enum google.cloud.functions.v2beta.EventTrigger.RetryPolicy

Implements

ProtocolMessageEnum

Static Fields

NameDescription
RETRY_POLICY_DO_NOT_RETRY

Do not retry.

RETRY_POLICY_DO_NOT_RETRY = 1;

RETRY_POLICY_DO_NOT_RETRY_VALUE

Do not retry.

RETRY_POLICY_DO_NOT_RETRY = 1;

RETRY_POLICY_RETRY

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

RETRY_POLICY_RETRY = 2;

RETRY_POLICY_RETRY_VALUE

Retry on any failure, retry up to 7 days with an exponential backoff (capped at 10 seconds).

RETRY_POLICY_RETRY = 2;

RETRY_POLICY_UNSPECIFIED

Not specified.

RETRY_POLICY_UNSPECIFIED = 0;

RETRY_POLICY_UNSPECIFIED_VALUE

Not specified.

RETRY_POLICY_UNSPECIFIED = 0;

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()