Interface FailurePolicyOrBuilder (2.24.0)

public interface FailurePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

public abstract FailurePolicy.ActionCase getActionCase()
Returns
TypeDescription
FailurePolicy.ActionCase

getRetry()

public abstract FailurePolicy.Retry getRetry()

If specified, the function is retried in case of a failure.

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

Returns
TypeDescription
FailurePolicy.Retry

The retry.

getRetryOrBuilder()

public abstract FailurePolicy.RetryOrBuilder getRetryOrBuilder()

If specified, the function is retried in case of a failure.

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

Returns
TypeDescription
FailurePolicy.RetryOrBuilder

hasRetry()

public abstract boolean hasRetry()

If specified, the function is retried in case of a failure.

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

Returns
TypeDescription
boolean

Whether the retry field is set.