Interface FailurePolicyOrBuilder (2.45.0)

publicinterface FailurePolicyOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

publicabstractFailurePolicy.ActionCasegetActionCase()
Returns
Type Description
FailurePolicy.ActionCase

getRetry()

publicabstractFailurePolicy.RetrygetRetry()

If specified, then the function will be retried in case of a failure.

.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;

Returns
Type Description
FailurePolicy.Retry

The retry.

getRetryOrBuilder()

publicabstractFailurePolicy.RetryOrBuildergetRetryOrBuilder()

If specified, then the function will be retried in case of a failure.

.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;

Returns
Type Description
FailurePolicy.RetryOrBuilder

hasRetry()

publicabstractbooleanhasRetry()

If specified, then the function will be retried in case of a failure.

.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;

Returns
Type Description
boolean

Whether the retry field is set.

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.