Class FailurePolicy.Retry.Builder (2.13.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 will be retried on any failure. A failed execution will be 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FailurePolicy.Retry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public FailurePolicy.Retry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FailurePolicy.Retry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides

clone()

public FailurePolicy.Retry.Builder clone()
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

setField(Descriptors.FieldDescriptor field, Object value)

public FailurePolicy.Retry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FailurePolicy.Retry.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FailurePolicy.Retry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
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