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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getMaximumBackoff()
The maximum delay between consecutive deliveries of a given message.com.google.protobuf.DurationOrBuilder
getMaximumBackoffOrBuilder()
The maximum delay between consecutive deliveries of a given message.com.google.protobuf.Duration
getMinimumBackoff()
The minimum delay between consecutive deliveries of a given message.com.google.protobuf.DurationOrBuilder
getMinimumBackoffOrBuilder()
The minimum delay between consecutive deliveries of a given message.boolean
hasMaximumBackoff()
The maximum delay between consecutive deliveries of a given message.boolean
hasMinimumBackoff()
The minimum delay between consecutive deliveries of a given message.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-