- 1.52.0 (latest)
- 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 RetryAttempt.Builder extends GeneratedMessageV3.Builder<RetryAttempt.Builder> implements RetryAttemptOrBuilder
RetryAttempt represents an action of retrying the failed Cloud Deploy job.
Protobuf type google.cloud.deploy.v1.RetryAttempt
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RetryAttempt.BuilderImplements
RetryAttemptOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RetryAttempt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
build()
public RetryAttempt build()
Returns | |
---|---|
Type | Description |
RetryAttempt |
buildPartial()
public RetryAttempt buildPartial()
Returns | |
---|---|
Type | Description |
RetryAttempt |
clear()
public RetryAttempt.Builder clear()
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
clearAttempt()
public RetryAttempt.Builder clearAttempt()
Output only. The index of this retry attempt.
int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RetryAttempt.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RetryAttempt.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
clearState()
public RetryAttempt.Builder clearState()
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
clearStateDesc()
public RetryAttempt.Builder clearStateDesc()
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
clearWait()
public RetryAttempt.Builder clearWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
clone()
public RetryAttempt.Builder clone()
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
getAttempt()
public long getAttempt()
Output only. The index of this retry attempt.
int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long | The attempt. |
getDefaultInstanceForType()
public RetryAttempt getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RetryAttempt |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getState()
public RepairState getState()
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
RepairState | The state. |
getStateDesc()
public String getStateDesc()
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The stateDesc. |
getStateDescBytes()
public ByteString getStateDescBytes()
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stateDesc. |
getStateValue()
public int getStateValue()
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getWait()
public Duration getWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Duration | The wait. |
getWaitBuilder()
public Duration.Builder getWaitBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getWaitOrBuilder()
public DurationOrBuilder getWaitOrBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
hasWait()
public boolean hasWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the wait field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RetryAttempt other)
public RetryAttempt.Builder mergeFrom(RetryAttempt other)
Parameter | |
---|---|
Name | Description |
other | RetryAttempt |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetryAttempt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RetryAttempt.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RetryAttempt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
mergeWait(Duration value)
public RetryAttempt.Builder mergeWait(Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
setAttempt(long value)
public RetryAttempt.Builder setAttempt(long value)
Output only. The index of this retry attempt.
int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | long The attempt to set. |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RetryAttempt.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RetryAttempt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
setState(RepairState value)
public RetryAttempt.Builder setState(RepairState value)
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | RepairState The state to set. |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
setStateDesc(String value)
public RetryAttempt.Builder setStateDesc(String value)
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The stateDesc to set. |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
setStateDescBytes(ByteString value)
public RetryAttempt.Builder setStateDescBytes(ByteString value)
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for stateDesc to set. |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
setStateValue(int value)
public RetryAttempt.Builder setStateValue(int value)
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RetryAttempt.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
setWait(Duration value)
public RetryAttempt.Builder setWait(Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |
setWait(Duration.Builder builderForValue)
public RetryAttempt.Builder setWait(Duration.Builder builderForValue)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
RetryAttempt.Builder |