Class FailurePolicy.Retry.Builder (2.20.0)

public static final class FailurePolicy.Retry.Builder extends GeneratedMessageV3.Builder<FailurePolicy.Retry.Builder> implements FailurePolicy.RetryOrBuilder

Describes the retry policy in case of function's execution failure. A function execution is retried on any failure. A failed execution is retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution.

Protobuf type google.cloud.functions.v1.FailurePolicy.Retry

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

build()

public FailurePolicy.Retry build()
Returns
TypeDescription
FailurePolicy.Retry

buildPartial()

public FailurePolicy.Retry buildPartial()
Returns
TypeDescription
FailurePolicy.Retry

clear()

public FailurePolicy.Retry.Builder clear()
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides

getDefaultInstanceForType()

public FailurePolicy.Retry getDefaultInstanceForType()
Returns
TypeDescription
FailurePolicy.Retry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FailurePolicy.Retry other)

public FailurePolicy.Retry.Builder mergeFrom(FailurePolicy.Retry other)
Parameter
NameDescription
otherFailurePolicy.Retry
Returns
TypeDescription
FailurePolicy.Retry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FailurePolicy.Retry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FailurePolicy.Retry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FailurePolicy.Retry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FailurePolicy.Retry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides