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>)
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 |
|
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()
getParserForType()
public Parser<RetryPhase> getParserForType()
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()
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RetryPhase.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides