Class FailurePolicy.Retry.Builder (2.37.0)

publicstaticfinalclass FailurePolicy.Retry.BuilderextendsGeneratedMessageV3.Builder<FailurePolicy.Retry.Builder>implementsFailurePolicy.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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicFailurePolicy.Retry.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

build()

publicFailurePolicy.Retrybuild()
Returns
Type Description
FailurePolicy.Retry

buildPartial()

publicFailurePolicy.RetrybuildPartial()
Returns
Type Description
FailurePolicy.Retry

clear()

publicFailurePolicy.Retry.Builderclear()
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicFailurePolicy.Retry.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicFailurePolicy.Retry.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

clone()

publicFailurePolicy.Retry.Builderclone()
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

getDefaultInstanceForType()

publicFailurePolicy.RetrygetDefaultInstanceForType()
Returns
Type Description
FailurePolicy.Retry

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FailurePolicy.Retry other)

publicFailurePolicy.Retry.BuildermergeFrom(FailurePolicy.Retryother)
Parameter
Name Description
other FailurePolicy.Retry
Returns
Type Description
FailurePolicy.Retry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicFailurePolicy.Retry.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicFailurePolicy.Retry.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalFailurePolicy.Retry.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicFailurePolicy.Retry.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

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

publicFailurePolicy.Retry.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalFailurePolicy.Retry.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FailurePolicy.Retry.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.