public static final class FailurePolicy.Retry extends GeneratedMessageV3 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
getDefaultInstance()
public static FailurePolicy.Retry getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FailurePolicy.Retry.Builder newBuilder()
Returns
newBuilder(FailurePolicy.Retry prototype)
public static FailurePolicy.Retry.Builder newBuilder(FailurePolicy.Retry prototype)
Parameter
Returns
public static FailurePolicy.Retry parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FailurePolicy.Retry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FailurePolicy.Retry parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy.Retry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FailurePolicy.Retry parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy.Retry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FailurePolicy.Retry parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FailurePolicy.Retry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FailurePolicy.Retry parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FailurePolicy.Retry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FailurePolicy.Retry parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy.Retry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FailurePolicy.Retry> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FailurePolicy.Retry getDefaultInstanceForType()
Returns
getParserForType()
public Parser<FailurePolicy.Retry> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FailurePolicy.Retry.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FailurePolicy.Retry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FailurePolicy.Retry.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions