public static final class RetryPhase.Builder extends GeneratedMessageV3.Builder<RetryPhase.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RetryPhase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RetryPhase build()
buildPartial()
public RetryPhase buildPartial()
clear()
public RetryPhase.Builder clear()
Overrides
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];
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];
clearField(Descriptors.FieldDescriptor field)
public RetryPhase.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RetryPhase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public RetryPhase.Builder clone()
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
|
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
|
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];
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RetryPhase other)
public RetryPhase.Builder mergeFrom(RetryPhase other)
public RetryPhase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RetryPhase.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RetryPhase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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];
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];
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 |
BackoffMode
The backoffMode to set.
|
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 |
int
The enum numeric value on the wire for backoffMode to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RetryPhase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RetryPhase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 |
long
The totalAttempts to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RetryPhase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides