Package com.google.pubsub.v1
Interface RetryPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RetryPolicy
,RetryPolicy.Builder
public interface RetryPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Duration
Optional.com.google.protobuf.DurationOrBuilder
Optional.com.google.protobuf.Duration
Optional.com.google.protobuf.DurationOrBuilder
Optional.boolean
Optional.boolean
Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMinimumBackoff
boolean hasMinimumBackoff()Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
.google.protobuf.Duration minimum_backoff = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the minimumBackoff field is set.
-
getMinimumBackoff
com.google.protobuf.Duration getMinimumBackoff()Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
.google.protobuf.Duration minimum_backoff = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The minimumBackoff.
-
getMinimumBackoffOrBuilder
com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder()Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.
.google.protobuf.Duration minimum_backoff = 1 [(.google.api.field_behavior) = OPTIONAL];
-
hasMaximumBackoff
boolean hasMaximumBackoff()Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
.google.protobuf.Duration maximum_backoff = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the maximumBackoff field is set.
-
getMaximumBackoff
com.google.protobuf.Duration getMaximumBackoff()Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
.google.protobuf.Duration maximum_backoff = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The maximumBackoff.
-
getMaximumBackoffOrBuilder
com.google.protobuf.DurationOrBuilder getMaximumBackoffOrBuilder()Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.
.google.protobuf.Duration maximum_backoff = 2 [(.google.api.field_behavior) = OPTIONAL];
-