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
The maximum delay between consecutive deliveries of a given message.com.google.protobuf.DurationOrBuilder
The maximum delay between consecutive deliveries of a given message.com.google.protobuf.Duration
The minimum delay between consecutive deliveries of a given message.com.google.protobuf.DurationOrBuilder
The minimum delay between consecutive deliveries of a given message.boolean
The maximum delay between consecutive deliveries of a given message.boolean
The minimum delay between consecutive deliveries of a given message.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()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;
- Returns:
- Whether the minimumBackoff field is set.
-
getMinimumBackoff
com.google.protobuf.Duration getMinimumBackoff()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;
- Returns:
- The minimumBackoff.
-
getMinimumBackoffOrBuilder
com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder()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;
-
hasMaximumBackoff
boolean hasMaximumBackoff()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;
- Returns:
- Whether the maximumBackoff field is set.
-
getMaximumBackoff
com.google.protobuf.Duration getMaximumBackoff()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;
- Returns:
- The maximumBackoff.
-
getMaximumBackoffOrBuilder
com.google.protobuf.DurationOrBuilder getMaximumBackoffOrBuilder()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;
-