Enum EventTrigger.RetryPolicy (2.44.0)

publicenumEventTrigger.RetryPolicyextendsEnum<EventTrigger.RetryPolicy>implementsProtocolMessageEnum

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

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.