Package com.google.cloud.managedkafka.v1
Interface TaskRetryPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskRetryPolicy,TaskRetryPolicy.Builder
@Generated
public interface TaskRetryPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.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
-
hasMinimumBackoff
boolean hasMinimumBackoff()Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
.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 amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
.google.protobuf.Duration minimum_backoff = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The minimumBackoff.
-
getMinimumBackoffOrBuilder
com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder()Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
.google.protobuf.Duration minimum_backoff = 1 [(.google.api.field_behavior) = OPTIONAL]; -
hasMaximumBackoff
boolean hasMaximumBackoff()Optional. The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
.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 amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
.google.protobuf.Duration maximum_backoff = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The maximumBackoff.
-
getMaximumBackoffOrBuilder
com.google.protobuf.DurationOrBuilder getMaximumBackoffOrBuilder()Optional. The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
.google.protobuf.Duration maximum_backoff = 2 [(.google.api.field_behavior) = OPTIONAL];
-