Class RetryPhase (1.52.0)

public final class RetryPhase extends GeneratedMessageV3 implements RetryPhaseOrBuilder

RetryPhase contains the retry attempts and the metadata for initiating a new attempt.

Protobuf type google.cloud.deploy.v1.RetryPhase

Implements

RetryPhaseOrBuilder

Static Fields

ATTEMPTS_FIELD_NUMBER

public static final int ATTEMPTS_FIELD_NUMBER
Field Value
Type Description
int

BACKOFF_MODE_FIELD_NUMBER

public static final int BACKOFF_MODE_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_ATTEMPTS_FIELD_NUMBER

public static final int TOTAL_ATTEMPTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RetryPhase getDefaultInstance()
Returns
Type Description
RetryPhase

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RetryPhase.Builder newBuilder()
Returns
Type Description
RetryPhase.Builder

newBuilder(RetryPhase prototype)

public static RetryPhase.Builder newBuilder(RetryPhase prototype)
Parameter
Name Description
prototype RetryPhase
Returns
Type Description
RetryPhase.Builder

parseDelimitedFrom(InputStream input)

public static RetryPhase parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetryPhase
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetryPhase
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RetryPhase parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RetryPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetryPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RetryPhase parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RetryPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetryPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RetryPhase parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RetryPhase
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetryPhase
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RetryPhase parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetryPhase
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetryPhase
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RetryPhase parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RetryPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetryPhase
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RetryPhase> parser()
Returns
Type Description
Parser<RetryPhase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttempts(int index)

public RetryAttempt getAttempts(int index)

Output only. Detail of a retry action.

repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RetryAttempt

getAttemptsCount()

public int getAttemptsCount()

Output only. Detail of a retry action.

repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAttemptsList()

public List<RetryAttempt> getAttemptsList()

Output only. Detail of a retry action.

repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<RetryAttempt>

getAttemptsOrBuilder(int index)

public RetryAttemptOrBuilder getAttemptsOrBuilder(int index)

Output only. Detail of a retry action.

repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RetryAttemptOrBuilder

getAttemptsOrBuilderList()

public List<? extends RetryAttemptOrBuilder> getAttemptsOrBuilderList()

Output only. Detail of a retry action.

repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.RetryAttemptOrBuilder>

getBackoffMode()

public BackoffMode getBackoffMode()

Output only. The pattern of how the wait time of the retry attempt is calculated.

.google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackoffMode

The backoffMode.

getBackoffModeValue()

public int getBackoffModeValue()

Output only. The pattern of how the wait time of the retry attempt is calculated.

.google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for backoffMode.

getDefaultInstanceForType()

public RetryPhase getDefaultInstanceForType()
Returns
Type Description
RetryPhase

getParserForType()

public Parser<RetryPhase> getParserForType()
Returns
Type Description
Parser<RetryPhase>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalAttempts()

public long getTotalAttempts()

Output only. The number of attempts that have been made.

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

Returns
Type Description
long

The totalAttempts.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RetryPhase.Builder newBuilderForType()
Returns
Type Description
RetryPhase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RetryPhase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RetryPhase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RetryPhase.Builder toBuilder()
Returns
Type Description
RetryPhase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException