Interface FailurePolicyOrBuilder (2.53.0)

public interface FailurePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

public abstract FailurePolicy.ActionCase getActionCase()
Returns
Type Description
FailurePolicy.ActionCase

getRetry()

public abstract FailurePolicy.Retry getRetry()

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

public abstract FailurePolicy.RetryOrBuilder getRetryOrBuilder()

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

public abstract boolean hasRetry()

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.