Interface Pipeline.RetryPolicyOrBuilder (1.55.0)

public static interface Pipeline.RetryPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxAttempts()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.