Class RepairPhase.Builder (1.45.0)

public static final class RepairPhase.Builder extends GeneratedMessageV3.Builder<RepairPhase.Builder> implements RepairPhaseOrBuilder

RepairPhase tracks the repair attempts that have been made for each RepairPhaseConfig specified in the Automation resource.

Protobuf type google.cloud.deploy.v1.RepairPhase

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RepairPhase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RepairPhase.Builder
Overrides

build()

public RepairPhase build()
Returns
Type Description
RepairPhase

buildPartial()

public RepairPhase buildPartial()
Returns
Type Description
RepairPhase

clear()

public RepairPhase.Builder clear()
Returns
Type Description
RepairPhase.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RepairPhase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RepairPhase.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RepairPhase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RepairPhase.Builder
Overrides

clearRepairPhase()

public RepairPhase.Builder clearRepairPhase()
Returns
Type Description
RepairPhase.Builder

clearRetry()

public RepairPhase.Builder clearRetry()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairPhase.Builder

clearRollback()

public RepairPhase.Builder clearRollback()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairPhase.Builder

clone()

public RepairPhase.Builder clone()
Returns
Type Description
RepairPhase.Builder
Overrides

getDefaultInstanceForType()

public RepairPhase getDefaultInstanceForType()
Returns
Type Description
RepairPhase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRepairPhaseCase()

public RepairPhase.RepairPhaseCase getRepairPhaseCase()
Returns
Type Description
RepairPhase.RepairPhaseCase

getRetry()

public RetryPhase getRetry()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RetryPhase

The retry.

getRetryBuilder()

public RetryPhase.Builder getRetryBuilder()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RetryPhase.Builder

getRetryOrBuilder()

public RetryPhaseOrBuilder getRetryOrBuilder()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RetryPhaseOrBuilder

getRollback()

public RollbackAttempt getRollback()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RollbackAttempt

The rollback.

getRollbackBuilder()

public RollbackAttempt.Builder getRollbackBuilder()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RollbackAttempt.Builder

getRollbackOrBuilder()

public RollbackAttemptOrBuilder getRollbackOrBuilder()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RollbackAttemptOrBuilder

hasRetry()

public boolean hasRetry()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the retry field is set.

hasRollback()

public boolean hasRollback()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the rollback field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepairPhase other)

public RepairPhase.Builder mergeFrom(RepairPhase other)
Parameter
Name Description
other RepairPhase
Returns
Type Description
RepairPhase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RepairPhase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairPhase.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RepairPhase.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RepairPhase.Builder
Overrides

mergeRetry(RetryPhase value)

public RepairPhase.Builder mergeRetry(RetryPhase value)

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RetryPhase
Returns
Type Description
RepairPhase.Builder

mergeRollback(RollbackAttempt value)

public RepairPhase.Builder mergeRollback(RollbackAttempt value)

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RollbackAttempt
Returns
Type Description
RepairPhase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepairPhase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepairPhase.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RepairPhase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RepairPhase.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RepairPhase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RepairPhase.Builder
Overrides

setRetry(RetryPhase value)

public RepairPhase.Builder setRetry(RetryPhase value)

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RetryPhase
Returns
Type Description
RepairPhase.Builder

setRetry(RetryPhase.Builder builderForValue)

public RepairPhase.Builder setRetry(RetryPhase.Builder builderForValue)

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RetryPhase.Builder
Returns
Type Description
RepairPhase.Builder

setRollback(RollbackAttempt value)

public RepairPhase.Builder setRollback(RollbackAttempt value)

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RollbackAttempt
Returns
Type Description
RepairPhase.Builder

setRollback(RollbackAttempt.Builder builderForValue)

public RepairPhase.Builder setRollback(RollbackAttempt.Builder builderForValue)

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RollbackAttempt.Builder
Returns
Type Description
RepairPhase.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RepairPhase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepairPhase.Builder
Overrides