public final class FailurePolicy extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
RETRY_FIELD_NUMBER
public static final int RETRY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static FailurePolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FailurePolicy.Builder newBuilder()
newBuilder(FailurePolicy prototype)
public static FailurePolicy.Builder newBuilder(FailurePolicy prototype)
public static FailurePolicy parseDelimitedFrom(InputStream input)
public static FailurePolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FailurePolicy parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FailurePolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy parseFrom(CodedInputStream input)
public static FailurePolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy parseFrom(InputStream input)
public static FailurePolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FailurePolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FailurePolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FailurePolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getActionCase()
public FailurePolicy.ActionCase getActionCase()
getDefaultInstanceForType()
public FailurePolicy getDefaultInstanceForType()
getParserForType()
public Parser<FailurePolicy> getParserForType()
Overrides
getRetry()
public FailurePolicy.Retry getRetry()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
getRetryOrBuilder()
public FailurePolicy.RetryOrBuilder getRetryOrBuilder()
If specified, the function is retried in case of a failure.
.google.cloud.functions.v1.FailurePolicy.Retry retry = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FailurePolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FailurePolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public FailurePolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides