Send feedback
Class Retry (1.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.53.0 keyboard_arrow_down
public final class Retry extends GeneratedMessageV3 implements RetryOrBuilder
Retries the failed job.
Protobuf type google.cloud.deploy.v1.Retry
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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
WAIT_FIELD_NUMBER
public static final int WAIT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Retry getDefaultInstance ()
Returns
Type
Description
Retry
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Retry . Builder newBuilder ()
newBuilder(Retry prototype)
public static Retry . Builder newBuilder ( Retry prototype )
Parameter
Name
Description
prototype
Retry
public static Retry parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Retry
public static Retry parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Retry
parseFrom(byte[] data)
public static Retry parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Retry
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Retry parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Retry
parseFrom(ByteString data)
public static Retry parseFrom ( ByteString data )
Returns
Type
Description
Retry
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Retry parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Retry
public static Retry parseFrom ( CodedInputStream input )
Returns
Type
Description
Retry
public static Retry parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Retry
public static Retry parseFrom ( InputStream input )
Returns
Type
Description
Retry
public static Retry parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Retry
parseFrom(ByteBuffer data)
public static Retry parseFrom ( ByteBuffer data )
Returns
Type
Description
Retry
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Retry parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Retry
parser()
public static Parser<Retry> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAttempts()
public long getAttempts ()
Required. Total number of retries. Retry is skipped if set to 0; The
minimum value is 1, and the maximum value is 10.
int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
long
The attempts.
getBackoffMode()
public BackoffMode getBackoffMode ()
Optional. The pattern of how wait time will be increased. Default is
linear. Backoff mode will be ignored if wait
is 0.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
getBackoffModeValue()
public int getBackoffModeValue ()
Optional. The pattern of how wait time will be increased. Default is
linear. Backoff mode will be ignored if wait
is 0.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for backoffMode.
getDefaultInstanceForType()
public Retry getDefaultInstanceForType ()
Returns
Type
Description
Retry
getParserForType()
public Parser<Retry> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getWait()
public Duration getWait ()
Optional. How long to wait for the first retry. Default is 0, and the
maximum value is 14d.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Duration
The wait.
getWaitOrBuilder()
public DurationOrBuilder getWaitOrBuilder ()
Optional. How long to wait for the first retry. Default is 0, and the
maximum value is 14d.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
hasWait()
Optional. How long to wait for the first retry. Default is 0, and the
maximum value is 14d.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the wait field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Retry . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Retry . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Retry . 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-27 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-27 UTC."],[],[]]