public interface RetryOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getAttempts()
Required.
|
BackoffMode |
getBackoffMode()
Optional.
|
int |
getBackoffModeValue()
Optional.
|
com.google.protobuf.Duration |
getWait()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getWaitOrBuilder()
Optional.
|
boolean |
hasWait()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getAttempts()
Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasWait()
Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.Duration getWait()
Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.DurationOrBuilder getWaitOrBuilder()
Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];int getBackoffModeValue()
Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
BackoffMode getBackoffMode()
Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2024 Google LLC. All rights reserved.