Send feedback
Class RetryPhase (1.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.28.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
Field Value Type Description int
PHASE_ID_FIELD_NUMBER
public static final int PHASE_ID_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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static RetryPhase . Builder newBuilder ()
newBuilder(RetryPhase prototype)
public static RetryPhase . Builder newBuilder ( RetryPhase prototype )
public static RetryPhase parseDelimitedFrom ( InputStream input )
public static RetryPhase parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static RetryPhase parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RetryPhase parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static RetryPhase parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RetryPhase parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RetryPhase parseFrom ( CodedInputStream input )
public static RetryPhase parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RetryPhase parseFrom ( InputStream input )
public static RetryPhase parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static RetryPhase parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RetryPhase parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<RetryPhase> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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
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];
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
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];
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 ()
getJobId()
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description 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 Type Description ByteString
The bytes for jobId.
getParserForType()
public Parser<RetryPhase> getParserForType ()
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 Type Description 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 Type Description ByteString
The bytes for phaseId.
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()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public RetryPhase . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RetryPhase . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public RetryPhase . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]