Interface FailurePolicyOrBuilder (2.11.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, then the function will be 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, then the function will be 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, then the function will be retried in case of a failure.

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

Returns
TypeDescription
boolean

Whether the retry field is set.