- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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 |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RetryPhase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RetryPhase.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. |
clearField(Descriptors.FieldDescriptor field)
public RetryPhase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder |
clearJobId()
public RetryPhase.Builder clearJobId()
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RetryPhase.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RetryPhase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder |
clearPhaseId()
public RetryPhase.Builder clearPhaseId()
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 |
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. |
clone()
public RetryPhase.Builder clone()
Returns | |
---|---|
Type | Description |
RetryPhase.Builder |
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 |
getJobId()
public String 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. |
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. |
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()
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RetryPhase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
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 | BackoffMode The 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 | int The enum numeric value on the wire for backoffMode to set. |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RetryPhase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder |
setJobId(String value)
public RetryPhase.Builder setJobId(String value)
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The jobId to set. |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder | This builder for chaining. |
setJobIdBytes(ByteString value)
public RetryPhase.Builder setJobIdBytes(ByteString value)
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for jobId to set. |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder | This builder for chaining. |
setPhaseId(String value)
public RetryPhase.Builder setPhaseId(String value)
Output only. The phase ID of the phase that includes the job being retried.
string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The phaseId to set. |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder | This builder for chaining. |
setPhaseIdBytes(ByteString value)
public RetryPhase.Builder setPhaseIdBytes(ByteString value)
Output only. The phase ID of the phase that includes the job being retried.
string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for phaseId to set. |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RetryPhase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder |
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. |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RetryPhase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RetryPhase.Builder |