Package com.google.cloud.functions.v1
Interface FailurePolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FailurePolicy
,FailurePolicy.Builder
public interface FailurePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FailurePolicy.ActionCase
getActionCase()
FailurePolicy.Retry
getRetry()
If specified, the function is retried in case of a failure.FailurePolicy.RetryOrBuilder
getRetryOrBuilder()
If specified, the function is retried in case of a failure.boolean
hasRetry()
If specified, the function is retried in case of a failure.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRetry
boolean hasRetry()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
- Returns:
- Whether the retry field is set.
-
getRetry
FailurePolicy.Retry getRetry()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
- Returns:
- The retry.
-
getRetryOrBuilder
FailurePolicy.RetryOrBuilder getRetryOrBuilder()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
-
getActionCase
FailurePolicy.ActionCase getActionCase()
-
-