public static final class RetryPhase.Builder extends GeneratedMessage.Builder<RetryPhase.Builder> implements RetryPhaseOrBuilderRetryPhase contains the retry attempts and the metadata for initiating a new attempt.
Protobuf type google.cloud.deploy.v1.RetryPhase
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetryPhase.BuilderImplements
RetryPhaseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAttempts(Iterable<? extends RetryAttempt> values)
public RetryPhase.Builder addAllAttempts(Iterable<? extends RetryAttempt> values)Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.deploy.v1.RetryAttempt> |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
addAttempts(RetryAttempt value)
public RetryPhase.Builder addAttempts(RetryAttempt value)Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
RetryAttempt |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
addAttempts(RetryAttempt.Builder builderForValue)
public RetryPhase.Builder addAttempts(RetryAttempt.Builder builderForValue)Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RetryAttempt.Builder |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
addAttempts(int index, RetryAttempt value)
public RetryPhase.Builder addAttempts(int index, RetryAttempt value)Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RetryAttempt |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
addAttempts(int index, RetryAttempt.Builder builderForValue)
public RetryPhase.Builder addAttempts(int index, RetryAttempt.Builder builderForValue)Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RetryAttempt.Builder |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
addAttemptsBuilder()
public RetryAttempt.Builder addAttemptsBuilder()Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RetryAttempt.Builder |
|
addAttemptsBuilder(int index)
public RetryAttempt.Builder addAttemptsBuilder(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.Builder |
|
build()
public RetryPhase build()| Returns | |
|---|---|
| Type | Description |
RetryPhase |
|
buildPartial()
public RetryPhase buildPartial()| Returns | |
|---|---|
| Type | Description |
RetryPhase |
|
clear()
public RetryPhase.Builder clear()| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
clearAttempts()
public RetryPhase.Builder clearAttempts()Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
clearBackoffMode()
public RetryPhase.Builder clearBackoffMode()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 |
RetryPhase.Builder |
This builder for chaining. |
clearTotalAttempts()
public RetryPhase.Builder clearTotalAttempts()Output only. The number of attempts that have been made.
int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
This builder for chaining. |
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 |
|
getAttemptsBuilder(int index)
public RetryAttempt.Builder getAttemptsBuilder(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.Builder |
|
getAttemptsBuilderList()
public List<RetryAttempt.Builder> getAttemptsBuilderList()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<Builder> |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RetryPhase other)
public RetryPhase.Builder mergeFrom(RetryPhase other)| Parameter | |
|---|---|
| Name | Description |
other |
RetryPhase |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetryPhase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetryPhase.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
removeAttempts(int index)
public RetryPhase.Builder removeAttempts(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 |
RetryPhase.Builder |
|
setAttempts(int index, RetryAttempt value)
public RetryPhase.Builder setAttempts(int index, RetryAttempt value)Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RetryAttempt |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
setAttempts(int index, RetryAttempt.Builder builderForValue)
public RetryPhase.Builder setAttempts(int index, RetryAttempt.Builder builderForValue)Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RetryAttempt.Builder |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
|
setBackoffMode(BackoffMode value)
public RetryPhase.Builder setBackoffMode(BackoffMode value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
BackoffModeThe backoffMode to set. |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
This builder for chaining. |
setBackoffModeValue(int value)
public RetryPhase.Builder setBackoffModeValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for backoffMode to set. |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
This builder for chaining. |
setTotalAttempts(long value)
public RetryPhase.Builder setTotalAttempts(long value)Output only. The number of attempts that have been made.
int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe totalAttempts to set. |
| Returns | |
|---|---|
| Type | Description |
RetryPhase.Builder |
This builder for chaining. |