import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../google/protobuf/Duration.js'; export interface RetryPolicy { /** * default: 3 */ 'max_attempts'?: (number); /** * default: 1s */ 'initial_backoff'?: (_google_protobuf_Duration | null); /** * default: 60s */ 'max_backoff'?: (_google_protobuf_Duration | null); /** * default: 2.0 */ 'backoff_multiplier'?: (number | string); /** * error types that skip retry */ 'non_retryable_errors'?: (string)[]; } export interface RetryPolicy__Output { /** * default: 3 */ 'max_attempts': (number); /** * default: 1s */ 'initial_backoff': (_google_protobuf_Duration__Output | null); /** * default: 60s */ 'max_backoff': (_google_protobuf_Duration__Output | null); /** * default: 2.0 */ 'backoff_multiplier': (number); /** * error types that skip retry */ 'non_retryable_errors': (string)[]; }