Package com.google.cloud.eventarc.v1
Interface Pipeline.RetryPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Pipeline.RetryPolicy,Pipeline.RetryPolicy.Builder
- Enclosing class:
- Pipeline
public static interface Pipeline.RetryPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOptional.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMaxAttempts
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:
- The maxAttempts.
-
hasMinRetryDelay
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:
- Whether the minRetryDelay field is set.
-
getMinRetryDelay
com.google.protobuf.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:
- The minRetryDelay.
-
getMinRetryDelayOrBuilder
com.google.protobuf.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]; -
hasMaxRetryDelay
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:
- Whether the maxRetryDelay field is set.
-
getMaxRetryDelay
com.google.protobuf.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:
- The maxRetryDelay.
-
getMaxRetryDelayOrBuilder
com.google.protobuf.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];
-