- 1.83.0 (latest)
- 1.82.0
- 1.81.0
- 1.80.0
- 1.78.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.2.4
public static final class Pipeline.RetryPolicy.Builder extends GeneratedMessage.Builder<Pipeline.RetryPolicy.Builder> implements Pipeline.RetryPolicyOrBuilderThe 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Pipeline.RetryPolicy.BuilderImplements
Pipeline.RetryPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Pipeline.RetryPolicy build()| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy |
|
buildPartial()
public Pipeline.RetryPolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy |
|
clear()
public Pipeline.RetryPolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
clearMaxAttempts()
public Pipeline.RetryPolicy.Builder clearMaxAttempts()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 |
Pipeline.RetryPolicy.Builder |
This builder for chaining. |
clearMaxRetryDelay()
public Pipeline.RetryPolicy.Builder clearMaxRetryDelay()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 |
Pipeline.RetryPolicy.Builder |
|
clearMinRetryDelay()
public Pipeline.RetryPolicy.Builder clearMinRetryDelay()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 |
Pipeline.RetryPolicy.Builder |
|
getDefaultInstanceForType()
public Pipeline.RetryPolicy getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getMaxRetryDelayBuilder()
public Duration.Builder getMaxRetryDelayBuilder()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 |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
getMinRetryDelayBuilder()
public Duration.Builder getMinRetryDelayBuilder()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 |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Pipeline.RetryPolicy other)
public Pipeline.RetryPolicy.Builder mergeFrom(Pipeline.RetryPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
Pipeline.RetryPolicy |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Pipeline.RetryPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Pipeline.RetryPolicy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
mergeMaxRetryDelay(Duration value)
public Pipeline.RetryPolicy.Builder mergeMaxRetryDelay(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
mergeMinRetryDelay(Duration value)
public Pipeline.RetryPolicy.Builder mergeMinRetryDelay(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
setMaxAttempts(int value)
public Pipeline.RetryPolicy.Builder setMaxAttempts(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxAttempts to set. |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
This builder for chaining. |
setMaxRetryDelay(Duration value)
public Pipeline.RetryPolicy.Builder setMaxRetryDelay(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
setMaxRetryDelay(Duration.Builder builderForValue)
public Pipeline.RetryPolicy.Builder setMaxRetryDelay(Duration.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
setMinRetryDelay(Duration value)
public Pipeline.RetryPolicy.Builder setMinRetryDelay(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|
setMinRetryDelay(Duration.Builder builderForValue)
public Pipeline.RetryPolicy.Builder setMinRetryDelay(Duration.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Pipeline.RetryPolicy.Builder |
|