Send feedback Class Pipeline.RetryPolicy (1.57.0) Stay organized with collections Save and categorize content based on your preferences.
Version 1.57.0keyboard_arrow_down
public static final class Pipeline . RetryPolicy extends GeneratedMessageV3 implements Pipeline . RetryPolicyOrBuilder
The retry policy configuration for the Pipeline. The pipeline exponentially backs off in case the destination is non responsive or returns a retryable error code. The default semantics are as follows: The backoff starts with a 5 second delay and doubles the delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.). The delay is capped at 60 seconds by default. Please note that if you set the min_retry_delay and max_retry_delay fields to the same value this will make the duration between retries constant.
Protobuf type google.cloud.eventarc.v1.Pipeline.RetryPolicy
Inherited Members com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields MAX_ATTEMPTS_FIELD_NUMBER
public static final int MAX_ATTEMPTS_FIELD_NUMBER
Field Value Type Description int
MAX_RETRY_DELAY_FIELD_NUMBER
public static final int MAX_RETRY_DELAY_FIELD_NUMBER
Field Value Type Description int
MIN_RETRY_DELAY_FIELD_NUMBER
public static final int MIN_RETRY_DELAY_FIELD_NUMBER
Field Value Type Description int
Static Methods getDefaultInstance()
public static Pipeline . RetryPolicy getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Pipeline . RetryPolicy . Builder newBuilder ()
newBuilder(Pipeline.RetryPolicy )
public static Pipeline . RetryPolicy . Builder newBuilder ( Pipeline . RetryPolicy )
public static Pipeline . RetryPolicy parseDelimitedFrom ( InputStream input )
public static Pipeline . RetryPolicy parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Pipeline . RetryPolicy parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Pipeline . RetryPolicy parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Pipeline . RetryPolicy parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Pipeline . RetryPolicy parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Pipeline . RetryPolicy parseFrom ( CodedInputStream input )
public static Pipeline . RetryPolicy parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Pipeline . RetryPolicy parseFrom ( InputStream input )
public static Pipeline . RetryPolicy parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Pipeline . RetryPolicy parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Pipeline . RetryPolicy parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Pipeline . RetryPolicy > parser ()
Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides getDefaultInstanceForType()
public Pipeline . RetryPolicy getDefaultInstanceForType ()
getMaxAttempts()
public int getMaxAttempts ()
Optional. The maximum number of delivery attempts for any message. The value must be between 1 and 100. The default value for this field is 5.
int32 max_attempts = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description int
The maxAttempts.
getMaxRetryDelay()
public Duration getMaxRetryDelay ()
Optional. The maximum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 60.
.google.protobuf.Duration max_retry_delay = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description Duration
The maxRetryDelay.
getMaxRetryDelayOrBuilder()
public DurationOrBuilder getMaxRetryDelayOrBuilder ()
Optional. The maximum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 60.
.google.protobuf.Duration max_retry_delay = 3 [(.google.api.field_behavior) = OPTIONAL];
getMinRetryDelay()
public Duration getMinRetryDelay ()
Optional. The minimum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 5.
.google.protobuf.Duration min_retry_delay = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description Duration
The minRetryDelay.
getMinRetryDelayOrBuilder()
public DurationOrBuilder getMinRetryDelayOrBuilder ()
Optional. The minimum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 5.
.google.protobuf.Duration min_retry_delay = 2 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<Pipeline . RetryPolicy > getParserForType ()
Overrides getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides hasMaxRetryDelay()
public boolean hasMaxRetryDelay ()
Optional. The maximum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 60.
.google.protobuf.Duration max_retry_delay = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description boolean
Whether the maxRetryDelay field is set.
hasMinRetryDelay()
public boolean hasMinRetryDelay ()
Optional. The minimum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 5.
.google.protobuf.Duration min_retry_delay = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description boolean
Whether the minRetryDelay field is set.
hashCode() Returns Type Description int
Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides newBuilderForType()
public Pipeline . RetryPolicy . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Pipeline . RetryPolicy . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides toBuilder()
public Pipeline . RetryPolicy . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides Send feedback
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-06-05 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]