Class RetryPhase (1.39.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
TypeDescription
int

BACKOFF_MODE_FIELD_NUMBER

public static final int BACKOFF_MODE_FIELD_NUMBER
Field Value
TypeDescription
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PHASE_ID_FIELD_NUMBER

public static final int PHASE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_ATTEMPTS_FIELD_NUMBER

public static final int TOTAL_ATTEMPTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RetryPhase getDefaultInstance()
Returns
TypeDescription
RetryPhase

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RetryPhase.Builder newBuilder()
Returns
TypeDescription
RetryPhase.Builder

newBuilder(RetryPhase prototype)

public static RetryPhase.Builder newBuilder(RetryPhase prototype)
Parameter
NameDescription
prototypeRetryPhase
Returns
TypeDescription
RetryPhase.Builder

parseDelimitedFrom(InputStream input)

public static RetryPhase parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RetryPhase parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RetryPhase parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RetryPhase parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RetryPhase parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RetryPhase parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RetryPhase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RetryPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RetryPhase> parser()
Returns
TypeDescription
Parser<RetryPhase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for backoffMode.

getDefaultInstanceForType()

public RetryPhase getDefaultInstanceForType()
Returns
TypeDescription
RetryPhase

getJobId()

public String getJobId()

Output only. The job ID for the Job to retry.

string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Output only. The job ID for the Job to retry.

string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for jobId.

getParserForType()

public Parser<RetryPhase> getParserForType()
Returns
TypeDescription
Parser<RetryPhase>
Overrides

getPhaseId()

public String getPhaseId()

Output only. The phase ID of the phase that includes the job being retried.

string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The phaseId.

getPhaseIdBytes()

public ByteString getPhaseIdBytes()

Output only. The phase ID of the phase that includes the job being retried.

string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for phaseId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
long

The totalAttempts.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RetryPhase.Builder newBuilderForType()
Returns
TypeDescription
RetryPhase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RetryPhase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RetryPhase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RetryPhase.Builder toBuilder()
Returns
TypeDescription
RetryPhase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException