Class RepairPhase.Builder (1.38.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 RepairMode specified in the Automation resource.

Protobuf type google.cloud.deploy.v1.RepairPhase

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RepairPhase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RepairPhase.Builder
Overrides

build()

public RepairPhase build()
Returns
TypeDescription
RepairPhase

buildPartial()

public RepairPhase buildPartial()
Returns
TypeDescription
RepairPhase

clear()

public RepairPhase.Builder clear()
Returns
TypeDescription
RepairPhase.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RepairPhase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RepairPhase.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RepairPhase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RepairPhase.Builder
Overrides

clearRepairPhase()

public RepairPhase.Builder clearRepairPhase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RepairPhase.Builder

clone()

public RepairPhase.Builder clone()
Returns
TypeDescription
RepairPhase.Builder
Overrides

getDefaultInstanceForType()

public RepairPhase getDefaultInstanceForType()
Returns
TypeDescription
RepairPhase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRepairPhaseCase()

public RepairPhase.RepairPhaseCase getRepairPhaseCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the rollback field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RepairPhase other)

public RepairPhase.Builder mergeFrom(RepairPhase other)
Parameter
NameDescription
otherRepairPhase
Returns
TypeDescription
RepairPhase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RepairPhase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairPhase.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RepairPhase.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRetryPhase
Returns
TypeDescription
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
NameDescription
valueRollbackAttempt
Returns
TypeDescription
RepairPhase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepairPhase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RepairPhase.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RepairPhase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RepairPhase.Builder
Overrides

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

public RepairPhase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueRetryPhase
Returns
TypeDescription
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
NameDescription
builderForValueRetryPhase.Builder
Returns
TypeDescription
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
NameDescription
valueRollbackAttempt
Returns
TypeDescription
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
NameDescription
builderForValueRollbackAttempt.Builder
Returns
TypeDescription
RepairPhase.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RepairPhase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RepairPhase.Builder
Overrides