Package com.google.cloud.deploy.v1
Interface RetryAttemptOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RetryAttempt,RetryAttempt.Builder
@Generated
public interface RetryAttemptOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getAttempt
long getAttempt()Output only. The index of this retry attempt.
int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The attempt.
-
hasWait
boolean hasWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the wait field is set.
-
getWait
com.google.protobuf.Duration getWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The wait.
-
getWaitOrBuilder
com.google.protobuf.DurationOrBuilder getWaitOrBuilder()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateValue
int getStateValue()Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
RepairState getState()Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getStateDesc
String getStateDesc()Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The stateDesc.
-
getStateDescBytes
com.google.protobuf.ByteString getStateDescBytes()Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for stateDesc.
-