Interface RetryAttemptOrBuilder (1.42.0)

public interface RetryAttemptOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttempt()

public abstract long getAttempt()

Output only. The index of this retry attempt.

int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The attempt.

getState()

public abstract RepairState getState()

Output only. Valid state of this retry action.

.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairState

The state.

getStateDesc()

public abstract String getStateDesc()

Output only. Description of the state of the Retry.

string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The stateDesc.

getStateDescBytes()

public abstract ByteString getStateDescBytes()

Output only. Description of the state of the Retry.

string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for stateDesc.

getStateValue()

public abstract int getStateValue()

Output only. Valid state of this retry action.

.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getWait()

public abstract Duration getWait()

Output only. How long the operation will be paused.

.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The wait.

getWaitOrBuilder()

public abstract DurationOrBuilder getWaitOrBuilder()

Output only. How long the operation will be paused.

.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

hasWait()

public abstract boolean hasWait()

Output only. How long the operation will be paused.

.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the wait field is set.