Interface RetryAttemptOrBuilder (1.33.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the wait field is set.