io.temporal.api.common.v1.RetryPolicyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/common/v1/message.proto
package io.temporal.api.common.v1;
@javax.annotation.Generated(value="protoc", comments="annotations:RetryPolicyOrBuilder.java.pb.meta")
public interface RetryPolicyOrBuilder extends
// @@protoc_insertion_point(interface_extends:temporal.api.common.v1.RetryPolicy)
com.google.protobuf.MessageOrBuilder {
/**
*
* Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.
*
*
* .google.protobuf.Duration initial_interval = 1 [(.gogoproto.stdduration) = true];
* @return Whether the initialInterval field is set.
*/
boolean hasInitialInterval();
/**
*
* Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.
*
*
* .google.protobuf.Duration initial_interval = 1 [(.gogoproto.stdduration) = true];
* @return The initialInterval.
*/
com.google.protobuf.Duration getInitialInterval();
/**
*
* Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.
*
*
* .google.protobuf.Duration initial_interval = 1 [(.gogoproto.stdduration) = true];
*/
com.google.protobuf.DurationOrBuilder getInitialIntervalOrBuilder();
/**
*
* Coefficient used to calculate the next retry interval.
* The next retry interval is previous interval multiplied by the coefficient.
* Must be 1 or larger.
*
*
* double backoff_coefficient = 2;
* @return The backoffCoefficient.
*/
double getBackoffCoefficient();
/**
*
* Maximum interval between retries. Exponential backoff leads to interval increase.
* This value is the cap of the increase. Default is 100x of the initial interval.
*
*
* .google.protobuf.Duration maximum_interval = 3 [(.gogoproto.stdduration) = true];
* @return Whether the maximumInterval field is set.
*/
boolean hasMaximumInterval();
/**
*
* Maximum interval between retries. Exponential backoff leads to interval increase.
* This value is the cap of the increase. Default is 100x of the initial interval.
*
*
* .google.protobuf.Duration maximum_interval = 3 [(.gogoproto.stdduration) = true];
* @return The maximumInterval.
*/
com.google.protobuf.Duration getMaximumInterval();
/**
*
* Maximum interval between retries. Exponential backoff leads to interval increase.
* This value is the cap of the increase. Default is 100x of the initial interval.
*
*
* .google.protobuf.Duration maximum_interval = 3 [(.gogoproto.stdduration) = true];
*/
com.google.protobuf.DurationOrBuilder getMaximumIntervalOrBuilder();
/**
*
* Maximum number of attempts. When exceeded the retries stop even if not expired yet.
* 1 disables retries. 0 means unlimited (up to the timeouts)
*
*
* int32 maximum_attempts = 4;
* @return The maximumAttempts.
*/
int getMaximumAttempts();
/**
*
* Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
* this is not a substring match, the error *type* (not message) must match exactly.
*
*
* repeated string non_retryable_error_types = 5;
* @return A list containing the nonRetryableErrorTypes.
*/
java.util.List
getNonRetryableErrorTypesList();
/**
*
* Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
* this is not a substring match, the error *type* (not message) must match exactly.
*
*
* repeated string non_retryable_error_types = 5;
* @return The count of nonRetryableErrorTypes.
*/
int getNonRetryableErrorTypesCount();
/**
*
* Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
* this is not a substring match, the error *type* (not message) must match exactly.
*
*
* repeated string non_retryable_error_types = 5;
* @param index The index of the element to return.
* @return The nonRetryableErrorTypes at the given index.
*/
java.lang.String getNonRetryableErrorTypes(int index);
/**
*
* Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that
* this is not a substring match, the error *type* (not message) must match exactly.
*
*
* repeated string non_retryable_error_types = 5;
* @param index The index of the value to return.
* @return The bytes of the nonRetryableErrorTypes at the given index.
*/
com.google.protobuf.ByteString
getNonRetryableErrorTypesBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy