- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
public static final class FailurePolicy.Builder extends GeneratedMessageV3.Builder<FailurePolicy.Builder> implements FailurePolicyOrBuilder
Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e., not retrying them).
Protobuf type google.cloud.functions.v1.FailurePolicy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FailurePolicy.BuilderImplements
FailurePolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
build()
public FailurePolicy build()
Returns | |
---|---|
Type | Description |
FailurePolicy |
buildPartial()
public FailurePolicy buildPartial()
Returns | |
---|---|
Type | Description |
FailurePolicy |
clear()
public FailurePolicy.Builder clear()
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
clearAction()
public FailurePolicy.Builder clearAction()
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
clearRetry()
public FailurePolicy.Builder clearRetry()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
getActionCase()
public FailurePolicy.ActionCase getActionCase()
Returns | |
---|---|
Type | Description |
FailurePolicy.ActionCase |
getDefaultInstanceForType()
public FailurePolicy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FailurePolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRetry()
public FailurePolicy.Retry getRetry()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Returns | |
---|---|
Type | Description |
FailurePolicy.Retry | The retry. |
getRetryBuilder()
public FailurePolicy.Retry.Builder getRetryBuilder()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Returns | |
---|---|
Type | Description |
FailurePolicy.Retry.Builder |
getRetryOrBuilder()
public FailurePolicy.RetryOrBuilder getRetryOrBuilder()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Returns | |
---|---|
Type | Description |
FailurePolicy.RetryOrBuilder |
hasRetry()
public boolean hasRetry()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the retry field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FailurePolicy other)
public FailurePolicy.Builder mergeFrom(FailurePolicy other)
Parameter | |
---|---|
Name | Description |
other | FailurePolicy |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FailurePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FailurePolicy.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
mergeRetry(FailurePolicy.Retry value)
public FailurePolicy.Builder mergeRetry(FailurePolicy.Retry value)
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Parameter | |
---|---|
Name | Description |
value | FailurePolicy.Retry |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FailurePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
setRetry(FailurePolicy.Retry value)
public FailurePolicy.Builder setRetry(FailurePolicy.Retry value)
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Parameter | |
---|---|
Name | Description |
value | FailurePolicy.Retry |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
setRetry(FailurePolicy.Retry.Builder builderForValue)
public FailurePolicy.Builder setRetry(FailurePolicy.Retry.Builder builderForValue)
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | FailurePolicy.Retry.Builder |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FailurePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FailurePolicy.Builder |