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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RepairPhase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RepairPhase build()
buildPartial()
public RepairPhase buildPartial()
clear()
public RepairPhase.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RepairPhase.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RepairPhase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRepairPhase()
public RepairPhase.Builder clearRepairPhase()
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];
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];
clone()
public RepairPhase.Builder clone()
Overrides
getDefaultInstanceForType()
public RepairPhase getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRepairPhaseCase()
public RepairPhase.RepairPhaseCase getRepairPhaseCase()
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];
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];
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RepairPhase other)
public RepairPhase.Builder mergeFrom(RepairPhase other)
public RepairPhase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RepairPhase.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepairPhase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RepairPhase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepairPhase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final RepairPhase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides